mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 06:04:15 +00:00
feat(coding-agent): add session path toggle and deletion to /resume
This commit is contained in:
parent
d43930c818
commit
26fe048314
6 changed files with 520 additions and 51 deletions
|
|
@ -541,6 +541,10 @@ pi --session /path/to/file.jsonl # Use specific session file
|
|||
pi --session a8ec1c2a # Resume by session ID (partial UUID)
|
||||
```
|
||||
|
||||
In the `/resume` picker:
|
||||
- `Ctrl+P` toggles display of the session `.jsonl` file path
|
||||
- `Ctrl+D` deletes the selected session (inline confirmation; uses `trash` if available and cannot delete the active session)
|
||||
|
||||
**Resuming by session ID:** The `--session` flag accepts a session UUID (or prefix). Session IDs are visible in filenames under `~/.pi/agent/sessions/<project>/` (e.g., `2025-12-13T17-47-46-817Z_a8ec1c2a-5a5f-4699-88cb-03e7d3cb9292.jsonl`). The UUID is the part after the underscore. You can also search by session ID in the `pi -r` picker.
|
||||
|
||||
### Context Compaction
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue