sandboxConfigForSdk.ts ×1
Frontier kind: Joint frontier
unlabeled · c_8475ac2b5416
11 tests · 6962 LOC · 37 files · introduces 1 test · 1 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 1 lines · 1 files
Tests
1 test
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.
Introduced files, introduced tests, and structurally relevant concept specialization copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: applies the configured policy under default approvals|occurrence=1, copilotAgentSession.test|title=CopilotAgentSession permission handling per-request permissions: Autopilot with Ask When Needed keeps SDK approval mode off|occurrence=1 · 0 introduced LOC copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under global auto-approve|occurrence=1 · 0 introduced LOC copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under session bypass approvals|occurrence=1 · 0 introduced LOC copilotAgentSession.test… copilotAgentSession.ts ×1 · 8 introduced LOC copilotAgentSession.ts ×… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk filesystem policy selects the OS-specific slice from the per-OS filesystem keys|occurrence=1 · 0 introduced LOC sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk enablement enables sandbox for `on` on non-Windows platforms|occurrence=1, sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts ignores host lists when sandbox is `allowNetwork` (allow all)|occurrence=1, +2 · 0 introduced LOC sandboxConfigForSdk.test… sandboxConfigForSdk.ts ×3 · 6 introduced LOC sandboxConfigForSdk.ts ×… sandboxConfigForSdk.ts ×2 · 3 introduced LOC sandboxConfigForSdk.ts ×… sandboxConfigForSdk.ts ×1 · 3 introduced LOC sandboxConfigForSdk.ts ×… sandboxConfigForSdk.ts ×7 · 37 introduced LOC sandboxConfigForSdk.ts ×… sandboxConfigForSdk.ts ×1 · 85 introduced LOC sandboxConfigForSdk.ts ×… sandboxConfigSchema.ts ×1 · 143 introduced LOC sandboxConfigSchema.ts ×… agentHostSchema.ts ×21 · 546 introduced LOC agentHostSchema.ts ×21 settings.ts ×2 · 36 introduced LOC settings.ts ×2 configuration.ts ×12 · 203 introduced LOC configuration.ts ×12 sessionProtocol.ts ×5 · 364 introduced LOC sessionProtocol.ts ×5 settings.ts ×1 · 21 introduced LOC settings.ts ×1 sessionConfigKeys.ts ×1 · 52 introduced LOC sessionConfigKeys.ts ×1 commands.ts ×1 · 1661 introduced LOC commands.ts ×1 equals.ts ×14 · 108 introduced LOC equals.ts ×14 state.ts ×1 · 73 introduced LOC state.ts ×1 uri.test|title=URI URI#file, win-speciale|occurrence=1, charCode.test|title=CharCode has good values|occurrence=1, +2 · 0 introduced LOC uri.test|title=URI URI#f… utils.ts ×3 · 9 introduced LOC utils.ts ×3 telemetry.ts ×3 · 115 introduced LOC telemetry.ts ×3 nls.ts ×1 · 1 introduced LOC nls.ts ×1 nls.ts ×6 · 13 introduced LOC nls.ts ×6 instantiation.ts ×5 · 111 introduced LOC instantiation.ts ×5 lifecycle.ts ×2 · 4 introduced LOC lifecycle.ts ×2 lifecycle.ts ×1 · 2 introduced LOC lifecycle.ts ×1 lifecycle.ts ×4 · 8 introduced LOC lifecycle.ts ×4 lifecycle.ts ×6 · 16 introduced LOC lifecycle.ts ×6 lifecycle.ts ×1 · 2 introduced LOC lifecycle.ts ×1 lifecycle.ts ×1 · 2 introduced LOC lifecycle.ts ×1 lifecycle.ts ×1 · 3 introduced LOC lifecycle.ts ×1 map.ts ×97 · 3334 introduced LOC map.ts ×97 src/vs/base/common/arrays.ts · 949 LOC common/arrays.ts src/vs/base/common/arraysFind.ts · 226 LOC common/arraysFind.ts src/vs/base/common/assert.ts · 91 LOC common/assert.ts src/vs/base/common/charCode.ts · 450 LOC common/charCode.ts src/vs/base/common/collections.ts · 176 LOC common/collections.ts src/vs/base/common/equals.ts · 206 LOC common/equals.ts src/vs/base/common/errors.ts · 357 LOC common/errors.ts src/vs/base/common/functional.ts · 32 LOC common/functional.ts src/vs/base/common/iterator.ts · 194 LOC common/iterator.ts src/vs/base/common/lifecycle.ts · 974 LOC common/lifecycle.ts src/vs/base/common/map.ts · 1016 LOC common/map.ts src/vs/base/common/marshallingIds.ts · 33 LOC common/marshallingIds.ts src/vs/base/common/path.ts · 1589 LOC common/path.ts src/vs/base/common/platform.ts · 281 LOC common/platform.ts src/vs/base/common/process.ts · 76 LOC common/process.ts src/vs/base/common/types.ts · 410 LOC common/types.ts src/vs/base/common/uri.ts · 754 LOC common/uri.ts src/vs/base/test/common/utils.ts · 107 LOC common/utils.ts src/vs/nls.ts · 244 LOC vs/nls.ts src/vs/platform/agentHost/common/agentHostSchema.ts · 732 LOC common/agentHostSchema.t… src/vs/platform/agentHost/common/sandboxConfigSchema.ts · 144 LOC common/sandboxConfigSche… src/vs/platform/agentHost/common/sessionConfigKeys.ts · 52 LOC common/sessionConfigKeys… src/vs/platform/agentHost/common/state/protocol/channels-changeset/commands.ts · 105 LOC channels-changeset/comma… src/vs/platform/agentHost/common/state/protocol/channels-chat/commands.ts · 147 LOC channels-chat/commands.t… src/vs/platform/agentHost/common/state/protocol/channels-resource-watch/state.ts · 73 LOC channels-resource-watch/… src/vs/platform/agentHost/common/state/protocol/channels-session/commands.ts · 323 LOC channels-session/command… src/vs/platform/agentHost/common/state/protocol/commands.ts · 15 LOC protocol/commands.ts src/vs/platform/agentHost/common/state/protocol/common/commands.ts · 1071 LOC common/commands.ts src/vs/platform/agentHost/common/state/protocol/common/errors.ts · 215 LOC common/errors.ts src/vs/platform/agentHost/common/state/protocol/errors.ts · 9 LOC protocol/errors.ts src/vs/platform/agentHost/common/state/sessionProtocol.ts · 148 LOC state/sessionProtocol.ts src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts · 4663 LOC copilot/copilotAgentSess… src/vs/platform/agentHost/node/copilot/sandboxConfigForSdk.ts · 156 LOC copilot/sandboxConfigFor… src/vs/platform/configuration/common/configuration.ts · 358 LOC common/configuration.ts src/vs/platform/instantiation/common/instantiation.ts · 130 LOC common/instantiation.ts src/vs/platform/networkFilter/common/settings.ts · 21 LOC common/settings.ts src/vs/platform/sandbox/common/settings.ts · 46 LOC common/settings.ts src/vs/platform/telemetry/common/telemetry.ts · 119 LOC common/telemetry.ts 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=1 charCode.test|title=Char… 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=1 path.test|title=Paths (N… 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=1 uri.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=1 uri.test|title=URI URI#f… copilotAgentSession.test|title=CopilotAgentSession permission handling auto-approves sandboxed-by-default shell command without prompting|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession permission handling auto-approves sandboxed-by-default shell command without prompting|occurrence=1 copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request permissions: Autopilot with Ask When Needed keeps SDK approval mode off|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession permission handling per-request permissions: Autopilot with Ask When Needed keeps SDK approval mode off|occurrence=1 copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: applies the configured policy under default approvals|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: applies the configured policy under default approvals|occurrence=1 copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under global auto-approve|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under global auto-approve|occurrence=1 copilotAgentSession.test… copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under session bypass approvals|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/copilotAgentSession.test|title=CopilotAgentSession permission handling per-request sandbox: disabled under session bypass approvals|occurrence=1 copilotAgentSession.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk enablement enables sandbox and outbound network for `allowNetwork` on non-Windows platforms|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk enablement enables sandbox and outbound network for `allowNetwork` on non-Windows platforms|occurrence=1 sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk enablement enables sandbox for `on` on non-Windows platforms|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk enablement enables sandbox for `on` on non-Windows platforms|occurrence=1 sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk filesystem policy selects the OS-specific slice from the per-OS filesystem keys|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk filesystem policy selects the OS-specific slice from the per-OS filesystem keys|occurrence=1 sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts drops host lists and keeps outbound closed when sandbox is `on` (host lists disabled on all platforms)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts drops host lists and keeps outbound closed when sandbox is `on` (host lists disabled on all platforms)|occurrence=1 sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts ignores empty host lists|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts ignores empty host lists|occurrence=1 sandboxConfigForSdk.test… sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts ignores host lists when sandbox is `allowNetwork` (allow all)|occurrence=1 · introduced test · mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sandboxConfigForSdk.test|title=buildSandboxConfigForSdk network hosts ignores host lists when sandbox is `allowNetwork` (allow all)|occurrence=1 sandboxConfigForSdk.test… Focused concept · sandboxConfigForSdk.ts ×1 · 1 introduced LOC sandboxConfigForSdk.ts ×…
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.
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
1 test introduced at this concept.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 1 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/platform/agentHost/node/copilot/sandboxConfigForSdk.ts 1 introduced LOC · 1 range
Open complete file
108
: platform === 'darwin'
109
? sandbox [ AgentHostSandboxKey . MacFileSystem ]
111
const fs = ( fsRaw && typeof fsRaw === 'object' ) ? fsRaw as IAgentSandboxFileSystemSetting : {};
112