Skip to content

Terminal context shows the sandboxed command #303713

@alexdima

Description

@alexdima

Noticed in https://vscodeteam.slack.com/archives/C05BHT75R6G/p1774043932267359?thread_ts=1774014675.002839&cid=C05BHT75R6G

<context>
The current date is March 20, 2026.
Terminals:
Terminal: code
Terminal: zsh
Terminal: zsh
Last Command: gs pop
Cwd: /Users/roblou/code/vscode
Exit Code: 0
Terminal: zsh
Terminal: zsh
Terminal: zsh
Terminal: zsh
Terminal: zsh
Terminal: npm: watch:tsc-extension (vscode-copilot-chat)
Terminal: npm: watch:tsc-extension-web (vscode-copilot-chat)
Terminal: npm: watch:tsc-simulation-workbench (vscode-copilot-chat)
Terminal: zsh
Terminal: npm: watch:esbuild (vscode-copilot-chat)
Terminal: Core - Transpile (vscode)
Terminal: Core - Typecheck (vscode)
Terminal: Ext - Build (vscode)
Terminal: zsh
Last Command: ELECTRON_RUN_AS_NODE=1 PATH="$PATH:/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/node_modules/@vscode/ripgrep/bin" TMPDIR="/var/folders/ps/jz4h0kxs5_n_8z67tzzrvzn40000gn/T" "/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Code - Insiders" "/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/node_modules/@anthropic-ai/sandbox-runtime/dist/cli.js" --settings "/var/folders/ps/jz4h0kxs5_n_8z67tzzrvzn40000gn/T/vscode-sandbox-settings-b7a1c209-4531-4ea0-a1e4-87c2f5946ffb.json" -c ' npm run compile-check-ts-native 2>&1 | tail -10'
Cwd: /Users/roblou/code/vscode
Exit Code: 0

</context>

I would have expected:

Last Command: npm run compile-check-ts-native 2>&1 | tail -10

Metadata

Metadata

Assignees

Labels

agent-sandboxbugIssue identified by VS Code Team member as probable bugunreleasedPatch has not yet been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions