feat: sleep/wake sessions, --clean flag, active-terminal highlight#10
Merged
Conversation
- Sleep/wake: sessions can be put dormant (PTY torn down, sidebar entry kept) and woken later via the same restore path. - --clean CLI flag: launch with no preloaded sessions; SaveStateAsync no-ops for the run so prior state.json survives untouched. - Active terminal accent ring: highlights the active pane with a 2px border in the session's accent color so it's easy to spot in multi-pane layouts. - Settings: AutoResumeClaude toggle gates the auto --resume injection on session restore. - Layout persistence: hook MainViewModel.Layout property changes so the saved layout actually applies on startup. - TerminalBridge: switch from CoreWebView2Controller.AcceleratorKeyPressed to standard WPF PreviewKeyDown — the newer WebView2 wrapper forwards accelerators through normal key events. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- README: add Sleep & Wake feature line; note AutoResumeClaude is now toggleable; add SSH remote sessions feature line; document --clean flag in build-from-source section. - CLAUDE.md: - Expand --clean section with what each piece (App.CleanStart, OnLoaded, SaveStateAsync) does. - Move active-terminal highlight to its own subsection under Color/Theme with implementation detail (outer-ring Border, Tag-stashed accent). - Rewrite Sleep/Wake section with the full method-by-method implementation map and bypass-CloseCommand rationale. - Update Session Lifecycle to enumerate the three termination paths (close, sleep, wake) instead of just close. - Add Layout persistence subsection explaining the PropertyChanged sync that makes saved layouts actually restore. - Note in TerminalBridge bullet that accelerator keys come via PreviewKeyDown in the newer WebView2 wrapper. - Update Known Conventions: BuildDormantSidebarItem, _dormantSidebarItems, the outer-ring wrapper indirection, and the SaveStateAsync clean-mode contract. Co-Authored-By: Claude Opus 4.7 (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.
Summary
Test plan
🤖 Generated with Claude Code