You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: change session storage to project-local ./.chat-sessions
BREAKING CHANGE: Session storage location changed from ~/agent-conversations
to ./.chat-sessions in current working directory.
Why This Change:
- Context separation - sessions from different projects are now separate
- Project-local - sessions stay with the project they belong to
- Simpler - no configuration needed, predictable behavior
- Team-friendly - sessions can optionally be committed to version control
Implementation:
- Removed save_location from config (no longer configurable)
- Updated SessionManager default to Path.cwd() / ".chat-sessions"
- Simplified ChatLoop - no longer reads save_location from config
- Removed save_location prompts from config wizard
- Updated all documentation (README, CONFIG.md)
- Updated all help text and error messages
- Fixed tests to no longer expect save_location config
Migration:
- Old sessions remain in ~/agent-conversations as markdown files
- No automatic migration - clean break
- Users can manually copy if needed
Files Changed:
- SessionManager: Now uses ./.chat-sessions by default
- ChatConfig: Removed save_location from defaults
- config_wizard: Removed save_location prompts
- display_manager: Updated auto-save message
- chat_loop: Removed save_location config reading
- README.md: Updated session location examples
- docs/CONFIG.md: Updated paths documentation
- Tests: Updated to not expect save_location
Examples:
Before: ~/agent-conversations/ (global, configured)
After: ./.chat-sessions/ (project-local, fixed)
All tests passing (318 passed, 13 skipped)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
**Note:** Conversation sessions are now saved to `./.chat-sessions/` in the current working directory (project-local, not configurable). This provides context separation - sessions from different projects are kept separate.
0 commit comments