feat(tui): bare /details opens a keyboard selector
DetailsDialog is a centered SelectList over the five transcript-detail states (three tool-card phases, reasoning shown/hidden); it preselects the current phase, marks both current values, applies on Enter, and cancels on Esc/Ctrl+C. Width is the new detailsDialogWidth config key. The argument grammar is unchanged and shares the same setters.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
terminal 100x40 buffer=normal length=40 base=0 viewport=0
|
||||
lifecycle started=1 stopped=0 progress=inactive
|
||||
title "DSH snapshot"
|
||||
cursor hidden column=7 viewportRow=19 bufferRow=19
|
||||
cursor hidden column=7 viewportRow=17 bufferRow=17
|
||||
buffer
|
||||
0| " DEEPSEEK HARNESS"
|
||||
style 1-8 fg=bright-magenta bold
|
||||
@@ -29,17 +29,14 @@ buffer
|
||||
14| "Tool cards hidden. "
|
||||
style 0-17 dim
|
||||
15| <blank>
|
||||
16| "Tool and context cards hidden; reasoning blocks hidden. "
|
||||
style 0-54 dim
|
||||
17| <blank>
|
||||
18| "/workspace/project (tui-staging) deepseek-v4-flash ↑0 ↓0 0% context"
|
||||
16| "/workspace/project (tui-staging) deepseek-v4-flash ↑0 ↓0 0% context"
|
||||
style 0-17 fg=bright-magenta bold
|
||||
style 18-31 dim
|
||||
style 34-50 dim
|
||||
style 53-57 dim
|
||||
style 60-69 dim
|
||||
19| " dsh > "
|
||||
17| " dsh > "
|
||||
style 1-3 fg=bright-magenta bold
|
||||
style 5-6 dim
|
||||
style 7-7 inverse
|
||||
20-39| <blank>
|
||||
18-39| <blank>
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
terminal 100x40 buffer=normal length=40 base=0 viewport=0
|
||||
lifecycle started=1 stopped=0 progress=inactive
|
||||
title "DSH snapshot"
|
||||
cursor hidden column=0 viewportRow=39 bufferRow=39
|
||||
buffer
|
||||
0| " DEEPSEEK HARNESS"
|
||||
style 1-8 fg=bright-magenta bold
|
||||
style 10-16 bold
|
||||
1| " Snapshot agent ready."
|
||||
style 1-21 dim
|
||||
2| " main-session"
|
||||
style 1-12 dim
|
||||
3| <blank>
|
||||
4| "Assistant "
|
||||
style 0-8 fg=bright-magenta bold underline
|
||||
5| "Running the check now. "
|
||||
6| "Model wait 0.0s "
|
||||
style 0-14 dim
|
||||
7| <blank>
|
||||
8| "You "
|
||||
style 0-2 fg=bright-magenta bold underline
|
||||
9| "Inspect the renderer. "
|
||||
10| "Model wait 0.0s · Completed 2026-07-30 18:00:00 "
|
||||
style 0-46 dim
|
||||
11| <blank>
|
||||
12| "Reasoning blocks hidden. "
|
||||
style 0-23 dim
|
||||
13| <blank>
|
||||
14| "Tool cards hidden. "
|
||||
style 0-17 dim
|
||||
15| " ╭ Transcript details ──────────────────────────────────────────────────╮ "
|
||||
style 14-85 fg=bright-magenta
|
||||
16| "/workspace/pro│ Tool cards · collapsed head/tail preview │ "
|
||||
style 0-13 fg=bright-magenta bold
|
||||
style 14-14 fg=bright-magenta
|
||||
style 40-66 dim
|
||||
style 85-85 fg=bright-magenta
|
||||
17| " dsh > │ Tool cards · expanded full bodies │ "
|
||||
style 1-3 fg=bright-magenta bold
|
||||
style 5-6 dim
|
||||
style 7-7 inverse
|
||||
style 14-14 fg=bright-magenta
|
||||
style 39-60 dim
|
||||
style 85-85 fg=bright-magenta
|
||||
18| " │ → Tool cards · hidden conversation only — current │ "
|
||||
style 14-14 fg=bright-magenta
|
||||
style 16-76 fg=bright-magenta inverse
|
||||
style 85-85 fg=bright-magenta
|
||||
19| " │ Reasoning · shown show reasoning blocks │ "
|
||||
style 14-14 fg=bright-magenta
|
||||
style 35-70 dim
|
||||
style 85-85 fg=bright-magenta
|
||||
20| " │ Reasoning · hidden omit reasoning blocks — current │ "
|
||||
style 14-14 fg=bright-magenta
|
||||
style 36-80 dim
|
||||
style 85-85 fg=bright-magenta
|
||||
21| " │ │ "
|
||||
style 14-14 fg=bright-magenta
|
||||
style 85-85 fg=bright-magenta
|
||||
22| " │ ↑/↓ move • Enter apply • Esc cancel │ "
|
||||
style 14-14 fg=bright-magenta
|
||||
style 16-50 dim
|
||||
style 85-85 fg=bright-magenta
|
||||
23| " ╰──────────────────────────────────────────────────────────────────────╯ "
|
||||
style 14-85 fg=bright-magenta
|
||||
24-39| <blank>
|
||||
@@ -29,10 +29,10 @@ buffer
|
||||
12| " "
|
||||
13| "/clear — Clear the transcript view (session history is unchanged) "
|
||||
style 0-64 dim
|
||||
14| "/details [collapsed|expanded|hidden] [reasoning [on|off]] — Show or set tool-card visibility"
|
||||
14| "/details [collapsed|expanded|hidden] [reasoning [on|off]] — Select tool-card visibility and "
|
||||
style 0-91 dim
|
||||
15| "and reasoning display "
|
||||
style 0-20 dim
|
||||
15| "reasoning display "
|
||||
style 0-16 dim
|
||||
16| "/exit — Exit after the active turn reaches idle "
|
||||
style 0-46 dim
|
||||
17| "/help — Show keyboard shortcuts and commands "
|
||||
|
||||
@@ -29,10 +29,10 @@ buffer
|
||||
12| " "
|
||||
13| "/clear — Clear the transcript view (session history is unchanged) "
|
||||
style 0-64 dim
|
||||
14| "/details [collapsed|expanded|hidden] [reasoning [on|off]] — Show or set tool-card visibility"
|
||||
14| "/details [collapsed|expanded|hidden] [reasoning [on|off]] — Select tool-card visibility and "
|
||||
style 0-91 dim
|
||||
15| "and reasoning display "
|
||||
style 0-20 dim
|
||||
15| "reasoning display "
|
||||
style 0-16 dim
|
||||
16| "/exit — Exit after the active turn reaches idle "
|
||||
style 0-46 dim
|
||||
17| "/help — Show keyboard shortcuts and commands "
|
||||
|
||||
Reference in New Issue
Block a user