[BUG] Reopening stale agent: [worker crashed (exit 1 — exit_with_message) — respawning…]

Open 💬 0 comments Opened Jul 9, 2026 by welfvh

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Getting this every single time i open a stale agent session:

^[[ISession b4206542-c946-4203-a297-6520695203a7 is currently running as a background agent (bg). Use claude agents to find and attach to it, or add --fork-session to branch off a copy.

[worker crashed (exit 1 — exit_with_message) — respawning…]

What Should Happen?

just open the agent session without crashing

Error Messages/Logs

Steps to Reproduce

  1. open stale agent from agent list
  2. crash out

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

1.0.123

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗