Skip to content

feat: add --continue flag support for resuming conversations - #9

Merged
hlibkoval merged 5 commits into
mainfrom
feat/continue-flag-support
Jan 11, 2026
Merged

hlibkoval merged 5 commits into
mainfrom
feat/continue-flag-support

Conversation

@hlibkoval

@hlibkoval hlibkoval commented Jan 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add continueLastConversation setting (off by default) with UI toggle
  • First/only opened Claude Code sidebar gets --continue flag to resume last conversation
  • Refactor TerminalProcess to use dependency injection for testability
  • Add ClaudeCommandOptions interface for extensible CLI flag customization

Test plan

  • Build passes (npm run build)
  • Lint passes (npm run lint)
  • 250 tests pass (29 new tests for terminal-process.ts)
  • Manual: Enable setting, open sidebar → verify claude --ide --continue in terminal
  • Manual: Open second tab → verify no --continue flag
  • Manual: Close all, reopen → verify --continue appears again

🤖 Generated with Claude Code

hlibkoval and others added 5 commits January 11, 2026 23:22
- Add `continueLastConversation` setting (off by default) with UI toggle
- First/only opened Claude Code sidebar gets --continue flag
- Refactor TerminalProcess to use dependency injection for testability
- Add ClaudeCommandOptions interface for extensible command customization
- Add 29 tests for terminal-process.ts (83.84% coverage)
- Update test infrastructure to include terminal-process in coverage

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hlibkoval
hlibkoval merged commit 37884ae into main Jan 11, 2026
1 check passed
@hlibkoval
hlibkoval deleted the feat/continue-flag-support branch January 11, 2026 21:39
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