From 7679cfeb364b0ff78609019cc7ff85682abab145 Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Tue, 31 Mar 2026 23:28:07 -0700 Subject: [PATCH] chore: update beans to completed after toil session - claudbg-j9az: fix model column blank in sessions list - claudbg-vqhj: '/' key focuses filter/search bar - claudbg-8bs3: color-highlight selected agent row - claudbg-e49f: Home/End keys for transcript navigation - claudbg-6m2c: token count filter fields (in:/out:/tokens:) Co-Authored-By: Claude Sonnet 4.6 --- ...laudbg-6m2c--tuifilter-token-count-filter-fields.md | 6 ++++-- ...ui-color-highlight-selected-agent-row-instead-of.md | 10 ++++++++-- ...tui-homeend-keys-jump-to-topbottom-of-transcript.md | 4 ++-- ...--tui-model-column-always-blank-in-sessions-list.md | 8 ++++++-- .../claudbg-vqhj--tui-key-focuses-filtersearch-bar.md | 4 ++-- 5 files changed, 22 insertions(+), 10 deletions(-) diff --git a/.beans/claudbg-6m2c--tuifilter-token-count-filter-fields.md b/.beans/claudbg-6m2c--tuifilter-token-count-filter-fields.md index 480eb93..9d5b6ee 100644 --- a/.beans/claudbg-6m2c--tuifilter-token-count-filter-fields.md +++ b/.beans/claudbg-6m2c--tuifilter-token-count-filter-fields.md @@ -1,12 +1,14 @@ --- # claudbg-6m2c title: 'TUI/filter: token count filter fields' -status: in-progress +status: completed type: feature priority: normal created_at: 2026-04-01T06:10:58Z -updated_at: 2026-04-01T06:19:37Z +updated_at: 2026-04-01T06:25:42Z parent: claudbg-2vwx --- Add token-based filter fields to the filter query language so users can narrow the session list by token usage.\n\nSupported fields and operators:\n- in: — tokens in (input tokens)\n- out: — tokens out (output tokens)\n- tokens: — total tokens (in + out)\n- All three support < and > comparisons (e.g. tokens:>50000, in:<1000)\n\nRequires storing token counts per session in the DB and exposing them via the Filter::matches() path. + +Implemented: added in:, out:, and tokens: filter fields. SessionListItem now carries input_tokens/output_tokens populated from DB. SessionRow trait extended. Help modal updated. diff --git a/.beans/claudbg-8bs3--tui-color-highlight-selected-agent-row-instead-of.md b/.beans/claudbg-8bs3--tui-color-highlight-selected-agent-row-instead-of.md index 92ff9f8..ec01892 100644 --- a/.beans/claudbg-8bs3--tui-color-highlight-selected-agent-row-instead-of.md +++ b/.beans/claudbg-8bs3--tui-color-highlight-selected-agent-row-instead-of.md @@ -1,11 +1,17 @@ --- # claudbg-8bs3 title: 'TUI: color-highlight selected agent row instead of ''>'' cursor' -status: in-progress +status: completed type: feature priority: normal created_at: 2026-04-01T06:11:10Z -updated_at: 2026-04-01T06:15:41Z +updated_at: 2026-04-01T06:16:40Z --- In the sub-agents panel (transcript screen), the currently selected/viewed agent is shown with a '>' prefix and yellow text. Instead, use row-level color highlighting (e.g. reversed or bold style on the full row) so the cursor character is not needed — matching how ratatui Table highlights work.\n\nThe rendering is in the subagent_lines iterator in src/tui/screens/transcript.rs. Replace the '> {short_id} {agent_type}' format with ' {short_id} {agent_type}' and apply a highlight style (e.g. Modifier::REVERSED) to the selected row span instead. + + + +## Summary of Changes + +Replaced '>' prefix + yellow fg on selected/viewing agent row with Modifier::REVERSED on the full span in the subagent_lines iterator (src/tui/screens/transcript.rs). All rows now use ' {short_id} {agent_type}' text; the highlight is conveyed entirely through the reversed video style. diff --git a/.beans/claudbg-e49f--tui-homeend-keys-jump-to-topbottom-of-transcript.md b/.beans/claudbg-e49f--tui-homeend-keys-jump-to-topbottom-of-transcript.md index b0141dc..1141d97 100644 --- a/.beans/claudbg-e49f--tui-homeend-keys-jump-to-topbottom-of-transcript.md +++ b/.beans/claudbg-e49f--tui-homeend-keys-jump-to-topbottom-of-transcript.md @@ -1,11 +1,11 @@ --- # claudbg-e49f title: 'TUI: Home/End keys jump to top/bottom of transcript' -status: in-progress +status: completed type: feature priority: normal created_at: 2026-04-01T06:11:02Z -updated_at: 2026-04-01T06:16:58Z +updated_at: 2026-04-01T06:19:13Z --- Add Home and End key bindings in the transcript screen to complement the existing gg/G vim-style bindings:\n- Home → jump to top of transcript (same as gg)\n- End → jump to bottom of transcript (same as G)\n\nHandle in handle_transcript_event() in src/tui/screens/transcript.rs alongside the existing Char('g')/Char('G') cases. diff --git a/.beans/claudbg-j9az--tui-model-column-always-blank-in-sessions-list.md b/.beans/claudbg-j9az--tui-model-column-always-blank-in-sessions-list.md index 0a0d947..0770d6d 100644 --- a/.beans/claudbg-j9az--tui-model-column-always-blank-in-sessions-list.md +++ b/.beans/claudbg-j9az--tui-model-column-always-blank-in-sessions-list.md @@ -1,11 +1,15 @@ --- # claudbg-j9az title: 'TUI: model column always blank in sessions list' -status: in-progress +status: completed type: bug priority: normal created_at: 2026-04-01T06:10:52Z -updated_at: 2026-04-01T06:12:23Z +updated_at: 2026-04-01T06:13:14Z --- The Model column in the TUI session-list screen is always empty. Root cause: when building SessionListItem in src/tui/run.rs the model field is set to String::new(), and the DB enrichment query (SELECT session_id, project_path, message_count FROM sessions) does not fetch the model column. The model field does exist in the sessions DB table. Fix: add model to the enrichment SELECT and populate item.model during the enrichment loop. + +## Summary of Changes + +Added model to the DB enrichment query in src/tui/run.rs and populated item.model in the enrichment loop. diff --git a/.beans/claudbg-vqhj--tui-key-focuses-filtersearch-bar.md b/.beans/claudbg-vqhj--tui-key-focuses-filtersearch-bar.md index 6dde022..1124cce 100644 --- a/.beans/claudbg-vqhj--tui-key-focuses-filtersearch-bar.md +++ b/.beans/claudbg-vqhj--tui-key-focuses-filtersearch-bar.md @@ -1,11 +1,11 @@ --- # claudbg-vqhj title: 'TUI: ''/'' key focuses filter/search bar' -status: in-progress +status: completed type: feature priority: normal created_at: 2026-04-01T06:10:47Z -updated_at: 2026-04-01T06:13:37Z +updated_at: 2026-04-01T06:15:20Z --- Pressing '/' in the session list or transcript screen should immediately focus the filter/search input, matching the less(1) convention. Currently 't' and Tab are the only bindings that open the filter. The '/' binding should work on both the session-list screen (opens the filter bar) and the transcript screen (opens the search bar).