Skip to content

Show recent sessions in the agent command center - #42104

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef
Sep 1, 2026
Merged

Show recent sessions in the agent command center#42104
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef

Conversation

@copyberry

@copyberry copyberry Bot commented Sep 1, 2026

Copy link
Copy Markdown

Show recent sessions in the agent command center

Why

The agent command center only listed sessions currently loaded by the app server, so completed or otherwise unloaded tasks could not be revisited from the overview.

What changed

  • Seed the overview with up to 20 recent root sessions in addition to loaded sessions, retain discovered sessions for the lifetime of the TUI, and update rows from thread lifecycle notifications.
  • Allow unloaded sessions to be resumed from the overview using the normal working-directory selection and configuration rebuild flow. Explicit runtime permission choices carry across a cold resume, while settings inherited from the previously selected task do not.
  • Fall back from recency_at to updated_at when connected to an older server, and continue showing loaded sessions when recent-history listing is unavailable.

Testing

Added coverage for recent-session discovery and retention, notification races, legacy and failed listing fallbacks, cold-resume working-directory and permission handling, reconnect behavior, and unloaded-session rendering and selection.

## Why

The agent command center only listed sessions currently loaded by the app server, so completed or otherwise unloaded tasks could not be revisited from the overview.

## What changed

- Seed the overview with up to 20 recent root sessions in addition to loaded sessions, retain discovered sessions for the lifetime of the TUI, and update rows from thread lifecycle notifications.
- Allow unloaded sessions to be resumed from the overview using the normal working-directory selection and configuration rebuild flow. Explicit runtime permission choices carry across a cold resume, while settings inherited from the previously selected task do not.
- Fall back from `recency_at` to `updated_at` when connected to an older server, and continue showing loaded sessions when recent-history listing is unavailable.

## Testing

Added coverage for recent-session discovery and retention, notification races, legacy and failed listing fallbacks, cold-resume working-directory and permission handling, reconnect behavior, and unloaded-session rendering and selection.

GitOrigin-RevId: 668068b1594eb24b2ea7faccd0327804b8cd22ef
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef branch from 0a637a0 to f40e084 Compare September 1, 2026 17:29
@copyberry
copyberry Bot merged commit f40e084 into main Sep 1, 2026
24 of 30 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef branch September 1, 2026 17:30
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants