Skip to content

External agents don't work within Dev Containers #45165

@svyatogor

Description

@svyatogor

Reproduction steps

Open zed in a project that has devctoaniers enable and accept to open in the devcontainer. When the project is fully loaded try to open any external agent like claude and gemini.

Current vs. Expected behavior

Internal error: "server shut down unexpectedly"

Zed version and system specs

Zed: v0.218.1+preview.101.ed95a47ba0c05c31c5899f7e898def86c37e12ef (Zed Preview)
OS: macOS 26.0.1
Memory: 36 GiB
Architecture: aarch64

Attach Zed log file

Zed.log
2025-12-18T00:00:20+02:00 INFO  [lsp] (remote server) starting language server process. binary path: "/home/vscode/.local/share/zed/languages/package-version-server/package-version-server-v0.0.10", working directory: "/workspace", args: []
2025-12-18T00:00:21+02:00 INFO  [lsp] (remote server) starting language server process. binary path: "/usr/bin/node", working directory: "/workspace", args: ["/home/vscode/.local/share/zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"]
2025-12-18T00:00:24+02:00 WARN  [agent_servers::acp] agent stderr: the input device is not a TTY
2025-12-18T00:00:27+02:00 INFO  [project::prettier_store] (remote server) Starting prettier at path "/home/vscode/.local/share/zed/prettier"
2025-12-18T00:00:27+02:00 INFO  [lsp] (remote server) starting language server process. binary path: "/usr/bin/node", working directory: "/home/vscode/.local/share/zed/prettier", args: ["/home/vscode/.local/share/zed/prettier/prettier_server.js", "/home/vscode/.local/share/zed/prettier"]
2025-12-18T00:00:27+02:00 INFO  [project::prettier_store] (remote server) Started default prettier in "/home/vscode/.local/share/zed/prettier"
2025-12-18T00:04:04+02:00 WARN  [agent_servers::acp] agent stderr: Spawning Claude Code: /Users/sergeykuleshov/.local/share/mise/installs/node/24.11.0/bin/node /Users/sergeykuleshov/Library/Application Support/Zed/external_agents/claude-code-acp/0.12.6/node_modules/@anthropic-ai/claude-agent-sdk/cli.js --output-format stream-json --verbose --input-format stream-json --permission-prompt-tool stdio --allowedTools mcp__acp__Read,mcp__acp__BashOutput,mcp__acp__KillShell --disallowedTools Read,Write,Edit,Bash,BashOutput,KillShell --mcp-config {"mcpServers":{"acp":{"type":"sdk","name":"acp"}}} --setting-sources user,project,local --permission-mode default --allow-dangerously-skip-permissions --include-partial-messages --session-id 5226a29d-9899-4208-b7f8-52bcb02ddc39
2025-12-18T00:04:47+02:00 WARN  [agent_servers::acp] agent stderr: the input device is not a TTY
2025-12-18T00:04:54+02:00 INFO  [http_client::github_download] (remote server) downloading github artifact from https://github.com/zed-industries/codex-acp/releases/download/v0.7.3/codex-acp-0.7.3-aarch64-unknown-linux-gnu.tar.gz
2025-12-18T00:04:56+02:00 WARN  [agent_servers::acp] agent stderr: the input device is not a TTY

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

Labels

area:dev containersFeedback for Dev Containersfrequency:alwaysBug that happens for everyone on every platform no matter how they use Zedplatform:remoteRemote development, SSH and zed-remote-serverpriority:P2Average run-of-the-mill bugsstate:needs reproNeeds reproduction steps / someone to reproduce

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions