feat(KB-336): rename data directory from .kb to .fusion
- Rename data directory from .kb to .fusion across core, CLI, dashboard, and engine - Update all path references in source files, tests, and CLI output - Remove deprecated central-core infrastructure (central-core, central-db, central-integration) - Remove obsolete test files (PlanningModeModal.test.tsx, ScheduleForm.test.tsx) - Add changeset for the directory rename breaking change
This commit is contained in:
@@ -253,7 +253,7 @@ export class Database {
|
||||
constructor(private kbDir: string) {
|
||||
this.dbPath = join(kbDir, "kb.db");
|
||||
|
||||
// Ensure .kb directory exists
|
||||
// Ensure .fusion directory exists
|
||||
if (!existsSync(kbDir)) {
|
||||
mkdirSync(kbDir, { recursive: true });
|
||||
}
|
||||
@@ -466,7 +466,7 @@ export class Database {
|
||||
/**
|
||||
* Create a new Database instance (does NOT initialize schema).
|
||||
* Callers must call `db.init()` separately.
|
||||
* @param kbDir - Path to the `.kb` directory (e.g., `/path/to/project/.kb`)
|
||||
* @param kbDir - Path to the `.fusion` directory (e.g., `/path/to/project/.fusion`)
|
||||
* @returns Database instance (not yet initialized)
|
||||
*/
|
||||
export function createDatabase(kbDir: string): Database {
|
||||
|
||||
Reference in New Issue
Block a user