[FEATURE] Pre-restart message instead of just dying

Resolved 💬 2 comments Opened Mar 25, 2026 by mnv104 Closed Apr 24, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The restart pattern matches Claude Code's auto-update mechanism — when a new binary is deployed, running sessions detect the version mismatch and restart to pick up the new version. I verified that this was not caused by:

  • OOMs
  • Disk out of space
  • System reboot
  • Kernel issues

Specifically, an auto-update to Claude Code 2.1.78 killed all sessions simultaneously. This appears to be expected behavior when a new version is deployed via RPM. I expect that my sessions should be auto-resumed with
--resume when that thing happens.

Getting dumped out of multiple active sessions with no explanation and no "run claude --resume <session> to pick up where you left off" message is a terrible experience — especially when in the middle of work across several terminals.

Proposed Solution

So my feature asks: please add the following:

  1. Pre-restart message: "Restarting to pick up Claude Code v2.1.78. Your session will auto-resume." (instead of just dying)
  2. Auto-resume actually working (or at minimum, printing the resume command before exiting)
  3. Session ID visible so I don't have to hunt for it

Alternative Solutions

_No response_

Priority

High - Significant impact on productivity

Feature Category

CLI commands and flags

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗