agentService.ts ×2
Frontier kind: Code frontier
unlabeled · c_0bec4d7d5567
4 tests · 52319 LOC · 304 files · introduces 0 tests · 6 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
- Code
- 2 ranges6 lines · 1 files
- Tests
- 0 tests
Contains — complete concept membership
- All code (extent)
- 5637 ranges52319 lines · 304 files · Browse complete extent
- All tests (intent)
- 4 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.
- 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.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
- agentService.ts ×2 — Focused concept Introduced files:
- agentService.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- agentService.ts ×2 — Ancestor (broader) Introduced files: Introduced tests:
- agentService.ts ×3 — Ancestor (broader) Introduced files: Introduced tests:
- agentService.ts ×6 — Ancestor (broader) Introduced files:
- agentService.ts ×3 — Ancestor (broader) Introduced files: Introduced tests:
- agentService.ts ×10 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×2 — Descendant (narrower) Introduced files:
- agentService.ts ×5 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×5 — Descendant (narrower) Introduced files:
- changesetUri.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×16 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostChangesetService.ts ×3 — Descendant (narrower) Introduced files:
- agentService.ts ×9 — Descendant (narrower) Introduced files:
- agentHostAuthenticationService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostAuthenticationService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostAuthenticationService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostAuthenticationService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostAuthenticationService.ts ×2 — Descendant (narrower) Introduced files:
- agentService.test|title=AgentService (node dispatcher) registerProvider registers a provider successfully|occurrence=1 — Descendant (narrower) Introduced tests:
- agentService.ts ×2 — Descendant (narrower) Introduced files:
- mockAgent.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostManagementService.ts ×10 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- commandAutoApprover.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×14 — Descendant (narrower) Introduced files:
-
agentService.ts ×122 — Descendant (narrower)
Introduced files:
- src/vs/platform/agentHost/node/agentHostAuthenticationService.ts
- src/vs/platform/agentHost/node/agentHostChangesetService.ts
- src/vs/platform/agentHost/node/agentHostCheckpointService.ts
- src/vs/platform/agentHost/node/agentHostDiscardChangesOperationProvider.ts
- src/vs/platform/agentHost/node/agentHostReviewService.ts
- src/vs/platform/agentHost/node/agentService.ts
- src/vs/platform/agentHost/node/diffComputeService.ts
- mockAgent.ts ×3 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×1 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×1 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×3 — 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 ×5 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×8 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×2 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×17 — Descendant (narrower) Introduced files:
- mockAgent.ts ×2 — Descendant (narrower) Introduced files:
- mockAgent.ts ×2 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×3 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×3 — Descendant (narrower) Introduced files:
-
agentSideEffects.ts ×51 — Descendant (narrower)
Introduced files:
- src/vs/platform/agentHost/node/agentHostTurnTracker.ts
- src/vs/platform/agentHost/node/agentSideEffects.ts
- src/vs/platform/agentHost/node/localCommands/bangLocalCommand.ts
- src/vs/platform/agentHost/node/localCommands/localChatCommand.ts
- src/vs/platform/agentHost/node/localCommands/localChatCommands.contribution.ts
- src/vs/platform/agentHost/node/localCommands/renameLocalCommand.ts
- src/vs/platform/agentHost/node/shared/persistSessionMetadata.ts
- agentHostReviewService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostChangesetFileMonitorCoordinator.ts ×8 — Descendant (narrower) Introduced files:
- agentHostSkillCompletionProvider.ts ×6 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×3 — Descendant (narrower) Introduced files:
- agentHostChangesetFileMonitorCoordinator.ts ×2 — Descendant (narrower) Introduced files:
- changesetUri.ts ×1 — Descendant (narrower) Introduced files:
- agentHostChangesetFileMonitorCoordinator.ts ×27 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×2 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×8 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×3 — Descendant (narrower) Introduced files:
- agentHostPullRequestOperationProvider.ts ×5 — Descendant (narrower) Introduced files:
- agentHostGitStateService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostGitStateService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×5 — Descendant (narrower) Introduced files:
- inMemoryFilesystemProvider.ts ×1 — Descendant (narrower) Introduced files:
- agentHostCommitOperationProvider.ts ×5 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×16 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×2 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×2 — Descendant (narrower) Introduced files:
- agentHostSessionTitleController.ts ×1 — Descendant (narrower) Introduced files:
- inMemoryFilesystemProvider.ts ×1 — Descendant (narrower) Introduced files:
- inMemoryFilesystemProvider.ts ×8 — Descendant (narrower) Introduced files:
- fileService.ts ×1 — Descendant (narrower) Introduced files:
- fileService.ts ×6 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×1 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×1 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- inMemoryFilesystemProvider.ts ×3 — Descendant (narrower) Introduced files:
- agentHostGitHubEndpointService.ts ×1 — Descendant (narrower) Introduced files:
- fileService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostGitHubEndpointService.ts ×3 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostFileCompletionProvider.ts ×7 — Descendant (narrower) Introduced files:
- reducer.ts ×2 — Descendant (narrower) Introduced files:
- agentHostGitStateService.ts ×7 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×4 — Descendant (narrower) Introduced files:
- inMemoryFilesystemProvider.ts ×1 — Descendant (narrower) Introduced files:
- fileService.ts ×2 — Descendant (narrower) Introduced files:
- fileService.ts ×5 — Descendant (narrower) Introduced files:
- agentHostStateManager.test|title=Subagent URI helpers parseSubagentSessionUri returns undefined for non-subagent URIs|occurrence=1 — Descendant (narrower) Introduced tests:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
-
agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat resolves the per-chat working directory override over the session default|occurrence=1, agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat falls back to the session working directory when no chat state is hydrated|occurrence=1, +1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat falls back to the session working directory when no chat state is hydrated|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat falls back to the session working directory when the chat does not override it|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/agentHostStateManager.test|title=Subagent URI helpers mergeSessionWithDefaultChat resolves the per-chat working directory override over the session default|occurrence=1
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×3 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×2 — Descendant (narrower) Introduced files:
- agentHostSyncOperationProvider.ts ×5 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×3 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×4 — Descendant (narrower) Introduced files:
- agentHostDiscardChangesOperationHandler.ts ×5 — Descendant (narrower) Introduced files:
- agentServerToolHost.ts ×5 — Descendant (narrower) Introduced files:
- agentHostChangesetOperationService.ts ×9 — Descendant (narrower) Introduced files:
- fileService.ts ×4 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionDiffAggregator.ts ×5 — Descendant (narrower) Introduced files:
- commandAutoApprover.ts ×2 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×1 — Descendant (narrower) Introduced files:
- sessionDatabase.ts ×50 — Descendant (narrower) Introduced files:
- buffer.test|title=Buffer issue #71993 - VSBuffer#toString returns numbers|occurrence=1 — Descendant (narrower) Introduced tests:
- buffer.test|title=Buffer slice|occurrence=1 — Descendant (narrower) Introduced tests:
-
buffer.test|title=Buffer fromString|occurrence=1, buffer.test|title=Buffer issue #251527 - VSBuffer#toString preserves BOM character in filenames|occurrence=1 — Descendant (narrower)
Introduced tests:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/buffer.test|title=Buffer fromString|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/buffer.test|title=Buffer issue #251527 - VSBuffer#toString preserves BOM character in filenames|occurrence=1
- buffer.test|title=Buffer wrap|occurrence=1 — Descendant (narrower) Introduced tests:
- buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower) Introduced tests:
- async.test|title=Async SequencerByKey|occurrence=1 — Descendant (narrower) Introduced tests:
- async.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×1 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×202 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×1 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×33 — Descendant (narrower) Introduced files:
- sessionState.ts ×3 — Descendant (narrower) Introduced files:
- reducer.ts ×1 — Descendant (narrower) Introduced files:
- reducer.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×3 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- githubEndpoints.ts ×1 — Descendant (narrower) Introduced files:
- files.ts ×1 — Descendant (narrower) Introduced files:
- reducer.ts ×1 — Descendant (narrower) Introduced files:
- resources.ts ×2 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×1 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×2 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×10 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×1 — Descendant (narrower) Introduced files:
- ternarySearchTree.ts ×1 — Descendant (narrower) Introduced files:
- arrays.ts ×1 — Descendant (narrower) Introduced files:
- strings.test|title=Strings trimWhitespace|occurrence=1 — Descendant (narrower) Introduced tests:
- reducer.ts ×12 — Descendant (narrower) Introduced files:
- event.ts ×1 — Descendant (narrower) Introduced files:
- timeTravelScheduler.ts ×1 — Descendant (narrower) Introduced files:
- processor.ts ×1 — Descendant (narrower) Introduced files:
- chatSummaryStatus.test|title=chatSummaryFromState status projection leaves non-InputNeeded statuses untouched|occurrence=1 — Descendant (narrower) Introduced tests:
- sessionState.ts ×2 — Descendant (narrower) Introduced files:
- event.ts ×4 — Descendant (narrower) Introduced files:
- cancellation.ts ×1 — Descendant (narrower) Introduced files:
- event.ts ×1 — Descendant (narrower) Introduced files:
- cancellation.ts ×1 — Descendant (narrower) Introduced files:
- cancellation.ts ×1 — Descendant (narrower) Introduced files:
- event.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.test|title=No Leakage Utilities ensureNoDisposablesAreLeakedInTest Basic Test|occurrence=1 — Descendant (narrower) Introduced tests:
-
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:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle Action bar has broken accessibility #100273|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/lifecycle.test|title=Lifecycle dispose disposable array|occurrence=1
- buffer.ts ×1 — Descendant (narrower) Introduced files:
- buffer.ts ×1 — Descendant (narrower) Introduced files:
- buffer.ts ×3 — Descendant (narrower) Introduced files:
- buffer.ts ×1 — 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:
- buffer.ts ×2 — 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:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/agentHostSchema.test|title=agentHostSchema createSchema toProtocol emits a JSON-Schema-compatible object|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/common/agentHostSchema.test|title=agentHostSchema platformSessionSchema exposes approval choices in picker order with current copy|occurrence=1
- buffer.ts ×2 — Descendant (narrower) Introduced files:
- buffer.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×4 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- gitDiffContent.ts ×2 — Descendant (narrower) Introduced files:
- agentClientUri.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- configuration.ts ×12 — Descendant (narrower) Introduced files:
- languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower) Introduced tests:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- agentHostBangCommand.ts ×1 — Descendant (narrower) Introduced files: Introduced tests:
- uri.ts ×2 — Descendant (narrower) Introduced files:
- agentHostBangCommand.ts ×2 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- arrays.test|title=Arrays coalesce|occurrence=1 — Descendant (narrower) Introduced tests:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- utils.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- instantiation.ts ×4 — 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:
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: 6 introduced LOC across 2 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/agentService.ts 6 introduced LOC · 2 ranges
}
if (attachment.type === MessageAttachmentKind.Resource && this._isRewritableAttachment(attachment, attachmentsRootStr)) {
// If the attachment references a file that already exists on the agent
// host side, leave it untouched rather than snapshotting a client copy (#319314).
if (originalUri.scheme === Schemas.file && await this._fileExistsSafe(originalUri)) {
return attachment;
}