co-mono/packages/coding-agent/docs
Mario Zechner 911963e777 feat(coding-agent): Add --session-dir flag for custom session directory
- Add --session-dir CLI flag to specify custom session directory
- SessionManager API: second param of create(), continueRecent(), list(), open()
  changed from agentDir to sessionDir (direct directory, no cwd encoding)
- When omitted, uses default (~/.pi/agent/sessions/<encoded-cwd>/)
- --session now derives sessionDir from file's parent if --session-dir not provided
- list() validates session header before processing files
- Closes #313

Co-authored-by: scutifer <scutifer@users.noreply.github.com>
2025-12-25 20:27:41 +01:00
..
custom-tools.md Rename /clear to /new, update hook events to before_new/new 2025-12-25 04:15:10 +01:00
hooks-v2.md Fix model selector not showing models with settings.json API keys 2025-12-24 21:23:44 +01:00
hooks.md Rename /clear to /new, update hook events to before_new/new 2025-12-25 04:15:10 +01:00
rpc.md Add before/after session events with cancellation support 2025-12-22 18:18:38 +01:00
sdk.md feat(coding-agent): Add --session-dir flag for custom session directory 2025-12-25 20:27:41 +01:00
session.md Add bash mode for executing shell commands 2025-12-08 22:40:32 +01:00
skills.md feat(coding-agent): add --skills CLI flag for filtering skills 2025-12-21 20:58:54 +01:00
theme.md Improve system prompt docs, clean up theme/skills/hooks docs, fix toolResults type 2025-12-17 21:27:28 +01:00