activeClientState.ts ×2
Frontier kind: Code frontier
unlabeled · c_9c575fbb37c9
56 tests · 6773 LOC · 61 files · introduces 0 tests · 5 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
2 ranges 5 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.
activeClientState.ts ×2 — Focused concept
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSessionLauncher.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping uses long_context when model has no surcharge, no explicit selection and preferLongContext is enabled|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping leaves the SDK on its default tier when model has no surcharge and no explicit selection|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping maps the default numeric context size to default|occurrence=1, copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping maps the largest numeric context size to long_context|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent provisional sessions materialization skips managed shell tools when root config disables the custom terminal tool|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions materialization passes VS Code-specific system message to the SDK|occurrence=1, copilotAgent.test|title=CopilotAgent provisional sessions materialization forwards the GitHub token to the SDK at the session level (#318693)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions sendMessage on the default chat materializes the parent provisional session|occurrence=1, copilotAgent.test|title=CopilotAgent customization anchoring materialization without a worktree keeps the anchor on the original folder|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×7 — Ancestor (broader)
Introduced files:
claudeAgent.test|title=ClaudeAgent setClientTools with an equal snapshot does NOT restart|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 FakeQuery.setMcpServers stays unmodeled (Phase 10 never calls Query.setMcpServers for client tools)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent setClientTools registers tools that flow into Options.mcpServers on first materialize|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:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
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:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent _resumeSession dedup shutdown during resume cancels the in-flight resume|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×6 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
restore round-trip createChat side chat forks hidden context and filters inherited turns|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations createSession eager seeding suppresses orphan customization progress|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeAgent.test|title=ClaudeAgent — Phase 11 customizations createSession seeds the eager activeClient customizations to the plugin manager|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent client tool call contributor prefers the message sender when it provides the tool|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
restore round-trip createChat forks the source chat into a new peer chat and returns the forked chat providerData|occurrence=1 — Ancestor (broader)
Introduced tests:
restore round-trip createChat materializes a peer chat, records its backing, and returns providerData (no copilot.chats write)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent chat surface (IAgentChats) createChat creates a peer chat and returns its providerData|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent client tool refresh on reload (#319516) clientId-only change (reload) does NOT require a restart and updates the live owner|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent client tool refresh on reload (#319516) a structural tool change still requires a restart|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent client tool refresh on reload (#319516) multiple active clients merge their tools and removal isolates per client|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
activeClientState.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff order-insensitive: reordering tools does not flip dirty|occurrence=1, claudeSessionClientToolsModel.test|title=SessionClientToolsDiff setTools with a structurally-equal snapshot does NOT re-flip dirty after consume|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff ownerOf prefers the requested client when it provides the shared tool|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSessionClientToolsModel.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff merged unions multiple clients and dedupes by name (first client wins)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.ts ×1 — Ancestor (broader)
Introduced files:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff markDirty re-flips after a failed downstream build|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff consume() returns the merged tools and clears dirty|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff setTools with a real snapshot flips dirty|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSessionClientToolsModel.ts ×1 — Ancestor (broader)
Introduced files:
claudeSessionClientToolsModel.test|title=SessionClientToolsDiff setTools(c1, []) does NOT flip dirty (undefined ≡ [])|occurrence=1 — Ancestor (broader)
Introduced tests:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
claudeSessionClientToolsModel.ts ×1 — Ancestor (broader)
Introduced files:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
activeClientState.ts ×2 — Ancestor (broader)
Introduced files:
activeClientState.ts ×3 — Ancestor (broader)
Introduced files:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
activeClientState.ts ×2 — Ancestor (broader)
Introduced files:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
activeClientState.ts ×2 — Ancestor (broader)
Introduced files:
activeClientState.ts ×2 — Ancestor (broader)
Introduced files:
activeClientState.ts ×1 — Ancestor (broader)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
debugLocation.ts ×2 — Descendant (narrower)
Introduced files:
debugGetDependencyGraph.ts ×2 — Descendant (narrower)
Introduced files:
observableSignalFromEvent.ts ×1 — Descendant (narrower)
Introduced files:
promise.ts ×1 — Descendant (narrower)
Introduced files:
devToolsLogger.ts ×24 — Descendant (narrower)
Introduced files:
activeClientState.ts ×1 — Descendant (narrower)
Introduced files:
activeClientState.ts ×17 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1, lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×93 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
utils.ts ×1 — Descendant (narrower)
Introduced files:
equals.ts ×14 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
objects.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
iterator.ts ×1 — 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: 5 introduced LOC across 2 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/activeClientState.ts 5 introduced LOC · 2 ranges
Open complete file
109
*/
110
merged () : readonly ToolDefinition [] {
112
>
const result : ToolDefinition [] = [];
113
>
for ( const tools of this . _byClient . values ()) {
114
for ( const tool of tools ) {
115
if ( seen . has ( tool . name )) {
120
}
121
}
123
>
}
124
125
/**