feat(tui): session resume — /resume command, exit hint, and dsh --resume <id>

Squashes feat/tui-resume-command, fix/tui-resume-desc, and
feat/tui-resume-flag.
This commit is contained in:
Turtle
2026-07-22 10:55:19 +08:00
parent 87899ae161
commit 2a5dfb7d35
10 changed files with 206 additions and 35 deletions

View File

@@ -0,0 +1,28 @@
terminal 92x32 buffer=normal length=32 base=0 viewport=0
lifecycle started=1 stopped=0 progress=inactive
title "DSH snapshot"
cursor hidden column=1 viewportRow=9 bufferRow=9
buffer
0| <blank>
1| " Snapshot agent ready. "
style 1-21 fg=bright-black
2| <blank>
3| " Resumable sessions "
style 1-18 fg=bright-blue bold
4| " 2024-01-02 03:04 (current) "
style 1-16 fg=bright-black
style 17-26 fg=green
5| " RESUME_SESSION_ID=main-session dsh "
6| " 2024-01-01 00:00 "
style 1-16 fg=bright-black
7| " RESUME_SESSION_ID=earlier-session dsh "
8| "────────────────────────────────────────────────────────────────────────────────────────────"
style 0-91 dim
9| " "
style 1-1 inverse
10| "────────────────────────────────────────────────────────────────────────────────────────────"
style 0-91 dim
11| "deepseek-v4-flash /workspace/project ↑0 ↓0 tools:collapsed"
style 0-43 dim
style 77-91 dim
12-31| <blank>