This commit is contained in:
kim
2026-05-09 11:35:33 +09:00
parent a77ee3bdc9
commit 82bda7409e
42 changed files with 1576 additions and 1361 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ export const sqliteTool = {
if (!dbPath) return { success: false, error: 'db_path is required' };
if (!query) return { success: false, error: 'query is required' };
const workspacePath = getWorkspacePath();
const workspacePath = String(args?._workspacePath || args?._workspace || '') || getWorkspacePath();
const resolved = path.isAbsolute(dbPath) ? dbPath : path.resolve(workspacePath, dbPath);
if (!isPathInsideDir(workspacePath, resolved)) {