Add capacity memory controller and smoother TUI streaming

This commit is contained in:
Hunter Bown
2026-02-17 16:09:07 -06:00
parent 87884a1e84
commit 1a04659a95
23 changed files with 2965 additions and 156 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ Responses API (with automatic fallback if needed).
### Crash Recovery + Offline Queue
1. Before sending user input, the TUI writes a checkpoint snapshot to `~/.deepseek/sessions/checkpoints/latest.json`
2. If the process crashes mid-turn, startup restores that checkpoint automatically (unless explicit `--resume` is used)
2. Startup remains fresh by default; prior sessions are resumed explicitly via `--resume`/`--continue` (or `Ctrl+R` in TUI)
3. While degraded/offline, new prompts are queued in-memory and mirrored to `~/.deepseek/sessions/checkpoints/offline_queue.json`
4. Queue edits (`/queue ...`) are persisted continuously so drafts and queued prompts survive restarts
5. Successful turn completion clears the active checkpoint and writes a durable session snapshot