feat(FN-1644): rename default global data directory from ~/.pi/fusion to ~/.fusion

- Change default global directory from ~/.pi/fusion to ~/.fusion
- Add migration logic to copy existing data from old directory to new location
- Update all core packages (store, settings, central-core, central-db) to use new default path
- Update all documentation references from ~/.pi/fusion to ~/.fusion
- Add test for ~/.pi/fusion migration path with updated mock paths
- Include changeset for @gsxdsm/fusion minor version bump
This commit is contained in:
Fusion
2026-04-15 13:33:27 -07:00
committed by gsxdsm
parent d6681d0dc8
commit e874a3ca06
24 changed files with 107 additions and 48 deletions

View File

@@ -40,7 +40,7 @@ See [docs/storage.md](./docs/storage.md) for the full storage architecture docum
## Multi-Project Support
Fusion supports multiple projects with a central registry at `~/.pi/fusion/fusion-central.db`. Each project has its own SQLite database at `.fusion/fusion.db`. See [docs/multi-project.md](./docs/multi-project.md) for details on:
Fusion supports multiple projects with a central registry at `~/.fusion/fusion-central.db`. Each project has its own SQLite database at `.fusion/fusion.db`. See [docs/multi-project.md](./docs/multi-project.md) for details on:
- CentralCore API and project registration
- Isolation modes (in-process, child-process)
- Global concurrency management
@@ -220,7 +220,7 @@ See [docs/architecture.md](./docs/architecture.md) for the full reference includ
## Settings
fn uses a two-tier settings hierarchy:
- **Global settings** — User preferences in `~/.pi/fusion/settings.json` (theme, models, notifications)
- **Global settings** — User preferences in `~/.fusion/settings.json` (theme, models, notifications)
- **Project settings** — Project-specific settings in `.fusion/config.json` (concurrency, worktrees, commands)
Project settings override global settings. Configure via the dashboard **Settings** modal or `fn settings` CLI.