Skip to content

feat: build session detail view from snapshots and events#21

Merged
baiirun merged 1 commit into
mainfrom
codex/ts-d70cf4-session-detail-view
Mar 15, 2026
Merged

feat: build session detail view from snapshots and events#21
baiirun merged 1 commit into
mainfrom
codex/ts-d70cf4-session-detail-view

Conversation

@baiirun

@baiirun baiirun commented Mar 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • build the macOS session detail pane from the daemon snapshot and events read model
  • preserve selected session detail after a workload exits without repeatedly refetching dead workloads
  • render plain-text session output, tool activity, and add regression coverage for retained-session behavior

Task: ts-d70cf4

Verified with swift test in macos/ControlCenter.

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)
@baiirun
baiirun merged commit 6f8e531 into main Mar 15, 2026
4 checks passed
@baiirun
baiirun deleted the codex/ts-d70cf4-session-detail-view branch March 15, 2026 03:35
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