feat: cherry-pick reference features — tool decay, PID liveness, stable collapsed width#1
Open
nguyenvanduocit wants to merge 2 commits into
Open
feat: cherry-pick reference features — tool decay, PID liveness, stable collapsed width#1nguyenvanduocit wants to merge 2 commits into
nguyenvanduocit wants to merge 2 commits into
Conversation
…ok events Sessions are now created exclusively when the bridge sends hook events via Unix socket. Removes filesystem scanning (~/.claude/projects/*.jsonl), FSEventStream watcher, transcript parsing, process-by-CWD fallback, and session save/restore to disk — eliminating ~400 lines of startup complexity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…s, stale subagent cleanup, stable collapsed width Cherry-pick and adapt 7 features from upstream/reference projects (T-011): - Structured tool description display with 2s decay timer (DecayState) - PID liveness check every 30s, mark dead sessions as exited - Click session card to jump to terminal (Button wrap) - Stale subagent cleanup (3min timeout + prompt clear) - Dynamic permission suggestions parsing - Hook exec PID fix (exec replaces bash for correct getppid) - Stable collapsed notch width — remove status-dependent extra padding Also: remove smartSuppress setting, simplify TerminalActivator/TerminalVisibilityDetector, add ToolDescriptionTests, update CLAUDE.md docs. 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.
Summary
DecayState) so text doesn't vanish instantly when tool completespermissionSuggestionsfrom hook eventsexecin bridge for correctgetppid()reportingextrapadding that caused width jitter on state changessmartSuppresssetting, simplifyTerminalActivator/TerminalVisibilityDetectorToolDescriptionTests(15 test cases)Test plan
swift build && swift testpasses🤖 Generated with Claude Code