Show recent sessions in the agent command center - #42104
Merged
copyberry[bot] merged 1 commit intoSep 1, 2026
Merged
Conversation
## 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
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef
branch
from
September 1, 2026 17:29
0a637a0 to
f40e084
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/668068b1594eb24b2ea7faccd0327804b8cd22ef
branch
September 1, 2026 17:30
famulare
temporarily deployed
to
issue-triage
September 1, 2026 17:31 — with
GitHub Actions
Inactive
famulare
temporarily deployed
to
issue-triage
September 1, 2026 17:31 — with
GitHub Actions
Inactive
famulare
temporarily deployed
to
issue-triage
September 1, 2026 17:31 — with
GitHub Actions
Inactive
famulare
temporarily deployed
to
issue-triage
September 1, 2026 17:32 — with
GitHub Actions
Inactive
fullofcaffeine
temporarily deployed
to
issue-triage
September 1, 2026 17:33 — with
GitHub Actions
Inactive
fullofcaffeine
temporarily deployed
to
issue-triage
September 1, 2026 17:33 — with
GitHub Actions
Inactive
fullofcaffeine
temporarily deployed
to
issue-triage
September 1, 2026 17:33 — with
GitHub Actions
Inactive
fullofcaffeine
temporarily deployed
to
issue-triage
September 1, 2026 17:34 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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
recency_attoupdated_atwhen 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.