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 af4df19e94
commit 0c8089b1d2
24 changed files with 107 additions and 48 deletions

View File

@@ -4,7 +4,7 @@
* Provides project registry, health tracking, unified activity feed,
* and global concurrency management across all registered projects.
*
* The central database is located at `~/.pi/fusion/fusion-central.db`.
* The central database is located at `~/.fusion/fusion-central.db`.
*
* @example
* ```typescript
@@ -149,7 +149,7 @@ export class CentralCore extends EventEmitter<CentralCoreEvents> {
/**
* Create a CentralCore instance.
* @param globalDir — Directory for central database. Defaults to `~/.pi/fusion/`.
* @param globalDir — Directory for central database. Defaults to `~/.fusion/`.
* Accepts a custom path for testing.
*/
constructor(globalDir?: string) {