map.ts ×3

Frontier kind: Code frontier

unlabeled · c_768c8a6381ff

17 tests · 5646 LOC · 29 files · introduces 0 tests · 7 LOC · 1 file

Introduces — evidence that enters the hierarchy at this concept

Code
3 ranges7 lines · 1 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
791 ranges5646 lines · 29 files · Browse complete extent
All tests (intent)
17 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 specializationagentService.ts ×1 · 2 introduced LOCagentService.ts ×1agentService.test|title=AgentService (node dispatcher) subagent membership sequencing a subagent chat survives subagent_completed (stays live and subscribable, its turn completed)|occurrence=1 · 0 introduced LOCagentService.test|title=…agentSideEffects.ts ×2 · 6 introduced LOCagentSideEffects.ts ×2agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_completed signal completes the subagent turn|occurrence=1 · 0 introduced LOCagentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects subagent sessions completeSubagentSession clears pending buffered events when subagent never started|occurrence=1 · 0 introduced LOCagentSideEffects.test|ti…agentSideEffects.ts ×1 · 10 introduced LOCagentSideEffects.ts ×1agentSideEffects.test|title=AgentSideEffects subagent sessions inner tool_start arriving BEFORE subagent_started routes to subagent (not parent)|occurrence=1 · 0 introduced LOCagentSideEffects.test|ti…sessionState.ts ×1 · 4 introduced LOCsessionState.ts ×1agentSideEffects.test|title=AgentSideEffects registerProgressListener stale completion does not clear active turn tool tracking|occurrence=1 · 0 introduced LOCagentSideEffects.test|ti…sessionState.ts ×2 · 6 introduced LOCsessionState.ts ×2agentSideEffects.ts ×1 · 5 introduced LOCagentSideEffects.ts ×1agentSideEffects.ts ×2 · 14 introduced LOCagentSideEffects.ts ×2agentSideEffects.ts ×3 · 22 introduced LOCagentSideEffects.ts ×3map.ts ×1 · 2 introduced LOCmap.ts ×1agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry does not emit after a client tool completes or its turn is cancelled|occurrence=1 · 0 introduced LOCagentHostToolCallTelemet…agentHostTelemetryReporter.ts ×1 · 25 introduced LOCagentHostTelemetryReport…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits userCancelled with mcp source kind for a denied mcp tool|occurrence=1 · 0 introduced LOCagentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits client source kind for a client-contributed tool|occurrence=1 · 0 introduced LOCagentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits error for a failure without a cancellation code|occurrence=1 · 0 introduced LOCagentHostToolCallTelemet…agentHostToolCallTracker.ts ×1 · 5 introduced LOCagentHostToolCallTracker…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a successful agent-host tool invocation|occurrence=1 · 0 introduced LOCagentHostToolCallTelemet…reducer.ts ×1 · 2 introduced LOCreducer.ts ×1sessionState.ts ×1 · 2 introduced LOCsessionState.ts ×1agentSideEffects.ts ×4 · 51 introduced LOCagentSideEffects.ts ×4map.ts ×1 · 2 introduced LOCmap.ts ×1map.test|title=NKeyMap delete|occurrence=1 · 0 introduced LOCmap.test|title=NKeyMap d…map.ts ×3 · 7 introduced LOCmap.ts ×3map.ts ×1 · 1 introduced LOCmap.ts ×1resources.ts ×23 · 253 introduced LOCresources.ts ×23network.ts ×20 · 292 introduced LOCnetwork.ts ×20strings.test|title=Strings trimWhitespace|occurrence=1 · 0 introduced LOCstrings.test|title=Strin…extpath.ts ×17 · 91 introduced LOCextpath.ts ×17strings.ts ×101 · 542 introduced LOCstrings.ts ×101cancellation.test|title=CancellationToken None|occurrence=1 · 0 introduced LOCcancellation.test|title=…cancellation.ts ×18 · 90 introduced LOCcancellation.ts ×18event.ts ×93 · 864 introduced LOCevent.ts ×93uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 · 0 introduced LOCuri.test|title=URI URI#f…utils.ts ×3 · 9 introduced LOCutils.ts ×3linkedList.ts ×13 · 44 introduced LOClinkedList.ts ×13lifecycle.ts ×2 · 4 introduced LOClifecycle.ts ×2lifecycle.ts ×1 · 2 introduced LOClifecycle.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 ×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/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/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/functional.ts · 32 LOCcommon/functional.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/network.ts · 440 LOCcommon/network.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/strings.ts · 1413 LOCcommon/strings.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/test/common/utils.ts · 107 LOCcommon/utils.tssrc/vs/nls.ts · 244 LOCvs/nls.tssrc/vs/platform/agentHost/common/state/protocol/channels-chat/reducer.ts · 833 LOCchannels-chat/reducer.tssrc/vs/platform/agentHost/common/state/sessionState.ts · 1405 LOCstate/sessionState.tssrc/vs/platform/agentHost/node/agentHostTelemetryReporter.ts · 554 LOCnode/agentHostTelemetryR…src/vs/platform/agentHost/node/agentHostToolCallTracker.ts · 203 LOCnode/agentHostToolCallTr…src/vs/platform/agentHost/node/agentService.ts · 3903 LOCnode/agentService.tssrc/vs/platform/agentHost/node/agentSideEffects.ts · 1728 LOCnode/agentSideEffects.tscancellation.test|title=CancellationToken None|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/cancellation.test|title=CancellationToken None|occurrence=1cancellation.test|title=…charCode.test|title=CharCode has good values|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1charCode.test|title=Char…map.test|title=NKeyMap delete|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/map.test|title=NKeyMap delete|occurrence=1map.test|title=NKeyMap d…path.test|title=Paths (Node Implementation) path|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1path.test|title=Paths (N…strings.test|title=Strings trimWhitespace|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/strings.test|title=Strings trimWhitespace|occurrence=1strings.test|title=Strin…uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1uri.test|title=URI File …uri.test|title=URI URI#file, win-speciale|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1uri.test|title=URI URI#f…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry does not emit after a client tool completes or its turn is cancelled|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry does not emit after a client tool completes or its turn is cancelled|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a single event when a tool completion is duplicated|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a single event when a tool completion is duplicated|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a successful agent-host tool invocation|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits a successful agent-host tool invocation|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits client source kind for a client-contributed tool|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits client source kind for a client-contributed tool|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits error for a failure without a cancellation code|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits error for a failure without a cancellation code|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits userCancelled with mcp source kind for a denied mcp tool|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits userCancelled with mcp source kind for a denied mcp tool|occurrence=1agentHostToolCallTelemet…agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits when a stalled client tool later completes|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry emits when a stalled client tool later completes|occurrence=1agentHostToolCallTelemet…agentService.test|title=AgentService (node dispatcher) subagent membership sequencing a subagent chat survives subagent_completed (stays live and subscribable, its turn completed)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing a subagent chat survives subagent_completed (stays live and subscribable, its turn completed)|occurrence=1agentService.test|title=…agentService.test|title=AgentService (node dispatcher) subagent membership sequencing an inner tool call arriving before subagent_started is buffered and drained onto the subagent chat|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentService.test|title=AgentService (node dispatcher) subagent membership sequencing an inner tool call arriving before subagent_started is buffered and drained onto the subagent chat|occurrence=1agentService.test|title=…agentSideEffects.test|title=AgentSideEffects changeset forwarders post-toolCallComplete edits fire onToolCallEditsApplied once|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects changeset forwarders post-toolCallComplete edits fire onToolCallEditsApplied once|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects registerProgressListener stale completion does not clear active turn tool tracking|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects registerProgressListener stale completion does not clear active turn tool tracking|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects subagent sessions completeSubagentSession clears pending buffered events when subagent never started|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions completeSubagentSession clears pending buffered events when subagent never started|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects subagent sessions inner tool_start arriving BEFORE subagent_started routes to subagent (not parent)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions inner tool_start arriving BEFORE subagent_started routes to subagent (not parent)|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_completed signal completes the subagent turn|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_completed signal completes the subagent turn|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects subagent sessions tool_complete preserves subagent content in completed tool call|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects subagent sessions tool_complete preserves subagent content in completed tool call|occurrence=1agentSideEffects.test|ti…agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state pending_confirmation without an active turn still dispatches (does not hang)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state pending_confirmation without an active turn still dispatches (does not hang)|occurrence=1agentSideEffects.test|ti…Focused concept · map.ts ×3 · 7 introduced LOCmap.ts ×3

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

src/vs/base/common/map.ts 7 introduced LOC · 3 ranges

Open complete file

921
922 public delete(...keys: [...TKeys]): boolean {
923 > const maps: Map<any, any>[] = [this._data]; map.ts
924 > let currentMap = this._data;
925 > for (let i = 0; i < keys.length - 1; i++) {
926 > const nextMap = currentMap.get(keys[i]);
927 > if (nextMap === undefined) {
928 return false;
929 }
932 }
933 const deleted = currentMap.delete(keys[keys.length - 1]);
934 > for (let i = keys.length - 2; deleted && i >= 0; i--) { map.ts
935 if (maps[i + 1].size === 0) {
936 maps[i].delete(keys[i]);
938 }
939 return deleted;
940 > } map.ts
941
942 public deleteAll(...keys: Partial<TKeys>): boolean {