fix: skip EXTRA_BASE scan when workDir is set

Prevents the agent-runner from scanning all subdirectories of the
project as additionalDirectories, which caused SDK crashes.
This commit is contained in:
Eyejoker
2026-03-11 02:07:28 +09:00
parent cb51ef36f9
commit b748622523
2 changed files with 14 additions and 14 deletions

View File

@@ -130,9 +130,7 @@ function createSchema(database: Database.Database): void {
// Add work_dir column if it doesn't exist (migration for per-group working directory)
try {
database.exec(
`ALTER TABLE registered_groups ADD COLUMN work_dir TEXT`,
);
database.exec(`ALTER TABLE registered_groups ADD COLUMN work_dir TEXT`);
} catch {
/* column already exists */
}