Skip to content

feat(tabs): auto-resume previous Claude session on app restart#84

Merged
liplus-lin-lay merged 1 commit into
mainfrom
82-auto-resume-session
Apr 14, 2026
Merged

feat(tabs): auto-resume previous Claude session on app restart#84
liplus-lin-lay merged 1 commit into
mainfrom
82-auto-resume-session

Conversation

@liplus-lin-lay

Copy link
Copy Markdown
Member

Refs #82
アプリ再起動時に前回のClaude Code会話を自動再開する。復元セッション初回起動時に --continue フラグをCLI引数に注入。

復元セッションの初回起動時に --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>
@liplus-lin-lay liplus-lin-lay merged commit dd8e5ea into main Apr 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant