feat(pi): add session resume shorthand (#113)

This commit is contained in:
banteg
2026-01-13 05:42:17 +04:00
committed by GitHub
parent c1205cd5a8
commit d4aad8e068
6 changed files with 198 additions and 18 deletions
+3 -2
View File
@@ -30,10 +30,11 @@ Notes:
- Canonical resume line (embedded in chat):
```
`pi --session <path>`
`pi --session <id>`
```
The token is the **session JSONL file path**.
The token is the **short session id**, derived from the first JSON object in the
session file. If the id cannot be read, Takopi falls back to the session file path.
Why not `--resume`?
- `--resume/-r` opens an interactive session picker; it does not accept a