Currently, when starting a new AI session (Claude, Gemini, etc.), the working directory often defaults to the home or project root and does not persist across application restarts.
Proposed Solution:
Add a configuration option in the menu bar to set a "Default Working Directory". This path should be:
- Persisted using
UserDefaults.
- Applied to the
Process environment when spawning CLI shells.
- Validated on startup (ensuring the directory still exists).
Benefits:
Allows users to work on their projects more seamlessly without re-running cd commands in every session.
Currently, when starting a new AI session (Claude, Gemini, etc.), the working directory often defaults to the home or project root and does not persist across application restarts.
Proposed Solution:
Add a configuration option in the menu bar to set a "Default Working Directory". This path should be:
UserDefaults.Processenvironment when spawning CLI shells.Benefits:
Allows users to work on their projects more seamlessly without re-running
cdcommands in every session.