agentToolCallMeta.ts ×1
Frontier kind: Code frontier
unlabeled · c_0cafdac51f7d
89 tests · 10177 LOC · 35 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 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.
agentToolCallMeta.ts ×1 — Focused concept
Introduced files:
claudeAgent.ts ×1 — 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:
agentSideEffects.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession MCP server inventory tool-triggered MCP auth transitions the active MCP tool call until authentication resolves|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_complete past-tense message reflects the rewritten command|occurrence=1 — Ancestor (broader)
Introduced tests:
mapSessionEvents.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping background shell output remains live until its session is disposed|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping completed non-pty shell calls retire their distinct live output resources|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool partial results stream into an output-only terminal channel|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool handler does not emit tool_ready (permission flow owns it)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool success without shell_exit does not fabricate a process exit|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping background shell does not create an output-only terminal|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession event mapping zero-partial shell completion creates, seeds, and finalizes the output channel|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping empty shell preview still retires the completed output channel|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping history replay does not duplicate assistant tool requests with lifecycle events|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_complete maps SDK shell_exit content to terminal completion|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool auto-readies when SDK allow-all mode is on|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping completions without partials or shell_exit never create output channels|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×3 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession MCP server inventory client tool completion preserves shared MCP authentication for other tool calls|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping reasoning delta after tool_start starts a new reasoning response part|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping subagent tool completion routes to the subagent session scope|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start strips redundant cd prefix matching workingDirectory|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start does not rewrite when cd target differs from workingDirectory|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×10 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool_complete event produces past-tense message|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls pending_confirmation forwards parentToolCallId for tools inside subagents|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls permission request before client tool handler emits only confirmation ready|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotNonPtyShellTerminals.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls agent-coordination client tools auto-ready with a tailored invocation message|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool handler waits for completion without emitting tool_ready|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start derives intention from a shell tool description argument|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool partial results for tracked non-shell tools are ignored|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.test|title=CopilotAgentSession event mapping tool_start event is mapped for non-hidden tools|occurrence=1, copilotAgentSession.test|title=CopilotAgentSession event mapping live tool_start without workingDirectory passes command through|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotNonPtyShellTerminals.ts ×1 — Ancestor (broader)
Introduced files:
copilotNonPtyShellTerminals.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
mcpCustomizationController.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgentSession.test|title=CopilotAgentSession client tool calls client tool start stamps the owning clientId from the shared ActiveClientToolSet|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgentSession.ts ×12 — Ancestor (broader)
Introduced files:
mapSessionEvents.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
mapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
mapSessionEvents.test|title=mapSessionEvents — subagent routing subagent abort marks the subagent turn cancelled|occurrence=1 — Ancestor (broader)
Introduced tests:
mapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
mapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
mapSessionEvents.ts ×6 — Ancestor (broader)
Introduced files:
buildSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
buildSessionEvents.test|title=buildSessionEventsFromTurns — reverse of mapSessionEvents round-trips a completed tool call interleaved with assistant text preserving order and identity|occurrence=1 — Ancestor (broader)
Introduced tests:
mapSessionEvents.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
mapSessionEvents.test|title=mapSessionEvents — history replay maps SDK shell_exit content to terminal completion on replayed tool completion|occurrence=1, mapSessionEvents.test|title=mapSessionEvents — history replay preserves non-zero terminal completion even when SDK tool completion succeeded|occurrence=1 — Ancestor (broader)
Introduced tests:
buildSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
mapSessionEvents.test|title=mapSessionEvents — history replay uses top-level user messages as turn boundaries|occurrence=1 — Ancestor (broader)
Introduced tests:
mapSessionEvents.ts ×8 — Ancestor (broader)
Introduced files:
buildSessionEvents.ts ×2 — Ancestor (broader)
Introduced files:
mapSessionEvents.test|title=mapSessionEvents — history replay a regular tool still renders as a tool call|occurrence=1, mapSessionEvents.test|title=mapSessionEvents — history replay tool-only turn without a terminal assistant message remains cancelled|occurrence=1 — Ancestor (broader)
Introduced tests:
mapSessionEvents.test|title=mapSessionEvents — history replay derives shell tool intention from the description argument on replay|occurrence=1 — Ancestor (broader)
Introduced tests:
buildSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
buildSessionEvents.ts ×5 — Ancestor (broader)
Introduced files:
mapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
copilotToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
copilotToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
copilotToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
claudeMapSessionEvents.test|title=claudeMapSessionEvents — direct mapper tests Test 10b — a tool denied by the user maps to result.error.code = denied|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSubagentSignals.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeMapSessionEvents.test|title=claudeMapSessionEvents — direct mapper tests Test 9.5 — content_block_stop emits ChatToolCallReady so auto-allowed tools leave Streaming|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSubagentSignals.ts ×2 — Ancestor (broader)
Introduced files:
claudeMapSessionEvents.test|title=claudeMapSessionEvents — direct mapper tests tool_result with is_error: true reports success=false|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSubagentSignals.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSubagentSignals.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSubagentSignals.test|title=claudeSubagentSignals — Phase 12 emission foreground subagent completion: tool_result for a Task spawn emits ChatToolCallComplete AND IAgentSubagentCompletedSignal, then clears the spawn from the registry|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeMapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
claudeMapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeSubagentSignals.ts ×1 — Ancestor (broader)
Introduced files:
claudeSubagentSignals.test|title=claudeSubagentSignals — Phase 12 emission top-level Task tool_use records a spawn; non-subagent tools do not|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSubagentSignals.test|title=claudeSubagentSignals — Phase 12 emission top-level Task ChatToolCallStart carries _meta.toolKind=subagent so the workbench renders the subagent UI|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeMapSessionEvents.ts ×1 — Ancestor (broader)
Introduced files:
agentName when input fields are missing or wrong-typed; still records the spawn|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeSubagentSignals.ts ×6 — Ancestor (broader)
Introduced files:
claudeReplayMapper.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexReplayMapper.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexReplayMapper.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeReplayMapper.test|title=claudeReplayMapper Fixture 2: tool_use + tool_result is one Turn with one Completed ToolCall|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeReplayMapper.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
codexReplayMapper.ts ×5 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeReplayMapper.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×2 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×1 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×4 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
codexMapAppServerEvents.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
started for commandExecution emits ChatToolCallStart + Delta + Ready and registers tool-call entry|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeReplayMapper.ts ×2 — Ancestor (broader)
Introduced files:
codexMapAppServerEvents.ts ×3 — Ancestor (broader)
Introduced files:
claudeReplayMapper.ts ×11 — Ancestor (broader)
Introduced files:
codexShellCommand.ts ×1 — Ancestor (broader)
Introduced files:
claudeReplayMapper.test|title=claudeReplayMapper Fixture 6: tail Turn with orphan tool_use is Cancelled|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeReplayMapper.test|title=claudeReplayMapper Fixture 6b: orphan in turn N does NOT cancel turn N+1|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeReplayMapper.ts ×3 — Ancestor (broader)
Introduced files:
claudeToolDisplay.ts ×24 — Ancestor (broader)
Introduced files:
Introduced tests:
claudeToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
claudeToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
claudeToolDisplay.ts ×3 — Ancestor (broader)
Introduced files:
claudeToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — Agent row mirrors Task (subagent kind, same display name)|occurrence=1 — Ancestor (broader)
Introduced tests:
claudeToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
claudeToolDisplay.ts ×1 — Ancestor (broader)
Introduced files:
agentMetaReaders.test|title=Agent host _meta readers readToolCallMeta toToolCallMeta round-trips and returns undefined when empty|occurrence=1 — Ancestor (broader)
Introduced tests:
agentToolCallMeta.ts ×2 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — Descendant (narrower)
Introduced files:
buffer.ts ×42 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
commands.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.ts ×1 — Descendant (narrower)
Introduced files:
state.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:
utils.ts ×3 — 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:
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: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/common/meta/agentToolCallMeta.ts 2 introduced LOC · 1 range
Open complete file
151
for ( const [ key , value ] of Object . entries ( meta )) {
152
if ( value !== undefined ) {
154
>
}
155
}
156
return Object . keys ( result ). length > 0 ? result : undefined ;