feat(plan): add direct plan exit command

This commit is contained in:
fz
2026-07-23 21:06:03 +08:00
parent 8833fc2b58
commit 8e4f666238
19 changed files with 143 additions and 51 deletions
@@ -1,7 +1,7 @@
terminal 100x36 buffer=normal length=36 base=0 viewport=0
lifecycle started=1 stopped=0 progress=inactive
title "Reply with exactly the word: — DSH TUI snapshot"
cursor hidden column=1 viewportRow=28 bufferRow=28
cursor hidden column=1 viewportRow=33 bufferRow=33
buffer
0| " DEEPSEEK HARNESS"
style 1-8 fg=bright-blue bold
@@ -33,31 +33,38 @@ buffer
style 1-9 fg=bright-magenta bold
15| " ONE "
16| <blank>
17| "▌ "
17| " Leaving plan mode (applies from the next step). "
style 1-47 fg=bright-black
18| <blank>
19| " Context · plan-mode "
style 1-19 dim
20| " The user switched this session back to the default mode. "
style 1-56 fg=bright-black
21| <blank>
22| "▌ "
style 0-0 fg=bright-blue
18| "▌ You "
23| "▌ You "
style 0-0 fg=bright-blue
style 2-4 fg=bright-blue bold
19| "▌ Reply with exactly the word: TWO. No tools. "
24| "▌ Reply with exactly the word: TWO. No tools. "
style 0-0 fg=bright-blue
20| "▌ "
25| "▌ "
style 0-0 fg=bright-blue
21| <blank>
22| " Reasoning "
26| <blank>
27| " Reasoning "
style 1-9 fg=bright-black italic
23| " The user wants me to reply with exactly the word \"TWO\" and no tools. "
28| " The user wants me to reply with exactly the word \"TWO\" and no tools. "
style 1-68 fg=bright-black italic
24| <blank>
25| " Assistant "
29| <blank>
30| " Assistant "
style 1-9 fg=bright-magenta bold
26| " TWO "
27| "────────────────────────────────────────────────────────────────────────────────────────────────────"
31| " TWO "
32| "────────────────────────────────────────────────────────────────────────────────────────────────────"
style 0-99 dim
28| " "
33| " "
style 1-1 inverse
29| "────────────────────────────────────────────────────────────────────────────────────────────────────"
34| "────────────────────────────────────────────────────────────────────────────────────────────────────"
style 0-99 dim
30| "deepseek-v4-flash /workspace/project ↑2.9k ↓41 cache 49% 3% co"
35| "deepseek-v4-flash /workspace/project ↑2.9k ↓41 cache 49% 3% co"
style 0-92 dim
style 95-99 dim
31-35| <blank>