Repository navigation
feat(tui): switch sessions in two keys (C) - #527
Conversation
…up in the store (ENG-1107)
…ake a frame (ENG-1107)
…r rows (ENG-1107)
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b9705cd13e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Configured Alt-digit bindings win over numbered focus; orphan sessions sort with roots; the rail anchors on a focused agent; a prefetched body refreshes the open switcher's rows.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c37ad4614b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4c897c9483
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…answer text on a switch (ENG-1107)
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Change
Section C of the v0.1.11 plan: switch sessions in two keys. Closes ENG-1107.
↳N. An agentwhose parent is not loaded is a session.
Ctrl-T("switch session"),/sessions,/resumeand/agentsopen oneswitcher in the dock: glyph, title,
↳N, age, and the latest answer line,with a few answer lines under the highlighted row. Typing ranks title
prefix, then word prefix, then subsequence, then agent titles
(
Session › agent), then answer text; ties go to the most recent.Tabunfolds a session's agents,
Ctrl-Alists every agent,Ctrl-Ddeletes.The cursor opens on the previous session, so
Ctrl-T Entergoes back, andfalls back to the session when its agent row stops being listed.
Ctrl-^(alsoCtrl-6) swaps to the previous session; rebindable asprevious_sessionintui.ron.when any runs, RECENT for idle and done. Rows show inclusive spend. An agent
gets its own row only when it waits on you or is focused, at most 6, then
+N more. Rows are clickable, andAlt-1…Alt-9focus them.feeds
Ctrl-G,Alt-A/Alt-D,/attentionand the rule.count, picker, navigation key and attention surface.
longer wakes a frame.
Verification
cargo xtask check: passed on b9705cd (1120/1120 tests).roll-up and inclusive spend (
qq-client);Alt-1…9,Ctrl-^/Ctrl-6,previous-session default, ranking order, cursor fallback, audit exclusion
across keys, half-typed answer drop, rail click and stale hit, hidden agent
stream wake, and the 20-agent fanout rail (
qq-tui).sessionsmoved deliberately (agents fold into their session, so8 sessionsbecomes7); newfanoutandswitcherscenes.Known impact
Render bench, interleaved base (
3c22b867) vs head binaries, three pairspinned to CPU 2, 2,000 samples, median of medians. These are over the plan's
5% gate:
switcher_50_open_filter_3_close_cyclepicker_open_close_cyclestreaming_run_on_32kb_delta_to_frameresize_ultra_480x120_full_frameThe switcher and picker costs come from the richer rows (age, answer preview,
ranking). The 32 KB stream and resize scenes don't touch the changed code, so
they are likely noise. Faster: rail with 200 agents and 8 streaming −10.4%,
rail frame −4.1%.
Not in this PR: one-release notices for removed spellings (section D; C
removes none).