sessionPermissions.ts ×1
Frontier kind: Code frontier
unlabeled · c_811bbd5ad336
8 tests · 50364 LOC · 291 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
- Code
- 1 range2 lines · 1 files
- Tests
- 0 tests
Contains — complete concept membership
- All code (extent)
- 5288 ranges50364 lines · 291 files · Browse complete extent
- All tests (intent)
- 8 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.
- sessionPermissions.ts ×1 — Focused concept Introduced files:
- agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for an additional chat is emitted on that chat channel|occurrence=1 — Ancestor (broader) Introduced tests:
- agentSideEffects.test|title=AgentSideEffects session permissions ChatToolCallConfirmed with allow-session adds tool to session permissions|occurrence=1 — Ancestor (broader) Introduced tests:
- agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state pending_confirmation for a tool inside a subagent routes to the subagent session|occurrence=1 — Ancestor (broader) Introduced tests:
- sessionPermissions.ts ×4 — Ancestor (broader) Introduced files:
- toolCallConfirmed routes confirmation to correct agent via _toolCallAgents|occurrence=1 — Ancestor (broader) Introduced tests:
- agentSideEffects.ts ×1 — Ancestor (broader) Introduced files: Introduced tests:
- agentSideEffects.test|title=AgentSideEffects session permissions tool_ready action includes confirmation options when confirmation is needed|occurrence=1 — Ancestor (broader) Introduced tests:
- agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for a permission-gated tool dispatches ChatToolCallReady and advances state to PendingConfirmation|occurrence=1 — Ancestor (broader) Introduced tests:
- agentSideEffects.test|title=AgentSideEffects tool_ready dispatches progress actions to advance tool call state tool_ready for a non-permission tool dispatches ChatToolCallReady and advances state from Streaming to Running|occurrence=1 — Ancestor (broader) Introduced tests:
- sessionPermissions.ts ×3 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×2 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×1 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×5 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×2 — Descendant (narrower) Introduced files:
- agentHostToolCallTracker.ts ×3 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×1 — Descendant (narrower) Introduced files:
- agentHostTurnTracker.ts ×2 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×9 — Descendant (narrower) Introduced files:
- reducer.ts ×3 — 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
- agentSideEffects.ts ×1 — Descendant (narrower) Introduced files:
- agentHostToolCallTracker.ts ×2 — Descendant (narrower) Introduced files:
- agentSideEffects.ts ×8 — Descendant (narrower) Introduced files:
- mockAgent.ts ×1 — Descendant (narrower) Introduced files:
- mockAgent.ts ×2 — Descendant (narrower) Introduced files:
- agentService.ts ×1 — Descendant (narrower) Introduced files:
- agentService.ts ×2 — 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:
- testAgentHostTerminalManager.ts ×1 — Descendant (narrower) Introduced files:
- testAgentHostTerminalManager.ts ×4 — Descendant (narrower) Introduced files:
- agentHostSkillCompletionProvider.ts ×6 — Descendant (narrower) Introduced files:
- changesetUri.ts ×1 — Descendant (narrower) Introduced files:
- sessionPermissions.ts ×1 — Descendant (narrower) Introduced files:
- sessionPermissions.ts ×1 — Descendant (narrower) Introduced files:
- sessionPermissions.ts ×1 — Descendant (narrower) Introduced files:
- sessionPermissions.ts ×6 — 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:
- agentHostTelemetryService.ts ×2 — Descendant (narrower) Introduced files:
- agentHostChangesetFileMonitorCoordinator.ts ×27 — Descendant (narrower) Introduced files:
- agentHostPullRequestOperationProvider.ts ×5 — 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:
- inMemoryFilesystemProvider.ts ×1 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×1 — Descendant (narrower) Introduced files:
- fileService.ts ×1 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×2 — 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:
- agentConfigurationService.ts ×1 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×2 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×6 — Descendant (narrower) Introduced files:
- fileService.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSchema.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:
- fileService.ts ×2 — Descendant (narrower) Introduced files:
- agentConfigurationService.ts ×5 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×1 — 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:
- agentHostSyncOperationProvider.ts ×5 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×3 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×7 — 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:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- agentHostStateManager.ts ×60 — Descendant (narrower) Introduced files:
- sessionDiffAggregator.ts ×5 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- stopwatch.ts ×1 — Descendant (narrower) Introduced files:
- agentCustomizationSettings.ts ×7 — Descendant (narrower) Introduced files:
- event.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- sessionTestHelpers.ts ×1 — Descendant (narrower) Introduced files:
- log.ts ×1 — Descendant (narrower) Introduced files:
- log.ts ×72 — Descendant (narrower) Introduced files:
- sessionDatabase.ts ×50 — Descendant (narrower) Introduced files:
- agentHostToolCallTracker.ts ×4 — Descendant (narrower) Introduced files:
- observableValue.ts ×1 — Descendant (narrower) Introduced files:
- stopwatch.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:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/instantiation/test/common/instantiationService.test|title=Instantiation Service @Param - fixed args|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/instantiation/test/common/instantiationService.test|title=Instantiation Service @Param - simple clase|occurrence=1
- buffer.test|title=Buffer Performance issue with VSBuffer#slice #76076|occurrence=1 — Descendant (narrower) Introduced tests:
- instantiationService.ts ×2 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×2 — Descendant (narrower) Introduced files:
- async.ts ×3 — Descendant (narrower) Introduced files:
- async.ts ×1 — Descendant (narrower) Introduced files:
- contextkey.ts ×1 — Descendant (narrower) Introduced files:
- async.ts ×202 — Descendant (narrower) Introduced files:
- contextkey.ts ×1 — Descendant (narrower) Introduced files:
- contextkey.ts ×2 — Descendant (narrower) Introduced files:
- contextkey.ts ×1 — Descendant (narrower) Introduced files:
- contextkey.ts ×201 — 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:
- annotationsUri.ts ×3 — Descendant (narrower) Introduced files:
- reducer.ts ×1 — Descendant (narrower) Introduced files:
- resources.ts ×2 — Descendant (narrower) Introduced files:
- sessionReducers.ts ×1 — Descendant (narrower) Introduced files:
- hash.ts ×17 — Descendant (narrower) Introduced files:
- sessionState.ts ×1 — Descendant (narrower) Introduced files:
- resources.ts ×23 — Descendant (narrower) Introduced files:
- reducer.ts ×7 — Descendant (narrower) Introduced files:
- instantiation.ts ×1 — Descendant (narrower) Introduced files:
- reducer.ts ×2 — Descendant (narrower) Introduced files:
- descriptors.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 ×2 — Descendant (narrower) Introduced files:
- reducer.ts ×1 — Descendant (narrower) Introduced files:
- reducer.ts ×12 — Descendant (narrower) Introduced files:
- strings.ts ×101 — Descendant (narrower) Introduced files:
- changesetUri.ts ×16 — Descendant (narrower) Introduced files:
- agentToolCallMeta.ts ×1 — 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:
- event.ts ×4 — Descendant (narrower) Introduced files:
- sessionState.ts ×57 — Descendant (narrower) Introduced files:
- event.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×4 — Descendant (narrower) Introduced files:
- event.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:
- event.ts ×3 — 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:
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
- event.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×3 — Descendant (narrower) Introduced files:
- event.ts ×2 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — Descendant (narrower) Introduced files:
- event.ts ×2 — Descendant (narrower) Introduced files:
- event.ts ×93 — Descendant (narrower) Introduced files:
- agentHostSchema.ts ×1 — Descendant (narrower) Introduced files:
- agentHostSchema.test|title=agentHostSchema validateOrDefault uses defaults when input is undefined|occurrence=1 — Descendant (narrower) Introduced tests:
- agentHostSchema.ts ×4 — Descendant (narrower) Introduced files:
- agentHostSchema.ts ×3 — 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
- agentHostSchema.ts ×2 — Descendant (narrower) Introduced files:
- buffer.ts ×2 — Descendant (narrower) Introduced files:
- agentHostSchema.ts ×21 — Descendant (narrower) Introduced files:
- buffer.ts ×42 — 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:
- configuration.ts ×12 — Descendant (narrower) Introduced files:
- sessionProtocol.ts ×5 — Descendant (narrower) Introduced files:
- languageStatusDedupe.test|title=LanguageStatus - Dedicated Entry Deduplication disposes entries no longer in model|occurrence=1 — Descendant (narrower) Introduced tests:
- sessionConfigKeys.ts ×1 — Descendant (narrower) Introduced files:
- state.ts ×1 — Descendant (narrower) Introduced files:
-
commands.ts ×1 — Descendant (narrower)
Introduced files:
- src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.ts
- src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.ts
- src/vs/platform/agentHost/common/state/protocol/channels-session/commands.ts
- src/vs/platform/agentHost/common/state/protocol/commands.ts
- src/vs/platform/agentHost/common/state/protocol/common/commands.ts
- uri.ts ×2 — Descendant (narrower) Introduced files:
- equals.ts ×14 — Descendant (narrower) Introduced files:
- uri.ts ×3 — Descendant (narrower) Introduced files:
- arrays.test|title=Arrays coalesce|occurrence=1 — Descendant (narrower) Introduced tests:
- 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:
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1mocha: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=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1
- utils.ts ×3 — Descendant (narrower) Introduced files:
- uri.ts ×1 — Descendant (narrower) Introduced files:
- instantiation.ts ×4 — Descendant (narrower) Introduced files:
- telemetry.ts ×3 — Descendant (narrower) Introduced files:
- nls.ts ×1 — Descendant (narrower) Introduced files:
- errorMessage.ts ×6 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- objects.ts ×13 — Descendant (narrower) Introduced files:
- instantiation.ts ×5 — Descendant (narrower) Introduced files:
- lifecycle.ts ×1 — Descendant (narrower) Introduced files:
- lifecycle.ts ×2 — 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:
- lifecycle.ts ×1 — 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:
- lifecycle.ts ×1 — 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:
- src/vs/base/common/arrays.ts
- src/vs/base/common/arraysFind.ts
- src/vs/base/common/assert.ts
- src/vs/base/common/charCode.ts
- src/vs/base/common/collections.ts
- src/vs/base/common/errors.ts
- src/vs/base/common/functional.ts
- src/vs/base/common/iterator.ts
- src/vs/base/common/lifecycle.ts
- src/vs/base/common/map.ts
- src/vs/base/common/marshallingIds.ts
- src/vs/base/common/path.ts
- src/vs/base/common/platform.ts
- src/vs/base/common/process.ts
- src/vs/base/common/types.ts
- src/vs/base/common/uri.ts
- src/vs/base/test/common/utils.ts
- src/vs/nls.ts
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.