Files
pi/packages/coding-agent/src/core
Helmut JanuschkaandMario Zechner 7df89066d9 feat(coding-agent): add session_directory extension event
Adds a session_directory extension event that fires before session manager
creation, allowing extensions to customize the session directory path based
on cwd, git branch, or other context.

- Extensions can return a custom sessionDir in the event handler
- CLI --session-dir flag takes precedence over extension-provided paths
- If multiple extensions return a sessionDir, the last one wins
- Enables implementing branch-based sessions as an extension instead of core feature

This provides the extension point needed to implement git branch-based
session directories without adding the complexity to core.

Closes #1729
2026-03-08 00:19:35 +01:00
..
2026-01-23 15:05:08 +01:00
2026-01-11 23:12:31 +01:00
2026-03-05 22:53:08 +01:00
2025-12-22 19:28:26 +01:00