Skip to content

Claude Agent via ACP: scheduled wake-ups never deliver — spinner hangs indefinitely #55025

Description

@daniel-agentee

Reproduction steps

  1. Open Zed, ensure Claude Agent is installed via the ACP Registry (type: registry, claude-acp).
  2. Open the agent panel, start a new Claude Agent thread.
  3. Send: Set a timer for one minute.
  4. Observe: Claude calls a scheduling tool (e.g. ScheduleWakeup with delaySeconds, or CronCreate). The synchronous tool result appears immediately ("Next wakeup scheduled for HH:MM").
  5. Wait until well past the scheduled time (e.g. 90s).

Control: same prompt in standalone claude CLI

Running claude directly in a terminal (same version, same machine, same prompt) the wake-up fires correctly:

  • Bash(date "+%M %H %d %m")30 19 27 04
  • CronCreate(31 19 27 4 *: Timer is up …)Scheduled 3cad393e
  • * Running scheduled task (Apr 27 7:31pm)
  • ⏰ One minute is up.

This isolates the failure to Zed's ACP integration (or the claude-agent-acp adapter) rather than Claude Code itself.

Image Image

Current vs. Expected behavior

Expected: The wake-up fires and Claude posts the follow-up turn ("⏰ One minute is up.") — exactly as it does in the CLI.

Actual: Spinner persists indefinitely. No follow-up turn ever appears in the thread. UI is otherwise responsive.

Zed version and system specs

Zed: v0.233.10+stable.250.350f33871e84d5ed83a403523e9490b9bf014a94 (Zed)
OS: macOS 15.6.1
Memory: 36 GiB
Architecture: aarch64

Attach Zed log file

nothing relevant in here from the time of my repro:

2026-04-27T19:43:37+02:00 ERROR [crates/git_ui/src/git_panel.rs:3512] git store was dropped
2026-04-27T19:43:49+02:00 ERROR [crates/agent_ui/src/agent_panel.rs:155] Error("unknown variant ClaudeCode, expected one of NativeAgent, TextThread, native_agent, Custom, custom", line: 1, column: 44)
2026-04-27T19:43:49+02:00 ERROR [project::context_server_store] Failed to create context server configuration from settings: from extension "Postgres Context Server" version 0.0.5: missing field database_url
2026-04-27T19:44:06+02:00 ERROR [crates/agent_ui/src/agent_panel.rs:155] Error("unknown variant ClaudeCode, expected one of NativeAgent, TextThread, native_agent, Custom, custom", line: 1, column: 44)
2026-04-27T19:44:06+02:00 ERROR [project::context_server_store] Failed to create context server configuration from settings: from extension "Postgres Context Server" version 0.0.5: missing field database_url
2026-04-27T19:44:14+02:00 ERROR [crates/gpui/src/window.rs:1299] window not found
2026-04-27T19:44:14+02:00 ERROR [crates/gpui/src/window.rs:1218] window not found
2026-04-27T19:44:14+02:00 ERROR [crates/gpui/src/window.rs:1291] window not found
2026-04-27T19:44:15+02:00 ERROR [crates/gpui/src/window.rs:1299] window not found
2026-04-27T19:44:15+02:00 ERROR [crates/gpui/src/window.rs:1218] window not found
2026-04-27T19:44:15+02:00 ERROR [crates/gpui/src/window.rs:1284] window not found
2026-04-27T19:44:15+02:00 ERROR [crates/gpui/src/window.rs:1291] window not found
2026-04-27T19:44:29+02:00 INFO [zed] ========== starting zed version 0.233.10+stable.250.350f33871e84d5ed83a403523e9490b9bf014a94, sha 350f338 ==========
2026-04-27T19:44:29+02:00 INFO [crashes] crash signal handlers installed
2026-04-27T19:44:29+02:00 INFO [crashes] spawning crash handler process
2026-04-27T19:44:29+02:00 INFO [zed] Using git binary path: "/Applications/Zed.app/Contents/MacOS/git"
2026-04-27T19:44:29+02:00 INFO [crashes] connected to crash handler process after 100ms
2026-04-27T19:44:29+02:00 INFO [crashes] crash handler registered
2026-04-27T19:44:29+02:00 INFO [extension_host] extensions updated. loading 13, reloading 0, unloading 0
2026-04-27T19:44:29+02:00 INFO [auto_update] Auto Update: checking for updates
2026-04-27T19:44:29+02:00 INFO [workspace] Rendered first frame
2026-04-27T19:44:30+02:00 INFO [agent_ui::agent_panel] last active thread 47d52159-1145-4b5a-baac-4865ee74dcfc is archived or missing, skipping restoration
2026-04-27T19:44:30+02:00 INFO [agent_ui::agent_panel] last active thread 47d52159-1145-4b5a-baac-4865ee74dcfc is archived or missing, skipping restoration
2026-04-27T19:44:30+02:00 INFO [util] set environment variables from shell:/bin/zsh, path:/Users/danielstojanovic/bin/gam7:/Users/danielstojanovic/bin:/Users/danielstojanovic/.bun/bin:/usr/local/opt/icu4c@76/sbin:/usr/local/opt/icu4c@76/bin:/usr/local/opt/postgresql@17/bin:/usr/local/opt/postgresql@16/bin:/usr/local/opt/postgresql@15/bin:/usr/local/opt/postgresql/bin:/Users/danielstojanovic/.nvm/versions/node/v22.16.0/bin:/Users/danielstojanovic/.yarn/bin:/Users/danielstojanovic/.config/yarn/global/node_modules/.bin:/usr/local/bin:/usr/local/bin:/usr/local/opt/python/libexec/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Frameworks/Python.framework/Versions/3.11/bin/:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/danielstojanovic/bin/gam7:/Users/danielstojanovic/bin:/Users/danielstojanovic/.bun/bin:/Users/danielstojanovic/.local/bin:/usr/local/opt/icu4c@76/sbin:/usr/local/opt/icu4c@76/bin:/usr/local/opt/postgresql@17/bin:/usr/local/opt/postgresql@16/bin:/usr/local/opt/postgresql@15/bin:/usr/local/opt/postgresql/bin:/Users/danielstojanovic/.nvm/versions/node/v22.16.0/bin:/Users/danielstojanovic/.yarn/bin:/Users/danielstojanovic/.config/yarn/global/node_modules/.bin:/usr/local/opt/python/libexec/bin:/Library/Frameworks/Python.framework/Versions/3.11/bin:/opt/local/bin:/opt/local/sbin:/Users/danielstojanovic/.cargo/bin:/Applications/Ghostty.app/Contents/MacOS:/Applications/Obsidian.app/Contents/MacOS:/Applications/Obsidian.app/Contents/MacOS:/Applications/Obsidian.app/Contents/MacOS
2026-04-27T19:44:31+02:00 INFO [node_runtime] using Node.js found on PATH: SystemNodeRuntime { node: "/Users/danielstojanovic/.nvm/versions/node/v22.16.0/bin/node", npm: "/Users/danielstojanovic/.nvm/versions/node/v22.16.0/bin/npm", scratch_dir: "/Users/danielstojanovic/Library/Application Support/Zed/node" }
2026-04-27T19:44:31+02:00 ERROR [project::context_server_store] Failed to create context server configuration from settings: from extension "Postgres Context Server" version 0.0.5: missing field database_url
2026-04-27T19:44:32+02:00 INFO [git::repository] opening git repository at "/Users/danielstojanovic/code/agentic-core/.git" using git binary "/usr/local/bin/git"
2026-04-27T19:44:32+02:00 INFO [git::repository] opening git repository at "/Users/danielstojanovic/code/agentic-core/.git" using git binary "/usr/local/bin/git"
2026-04-27T19:44:32+02:00 ERROR [project::context_server_store] Failed to create context server configuration from settings: from extension "Postgres Context Server" version 0.0.5: missing field database_url
2026-04-27T19:44:32+02:00 INFO [git::repository] opening git repository at "/Users/danielstojanovic/code/claire/.git" using git binary "/usr/local/bin/git"
2026-04-27T19:44:32+02:00 INFO [git::repository] opening git repository at "/Users/danielstojanovic/code/claire/.git" using git binary "/usr/local/bin/git"

Relevant Zed settings

  • Zed: 0.233.10+stable.250.350f33871e84d5ed83a403523e9490b9bf014a94
  • Claude Code: 2.1.111
  • OS: macOS
  • Agent registration: claude-acp via ACP Registry (type: "registry")

Relevant Keymap

keymap.json

(for AI issues) Model provider details

  • Provider: Anthropic via Claude Max subscription (Claude Code via ACP)
  • Model Name: Claude Opus 4.7 (1M context, xhigh effort)
  • Mode: Agent Panel
  • Other details: External agent via ACP Registry (claude-acp, type: "registry"). Claude Code v2.1.111. NODE_OPTIONS=--max-old-space-size=2048 set in agent_servers config. MCP servers active: Postgres (disabled at time of repro), Context7, Puppeteer.

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

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai/acpFeedback for Zed's Agent Client Protocolarea:ai/anthropicClaude Code or Anthropic specific issuesmeta:upstreamIssues that affect users but are present upstreamreach:some usersBugs that happen for less than one-third of users, special configurations, rare circumstances, etcseverity:S3Papercuts, minor issues with a clear non-tedious workaround, cosmetic bugs

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions