claudeSdkOptions.ts ×1
Frontier kind: Code frontier
unlabeled · c_54dc966df136
41 tests · 4140 LOC · 27 files · introduces 0 tests · 1 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 1 lines · 1 files
Tests
0 tests
Contains — complete concept membership
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.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
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.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
claudeSdkOptions.ts ×1 — Focused concept
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSdkPipeline.ts ×5 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations getSessionCustomizations surfaces a native plugin captured from the live SDK init.plugins (path filter)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations mid-turn reducer toggle reconciles before the following send|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSessionMetadataStore.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations getSessionCustomizations derives the Built-in container from the live SDK command set post-materialize|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSdkPipeline.ts ×1 — Ancestor (broader)
Introduced files:
claudeSdkPipeline.ts ×3 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations createChat({ sideChat }) forks hidden context and filters inherited turns|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations createChat({ sideChat }) preserves a local source turn id while forking from the concrete provider anchor|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×6 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×7 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations changeModel on a peer chat persists in the catalog so a later resume picks it up|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations sendMessage routes each peer chat to its own forked chat|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations sendMessage to a peer chat targets a chat distinct from the parent session|occurrence=1, claudeAgent.test|title=ClaudeAgent — Phase 11 customizations createChat({ fork }) forks the source chat; the peer chat resumes its own forked SDK session|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.ts ×10 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent createSession({ fork }) with a create-config model override persists it on the fork|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent truncateSession(turnId) resolves the anchor, restarts at it on the same id, and prunes the DB|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent createSession({ fork }) inherits the source permissionMode overlay|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent the truncation anchor is applied exactly once and not leaked to later rebuilds|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent rebind failure leaves the client-tool diff dirty so the next send retries|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent resume keeps the existing overlay model (materialize does not clobber on isResume)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent FakeQuery.setMcpServers stays unmodeled (Phase 10 never calls Query.setMcpServers for client tools)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent createSession({ fork }) forks at the anchor uuid, then materializes lazily on first sendMessage|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent setClientTools after materialize triggers yield-restart on next sendMessage with the new tool set|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations send pre-flight: dirty customizations triggers a rebind (SDK plugin URI set is captured at startup, so any change must restart the Query)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) rebind re-applies bijective state (model + effort) on the new Query|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent setClientTools landing during the materialize gap is re-synced into the live session|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent setClientTools landing during the resume bootstrap gap is re-synced into the live session|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession on a materialized session cancels the in-flight turn and leaves the session reusable|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent a rebuild that fails after reading the anchor keeps it staged so the next send retries the truncation|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) subprocess crash mid-stream rejects the in-flight turn and the next sendMessage rebinds via resume|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent a pending truncation anchor reaches the next rebuild as Options.resumeSessionAt, consumed once|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent resumed session keeps overlay-derived permissionMode on turn 2 (no silent flip to default)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent sendMessage on a disk-only session (created in another window) resumes from disk|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×5 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
buildOptions resumeSessionAt projection resume without resumeSessionAt omits Options.resumeSessionAt|occurrence=1, buildOptions resumeSessionAt projection resume + resumeSessionAt projects onto Options.resume and Options.resumeSessionAt|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSdkOptions.ts ×1 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×4 — Descendant (narrower)
Introduced files:
ripgrep.ts ×2 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
claudeSdkOptions.ts ×3 — Descendant (narrower)
Introduced files:
claudeSdkOptions.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×6 — Descendant (narrower)
Introduced files:
claudeModelId.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
claudeClientToolMcpServer.ts ×4 — Descendant (narrower)
Introduced files:
claudeModelConfig.ts ×3 — Descendant (narrower)
Introduced files:
lazy.test|title=Lazy lazy values should only be resolved once|occurrence=1 — Descendant (narrower)
Introduced tests:
claudeModelId.ts ×9 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
lazy.ts ×4 — Descendant (narrower)
Introduced files:
path.ts ×5 — Descendant (narrower)
Introduced files:
claudeModelConfig.ts ×4 — Descendant (narrower)
Introduced files:
ripgrep.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
claudeJsonSchemaToZod.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
reasoningEffort.ts ×2 — Descendant (narrower)
Introduced files:
aiAgentEnv.ts ×1 — Descendant (narrower)
Introduced files:
uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 — Descendant (narrower)
Introduced tests:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×9 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
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: 1 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/claude/claudeSdkOptions.ts 1 introduced LOC · 1 range
Open complete file
137
permissionMode : input.permissionMode ,
138
...( input . isResume
139
>
? { resume : input.sessionId , ...( input . resumeSessionAt ? { resumeSessionAt : input.resumeSessionAt } : {}) }
claudeSdkOptions.ts
140
: { sessionId : input.sessionId }),
141
...( input . mcpServers ? { mcpServers : input.mcpServers } : {}),