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 <noreply@anthropic.com>
main
Elijah Voigt 2 months ago
parent 03caf03a72
commit 7679cfeb36

@ -1,12 +1,14 @@
--- ---
# claudbg-6m2c # claudbg-6m2c
title: 'TUI/filter: token count filter fields' title: 'TUI/filter: token count filter fields'
status: in-progress status: completed
type: feature type: feature
priority: normal priority: normal
created_at: 2026-04-01T06:10:58Z created_at: 2026-04-01T06:10:58Z
updated_at: 2026-04-01T06:19:37Z updated_at: 2026-04-01T06:25:42Z
parent: claudbg-2vwx 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:<int> — tokens in (input tokens)\n- out:<int> — tokens out (output tokens)\n- tokens:<int> — 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. 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:<int> — tokens in (input tokens)\n- out:<int> — tokens out (output tokens)\n- tokens:<int> — 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.

@ -1,11 +1,17 @@
--- ---
# claudbg-8bs3 # claudbg-8bs3
title: 'TUI: color-highlight selected agent row instead of ''>'' cursor' title: 'TUI: color-highlight selected agent row instead of ''>'' cursor'
status: in-progress status: completed
type: feature type: feature
priority: normal priority: normal
created_at: 2026-04-01T06:11:10Z 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. 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.

@ -1,11 +1,11 @@
--- ---
# claudbg-e49f # claudbg-e49f
title: 'TUI: Home/End keys jump to top/bottom of transcript' title: 'TUI: Home/End keys jump to top/bottom of transcript'
status: in-progress status: completed
type: feature type: feature
priority: normal priority: normal
created_at: 2026-04-01T06:11:02Z 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. 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.

@ -1,11 +1,15 @@
--- ---
# claudbg-j9az # claudbg-j9az
title: 'TUI: model column always blank in sessions list' title: 'TUI: model column always blank in sessions list'
status: in-progress status: completed
type: bug type: bug
priority: normal priority: normal
created_at: 2026-04-01T06:10:52Z 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. 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.

@ -1,11 +1,11 @@
--- ---
# claudbg-vqhj # claudbg-vqhj
title: 'TUI: ''/'' key focuses filter/search bar' title: 'TUI: ''/'' key focuses filter/search bar'
status: in-progress status: completed
type: feature type: feature
priority: normal priority: normal
created_at: 2026-04-01T06:10:47Z 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). 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).

Loading…
Cancel
Save