agentSideEffects.ts ×3
Frontier kind: Code frontier
unlabeled · c_58e5c45b83b4
3 tests · 50538 LOC · 291 files · introduces 0 tests · 9 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
3 ranges 9 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.
agentSideEffects.ts ×3 — Focused concept
Introduced files:
agentSideEffects.test|title=AgentSideEffects subagent sessions reads inside parent working directory are auto-approved for tools in subagent sessions|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects session permissions subagent tool calls inherit parent session permissions|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects subagent sessions session-level autoApprove on the parent is inherited by tools in subagent sessions|occurrence=1 — Ancestor (broader)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects subagent sessions events with parentToolCallId route to subagent session|occurrence=1 — Descendant (narrower)
Introduced tests:
agentSideEffects.test|title=AgentSideEffects subagent sessions subagent_started creates a subagent chat and dispatches content on parent tool call|occurrence=1 — Descendant (narrower)
Introduced tests:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×2 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×4 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×3 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×2 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×5 — Descendant (narrower)
Introduced files:
mockAgent.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×1 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×9 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×3 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×2 — Descendant (narrower)
Introduced files:
agentSideEffects.ts ×9 — Descendant (narrower)
Introduced files:
agentService.ts ×122 — Descendant (narrower)
Introduced files:
mockAgent.ts ×1 — Descendant (narrower)
Introduced files:
mockAgent.ts ×2 — Descendant (narrower)
Introduced files:
mockAgent.ts ×2 — Descendant (narrower)
Introduced files:
agentService.ts ×4 — Descendant (narrower)
Introduced files:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
testAgentHostTerminalManager.ts ×1 — Descendant (narrower)
Introduced files:
testAgentHostTerminalManager.ts ×4 — Descendant (narrower)
Introduced files:
changesetUri.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
shellCommandExecution.ts ×12 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×1 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×2 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×1 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×5 — Descendant (narrower)
Introduced files:
sessionPermissions.ts ×1 — Descendant (narrower)
Introduced files:
agentHostTelemetryService.ts ×2 — Descendant (narrower)
Introduced files:
agentHostTelemetryService.ts ×29 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
inMemoryFilesystemProvider.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×6 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×1 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×1 — Descendant (narrower)
Introduced files:
fileService.ts ×2 — Descendant (narrower)
Introduced files:
agentConfigurationService.ts ×5 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
configurationService.ts ×18 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×2 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×3 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×4 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentHostStateManager.ts ×60 — Descendant (narrower)
Introduced files:
fileEditTracker.ts ×9 — Descendant (narrower)
Introduced files:
forwardedChatError.ts ×12 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×5 — Descendant (narrower)
Introduced files:
telemetryLogAppender.ts ×4 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×1 — Descendant (narrower)
Introduced files:
log.ts ×1 — Descendant (narrower)
Introduced files:
copilotToolDisplay.ts ×31 — Descendant (narrower)
Introduced files:
sessionDatabase.ts ×50 — Descendant (narrower)
Introduced files:
sessionDataService.ts ×1 — Descendant (narrower)
Introduced files:
agentHostToolCallTracker.ts ×1 — Descendant (narrower)
Introduced files:
agentHostToolCallTracker.ts ×4 — Descendant (narrower)
Introduced files:
agentHostToolCallTracker.ts ×11 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1, instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostMicrosoftTelemetry.ts ×7 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
instantiationService.test|title=Instantiation Service service collection, cannot overwrite|occurrence=1 — Descendant (narrower)
Introduced tests:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
instantiationService.ts ×6 — Descendant (narrower)
Introduced files:
instantiationService.ts ×2 — Descendant (narrower)
Introduced files:
instantiationService.ts ×3 — Descendant (narrower)
Introduced files:
instantiationService.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
agentHostTelemetryReporter.ts ×13 — Descendant (narrower)
Introduced files:
async.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
sessionTestHelpers.ts ×33 — Descendant (narrower)
Introduced files:
observableValue.ts ×3 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
observableValue.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — 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:
agentService.ts ×1 — Descendant (narrower)
Introduced files:
agentService.ts ×15 — Descendant (narrower)
Introduced files:
resources.ts ×2 — Descendant (narrower)
Introduced files:
sessionActions.ts ×1 — Descendant (narrower)
Introduced files:
id.ts ×6 — Descendant (narrower)
Introduced files:
commandLineHelpers.test|title=stripRedundantCdPrefix matches backslash extracted dir against backslash native wd on Windows|occurrence=1, commandLineHelpers.test|title=stripRedundantCdPrefix matches mixed path separators (forward-slash extracted vs native fsPath wd)|occurrence=1 — Descendant (narrower)
Introduced tests:
map.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×3 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
Introduced tests:
map.ts ×1 — Descendant (narrower)
Introduced files:
commandLineHelpers.ts ×3 — Descendant (narrower)
Introduced files:
map.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×2 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
configurationRegistry.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
arrays.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×7 — Descendant (narrower)
Introduced files:
strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower)
Introduced tests:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×2 — Descendant (narrower)
Introduced files:
reducer.ts ×1 — Descendant (narrower)
Introduced files:
reducer.ts ×29 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
agentToolCallMeta.ts ×1 — Descendant (narrower)
Introduced files:
agentToolCallMeta.ts ×6 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×1 — Descendant (narrower)
Introduced files:
agentToolCallMeta.ts ×1 — Descendant (narrower)
Introduced files:
sessionState.ts ×3 — Descendant (narrower)
Introduced files:
sessionState.ts ×57 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
cancellation.test|title=CancellationToken None|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×1 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower)
Introduced tests:
event.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — 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 ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema validateOrDefault uses defaults when input is undefined|occurrence=1 — Descendant (narrower)
Introduced tests:
buffer.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.test|title=agentHostSchema createSchema toProtocol emits a JSON-Schema-compatible object|occurrence=1, agentHostSchema.test|title=agentHostSchema platformSessionSchema exposes approval choices in picker order with current copy|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostSchema.ts ×2 — Descendant (narrower)
Introduced files:
buffer.ts ×2 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×1 — Descendant (narrower)
Introduced files:
agentHostSchema.ts ×21 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
agentHostRestrictedTelemetry.ts ×13 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower)
Introduced tests:
path.ts ×1 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×10 — Descendant (narrower)
Introduced files:
languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication mixed unique and duplicate IDs|occurrence=1, languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication creates new entry when none exists|occurrence=1, +4 — Descendant (narrower)
Introduced tests:
uri.ts ×2 — Descendant (narrower)
Introduced files:
uri.ts ×3 — Descendant (narrower)
Introduced files:
arrays.test|title=Arrays coalesce|occurrence=1 — Descendant (narrower)
Introduced tests:
agentHostTelemetryEnv.ts ×1 — Descendant (narrower)
Introduced files:
map.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 ×3 — Descendant (narrower)
Introduced files:
uri.ts ×2 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
uri.ts ×1 — Descendant (narrower)
Introduced files:
instantiation.ts ×4 — Descendant (narrower)
Introduced files:
uri.ts ×9 — Descendant (narrower)
Introduced files:
path.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
path.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — 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:
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: 9 introduced LOC across 3 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/agentSideEffects.ts 9 introduced LOC · 3 ranges
Open complete file
593
const subagentChatUri = this . _findSubagentChatForToolCall ( sessionKey , signal . state . toolCallId );
594
if ( subagentChatUri ) {
595
>
const subTurnId = this . _stateManager . getActiveTurnId ( subagentChatUri ) ?? '' ;
agentSideEffects.ts
596
>
void this . _handleToolReady ( signal , subagentChatUri , subTurnId , agent ). catch ( err => {
597
this . _logService . error ( '[AgentSideEffects] _handleToolReady failed' , err );
599
>
return ;
600
>
}
601
}
602
1016
private _findSubagentChatForToolCall ( parentChatURI : ProtocolURI , toolCallId : string ) : ProtocolURI | undefined {
1017
for ( const subagent of this . _subagentChats . getAll ( parentChatURI )) {
1018
>
if ( this . _toolCallAgents . has ( ` ${ subagent . chatUri } : ${ toolCallId } ` )) {
agentSideEffects.ts
1019
>
return subagent . chatUri ;
1020
>
}
1021
>
}
1022
return undefined ;
1023
}