feat: build session detail view from snapshots and events#21
Merged
Conversation
The macOS Control Center had a live sessions list, but the detail pane still behaved like a placeholder. Operators could not reliably inspect a selected session's current state, plain-text output, and tool activity, and the selection could collapse once a workload left the live list. This change builds the native session detail surface on top of the selected-session read model from the daemon HTTP API. The monitoring store now preserves retained detail for terminal sessions without repeatedly refetching dead workloads, centralizes lifecycle normalization on the selection detail model, and keeps sanitized plain-text event output bounded in memory. The SwiftUI detail pane now renders stable session identity, lifecycle state, metadata, tool activity, and recent plain-text output, with regression coverage for retained-session behavior and event sanitization. Verification: swift test (macos/ControlCenter)
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
Task: ts-d70cf4
Verified with swift test in macos/ControlCenter.