claudeToolDisplay.ts ×2

Frontier kind: Code frontier

unlabeled · c_ed50f1c5f2ca

14 tests · 17768 LOC · 65 files · introduces 0 tests · 4 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
2 ranges4 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
1170 ranges17768 lines · 65 files · Browse complete extent
All tests (intent)
14 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.

Introduced files, introduced tests, and structurally relevant concept specializationclaudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession denies any parked permission requests so the SDK canUseTool callback unwinds with deny instead of leaving stale UI behind|occurrence=1 · 0 introduced LOCclaudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1 · 0 introduced LOCclaudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 2 — default mode parks, respondToPermissionRequest(false) → deny|occurrence=1 · 0 introduced LOCclaudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 7 — pending_confirmation signal carries the correct shape|occurrence=1, claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 1 — default mode parks, respondToPermissionRequest(true) → allow|occurrence=1, +1 · 0 introduced LOCclaudeAgent.test|title=C…claudeCanUseTool.ts ×1 · 1 introduced LOCclaudeCanUseTool.ts ×1claudeCanUseTool.ts ×1 · 3 introduced LOCclaudeCanUseTool.ts ×1claudeCanUseTool.ts ×1 · 1 introduced LOCclaudeCanUseTool.ts ×1claudeCanUseTool.ts ×2 · 5 introduced LOCclaudeCanUseTool.ts ×2claudeFileEditObserver.ts ×2 · 17 introduced LOCclaudeFileEditObserver.t…claudeFileEditObserver.ts ×1 · 2 introduced LOCclaudeFileEditObserver.t…claudeFileEditObserver.ts ×1 · 2 introduced LOCclaudeFileEditObserver.t…claudeToolDisplay.ts ×1 · 2 introduced LOCclaudeToolDisplay.ts ×1claudeToolCallRegistry.ts ×1 · 2 introduced LOCclaudeToolCallRegistry.t…claudeToolDisplay.ts ×24 · 59 introduced LOCclaudeToolDisplay.ts ×24claudeToolDisplay.ts ×2 · 6 introduced LOCclaudeToolDisplay.ts ×2claudeToolDisplay.ts ×1 · 2 introduced LOCclaudeToolDisplay.ts ×1claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — defensive input handling falls back to static display strings|occurrence=1 · 0 introduced LOCclaudeToolDisplay.test|t…claudeToolDisplay.ts ×1 · 2 introduced LOCclaudeToolDisplay.ts ×1claudeToolDisplay.ts ×1 · 2 introduced LOCclaudeToolDisplay.ts ×1claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table getClaudeToolPath snapshot for path-bearing tools|occurrence=1 · 0 introduced LOCclaudeToolDisplay.test|t…claudeToolDisplay.ts ×1 · 2 introduced LOCclaudeToolDisplay.ts ×1claudeToolDisplay.ts ×1 · 1 introduced LOCclaudeToolDisplay.ts ×1claudeToolDisplay.ts ×17 · 276 introduced LOCclaudeToolDisplay.ts ×17serverToolGroups.ts ×2 · 57 introduced LOCserverToolGroups.ts ×2sessionServerTools.ts ×4 · 11 introduced LOCsessionServerTools.ts ×4sessionServerTools.ts ×46 · 495 introduced LOCsessionServerTools.ts ×4…agentFeedbackServerTools.ts ×23 · 381 introduced LOCagentFeedbackServerTools…openSessionLink.ts ×7 · 58 introduced LOCopenSessionLink.ts ×7htmlContent.ts ×20 · 102 introduced LOChtmlContent.ts ×20agentService.ts ×15 · 2049 introduced LOCagentService.ts ×15annotationsUri.ts ×3 · 35 introduced LOCannotationsUri.ts ×3iconLabels.ts ×6 · 47 introduced LOCiconLabels.ts ×6filters.ts ×47 · 212 introduced LOCfilters.ts ×47resources.ts ×23 · 253 introduced LOCresources.ts ×23network.ts ×20 · 292 introduced LOCnetwork.ts ×20extpath.ts ×17 · 91 introduced LOCextpath.ts ×17strings.ts ×101 · 542 introduced LOCstrings.ts ×101sessionState.ts ×57 · 914 introduced LOCsessionState.ts ×57cancellation.ts ×18 · 90 introduced LOCcancellation.ts ×18event.ts ×93 · 864 introduced LOCevent.ts ×93buffer.ts ×42 · 483 introduced LOCbuffer.ts ×42themables.ts ×14 · 65 introduced LOCthemables.ts ×14normalization.ts ×5 · 27 introduced LOCnormalization.ts ×5state.ts ×1 · 711 introduced LOCstate.ts ×1codicons.ts ×2 · 846 introduced LOCcodicons.ts ×2commands.ts ×1 · 1661 introduced LOCcommands.ts ×1korean.ts ×5 · 329 introduced LOCkorean.ts ×5map.ts ×1 · 2 introduced LOCmap.ts ×1map.ts ×1 · 4 introduced LOCmap.ts ×1actions.ts ×1 · 238 introduced LOCactions.ts ×1map.ts ×1 · 6 introduced LOCmap.ts ×1state.ts ×1 · 1351 introduced LOCstate.ts ×1state.ts ×1 · 73 introduced LOCstate.ts ×1state.ts ×1 · 1557 introduced LOCstate.ts ×1utils.ts ×3 · 9 introduced LOCutils.ts ×3linkedList.ts ×13 · 44 introduced LOClinkedList.ts ×13instantiation.ts ×5 · 111 introduced LOCinstantiation.ts ×5lifecycle.ts ×2 · 4 introduced LOClifecycle.ts ×2types.ts ×1 · 2 introduced LOCtypes.ts ×1lifecycle.ts ×4 · 8 introduced LOClifecycle.ts ×4lifecycle.ts ×6 · 16 introduced LOClifecycle.ts ×6lazy.ts ×1 · 2 introduced LOClazy.ts ×1lazy.ts ×3 · 37 introduced LOClazy.ts ×3uuid.ts ×3 · 25 introduced LOCuuid.ts ×3lifecycle.ts ×1 · 2 introduced LOClifecycle.ts ×1lifecycle.ts ×1 · 2 introduced LOClifecycle.ts ×1uint.ts ×2 · 43 introduced LOCuint.ts ×2lifecycle.ts ×1 · 3 introduced LOClifecycle.ts ×1map.ts ×97 · 3334 introduced LOCmap.ts ×97src/vs/base/common/arrays.ts · 949 LOCcommon/arrays.tssrc/vs/base/common/arraysFind.ts · 226 LOCcommon/arraysFind.tssrc/vs/base/common/assert.ts · 91 LOCcommon/assert.tssrc/vs/base/common/buffer.ts · 499 LOCcommon/buffer.tssrc/vs/base/common/cache.ts · 153 LOCcommon/cache.tssrc/vs/base/common/cancellation.ts · 206 LOCcommon/cancellation.tssrc/vs/base/common/charCode.ts · 450 LOCcommon/charCode.tssrc/vs/base/common/codicons.ts · 66 LOCcommon/codicons.tssrc/vs/base/common/codiconsLibrary.ts · 758 LOCcommon/codiconsLibrary.t…src/vs/base/common/codiconsUtil.ts · 28 LOCcommon/codiconsUtil.tssrc/vs/base/common/collections.ts · 176 LOCcommon/collections.tssrc/vs/base/common/errors.ts · 357 LOCcommon/errors.tssrc/vs/base/common/event.ts · 1964 LOCcommon/event.tssrc/vs/base/common/extpath.ts · 433 LOCcommon/extpath.tssrc/vs/base/common/filters.ts · 981 LOCcommon/filters.tssrc/vs/base/common/functional.ts · 32 LOCcommon/functional.tssrc/vs/base/common/htmlContent.ts · 255 LOCcommon/htmlContent.tssrc/vs/base/common/iconLabels.ts · 116 LOCcommon/iconLabels.tssrc/vs/base/common/iterator.ts · 194 LOCcommon/iterator.tssrc/vs/base/common/lazy.ts · 57 LOCcommon/lazy.tssrc/vs/base/common/lifecycle.ts · 974 LOCcommon/lifecycle.tssrc/vs/base/common/linkedList.ts · 151 LOCcommon/linkedList.tssrc/vs/base/common/map.ts · 1016 LOCcommon/map.tssrc/vs/base/common/marshallingIds.ts · 33 LOCcommon/marshallingIds.tssrc/vs/base/common/naturalLanguage/korean.ts · 423 LOCnaturalLanguage/korean.t…src/vs/base/common/network.ts · 440 LOCcommon/network.tssrc/vs/base/common/normalization.ts · 63 LOCcommon/normalization.tssrc/vs/base/common/path.ts · 1589 LOCcommon/path.tssrc/vs/base/common/platform.ts · 281 LOCcommon/platform.tssrc/vs/base/common/process.ts · 76 LOCcommon/process.tssrc/vs/base/common/resources.ts · 444 LOCcommon/resources.tssrc/vs/base/common/stopwatch.ts · 41 LOCcommon/stopwatch.tssrc/vs/base/common/stream.ts · 790 LOCcommon/stream.tssrc/vs/base/common/strings.ts · 1413 LOCcommon/strings.tssrc/vs/base/common/themables.ts · 117 LOCcommon/themables.tssrc/vs/base/common/types.ts · 410 LOCcommon/types.tssrc/vs/base/common/uint.ts · 59 LOCcommon/uint.tssrc/vs/base/common/uri.ts · 754 LOCcommon/uri.tssrc/vs/base/common/uuid.ts · 70 LOCcommon/uuid.tssrc/vs/base/test/common/utils.ts · 107 LOCcommon/utils.tssrc/vs/nls.ts · 244 LOCvs/nls.tssrc/vs/platform/agentHost/common/agentService.ts · 2261 LOCcommon/agentService.tssrc/vs/platform/agentHost/common/annotationsUri.ts · 48 LOCcommon/annotationsUri.tssrc/vs/platform/agentHost/common/meta/agentFeedbackAnnotations.ts · 135 LOCmeta/agentFeedbackAnnota…src/vs/platform/agentHost/common/meta/agentToolCallMeta.ts · 157 LOCmeta/agentToolCallMeta.t…src/vs/platform/agentHost/common/openSessionLink.ts · 92 LOCcommon/openSessionLink.t…src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.ts · 105 LOCchannels-changeset/comma…src/vs/platform/agentHost/common/state/protocol/channels-changeset/state.ts · 277 LOCchannels-changeset/state…src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.ts · 147 LOCchannels-chat/commands.t…src/vs/platform/agentHost/common/state/protocol/channels-chat/state.ts · 1557 LOCchannels-chat/state.tssrc/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.ts · 73 LOCchannels-resource-watch/…src/vs/platform/agentHost/common/state/protocol/channels-root/state.ts · 244 LOCchannels-root/state.tssrc/vs/platform/agentHost/common/state/protocol/channels-session/commands.ts · 323 LOCchannels-session/command…src/vs/platform/agentHost/common/state/protocol/channels-session/state.ts · 1351 LOCchannels-session/state.t…src/vs/platform/agentHost/common/state/protocol/channels-terminal/state.ts · 173 LOCchannels-terminal/state.…src/vs/platform/agentHost/common/state/protocol/commands.ts · 15 LOCprotocol/commands.tssrc/vs/platform/agentHost/common/state/protocol/common/actions.ts · 238 LOCcommon/actions.tssrc/vs/platform/agentHost/common/state/protocol/common/commands.ts · 1071 LOCcommon/commands.tssrc/vs/platform/agentHost/common/state/protocol/state.ts · 17 LOCprotocol/state.tssrc/vs/platform/agentHost/common/state/sessionState.ts · 1405 LOCstate/sessionState.tssrc/vs/platform/agentHost/node/claude/claudeCanUseTool.ts · 277 LOCclaude/claudeCanUseTool.…src/vs/platform/agentHost/node/claude/claudeFileEditObserver.ts · 142 LOCclaude/claudeFileEditObs…src/vs/platform/agentHost/node/claude/claudeToolCallRegistry.ts · 195 LOCclaude/claudeToolCallReg…src/vs/platform/agentHost/node/claude/claudeToolDisplay.ts · 616 LOCclaude/claudeToolDisplay…src/vs/platform/agentHost/node/shared/agentFeedbackServerTools.ts · 611 LOCshared/agentFeedbackServ…src/vs/platform/agentHost/node/shared/serverToolGroups.ts · 72 LOCshared/serverToolGroups.…src/vs/platform/agentHost/node/shared/sessionServerTools.ts · 1101 LOCshared/sessionServerTool…src/vs/platform/agentHost/test/common/sessionTestHelpers.ts · 316 LOCcommon/sessionTestHelper…src/vs/platform/instantiation/common/instantiation.ts · 130 LOCcommon/instantiation.tsclaudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Phase 12 step 5 — canUseTool inside a subagent context tags pending_confirmation with parentToolCallId and feeds the resolver cache|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) SDK abort signal unparks a pending canUseTool with deny instead of waiting on the user|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) SDK abort signal unparks a pending canUseTool with deny instead of waiting on the user|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 1 — default mode parks, respondToPermissionRequest(true) → allow|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 1 — default mode parks, respondToPermissionRequest(true) → allow|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 2 — default mode parks, respondToPermissionRequest(false) → deny|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 2 — default mode parks, respondToPermissionRequest(false) → deny|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 7 — pending_confirmation signal carries the correct shape|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 7 — pending_confirmation signal carries the correct shape|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 8 — synchronous auto-respond inside pending_confirmation listener resolves canUseTool|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 7 §3.4 — _handleCanUseTool) Test 8 — synchronous auto-respond inside pending_confirmation listener resolves canUseTool|occurrence=1claudeAgent.test|title=C…claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession denies any parked permission requests so the SDK canUseTool callback unwinds with deny instead of leaving stale UI behind|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeAgent.test|title=ClaudeAgent (Phase 9 — runtime mutation surface) abortSession denies any parked permission requests so the SDK canUseTool callback unwinds with deny instead of leaving stale UI behind|occurrence=1claudeAgent.test|title=C…claudeFileEditObserver.test|title=ClaudeFileEditObserver observe assistant→user round-trip caches a file edit on the mapper state|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeFileEditObserver.test|title=ClaudeFileEditObserver observe assistant→user round-trip caches a file edit on the mapper state|occurrence=1claudeFileEditObserver.t…claudeFileEditObserver.test|title=ClaudeFileEditObserver observeAssistant ignores non-edit tools and tools with no path|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeFileEditObserver.test|title=ClaudeFileEditObserver observeAssistant ignores non-edit tools and tools with no path|occurrence=1claudeFileEditObserver.t…claudeMapSessionEvents.test|title=claudeMapSessionEvents — direct mapper tests Test 10 — synthetic user tool_result emits ChatToolCallComplete with the originating turnId|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeMapSessionEvents.test|title=claudeMapSessionEvents — direct mapper tests Test 10 — synthetic user tool_result emits ChatToolCallComplete with the originating turnId|occurrence=1claudeMapSessionEvents.t…info tracking finalize with malformed JSON falls back to undefined parsedInput, preserves raw buffer as toolInput|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeToolCallRegistry.test|title=claudeToolCallRegistry — Phase 8.5 input/info tracking finalize with malformed JSON falls back to undefined parsedInput, preserves raw buffer as toolInput|occurrence=1info tracking finalize w…claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — defensive input handling falls back to static display strings|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — defensive input handling falls back to static display strings|occurrence=1claudeToolDisplay.test|t…claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — rich rendering snapshot covers every tool row|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table Phase 8.5 — rich rendering snapshot covers every tool row|occurrence=1claudeToolDisplay.test|t…claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table getClaudeToolPath snapshot for path-bearing tools|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/claudeToolDisplay.test|title=claudeToolDisplay — §4 mapping table getClaudeToolPath snapshot for path-bearing tools|occurrence=1claudeToolDisplay.test|t…Focused concept · claudeToolDisplay.ts ×2 · 4 introduced LOCclaudeToolDisplay.ts ×2

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: 4 introduced LOC across 2 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

src/vs/platform/agentHost/node/claude/claudeToolDisplay.ts 4 introduced LOC · 2 ranges

Open complete file

204 */
205 export function getClaudeToolPath(toolName: string, input: unknown): string | undefined {
206 > const row = TOOL_ROWS[toolName]; claudeToolDisplay.ts
207 > if (!row?.pathField || typeof input !== 'object' || input === null) {
208 return undefined;
209 }
210 const value = (input as Record<string, unknown>)[row.pathField];
211 > return typeof value === 'string' ? value : undefined; claudeToolDisplay.ts
212 > }
213
214 /**