claudeSessionCustomizationDiscovery.ts ×3

Frontier kind: Code frontier

unlabeled · c_e3c231119bed

10 tests · 19733 LOC · 70 files · introduces 0 tests · 17 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges17 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
2082 ranges19733 lines · 70 files · Browse complete extent
All tests (intent)
10 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

1 file ranked by introduced lines: 17 introduced LOC across 3 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/claude/customizations/claudeSessionCustomizationDiscovery.ts 17 introduced LOC · 3 ranges

Open complete file

320 }
321 } else {
322 > visiblePlugins.push(...nativePlugins); claudeSessionCustomizationDiscovery.ts
323 > }
324
325 // The read-only "Built-in" skills container: pre-materialize the curated
333 const builtinSkills = sdk
334 ? buildSdkBuiltinSkillsContainer(sdk.commands.filter(c => !pluginSkillNames.has(c.name)), diskSkillNames)
335 > : buildClaudeBuiltinSkillsContainer(diskSkillNames); claudeSessionCustomizationDiscovery.ts
336 const withBuiltinSkills = (list: readonly Customization[]): readonly Customization[] =>
337 builtinSkills ? [...list, builtinSkills] : list;
338
339 if (!sdk) {
340 > // Pre-materialize there is no live agent set, so seed the curated claudeSessionCustomizationDiscovery.ts
341 > // built-in agents alongside the disk agents. They use the same
342 > // non-editable `claude-internal:` shape the SDK fallback produces
343 > // post-materialize (selectable, name round-trips), so the same agent
344 > // looks identical before and after materialize. A disk agent of the
345 > // same name wins; the SDK default agent is hidden.
346 > const diskAgentNames = new Set(
347 > discovered.filter(d => d.customization.type === CustomizationType.Agent).map(d => d.name)
348 > );
349 > const builtinAgents = CLAUDE_BUILTIN_AGENTS
350 > .filter(a => a.name !== CLAUDE_SDK_DEFAULT_AGENT_NAME && !diskAgentNames.has(a.name))
351 > .map(a => toParsedAgent({ uri: nonEditableUri('agent', a.name), name: a.name, description: a.description() }));
352 > return withBuiltinSkills(mapDiscoveredCustomizations([...discovered, ...builtinAgents], mcpServers, hooks, nativePlugins, workingDirectory, userHome));
353 > }
354
355 const agentNames = new Set(sdk.agents.map(a => a.name));