feat: implement basic file watcher and session updater

This commit is contained in:
Haileyesus
2026-03-25 10:46:08 +03:00
parent f187e22976
commit 3e268e201a
18 changed files with 1448 additions and 377 deletions

View File

@@ -0,0 +1,12 @@
import { getConnection } from '@/shared/database/connection.js';
export const workspaceOriginalPathsDb = {
createWorkspacePath(workspacePath: string): void {
const db = getConnection();
db.prepare(`
INSERT INTO workspace_original_paths (workspace_path)
VALUES (?)
ON CONFLICT(workspace_path) DO NOTHING
`).run(workspacePath);
},
}