feat(tabs): auto-resume previous Claude session on app restart#83
Merged
Conversation
復元セッションの初回起動時に --continue フラグを自動付与し、 前回の Claude Code 会話を再開する機能を実装。 - SessionState に restored フラグを追加 - loadTabs() で復元セッションに restored: true を設定 - startTab() で cli_kind === "claude" かつ restored の場合のみ --continue を注入 - フラグは初回起動で消費され、手動 Stop→Start では付与されない - ユーザーの既存 args に --continue/-c がある場合は重複追加しない Refs #82 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #82
アプリ再起動時に復元された Claude セッションへ
--continueフラグを自動付与し、前回の会話を再開する。SessionStateにrestoredフラグを追加し、初回 PTY 起動時のみ注入・消費する設計。手動 Stop→Start や新規セッションでは付与されず、既存 args との重複チェックも実施。