Merge branch 'worktree-agent-afbb9437'

This commit is contained in:
ZacharyZhang-NY committed 2026-03-28 03:26:56 -04:00
commit 2ed952f19c
90 files changed
+270701 -32

No files matched your search

+7
View File
@@ -1182,6 +1182,13 @@ export class AppDatabase {
return row ? { ...row, isPrimary: toBoolean(row.isPrimary) } : null;
}
listWorkspaceLocalPaths(companyId: string): string[] {
const rows = this.db
.prepare("select local_path as localPath from workspaces where company_id = ? and local_path is not null")
.all(companyId) as Array<{ localPath: string }>;
return rows.map((r) => r.localPath).filter(Boolean);
}
getAnyCompanyWorkspace(companyId: string): WorkspaceRecord | null {
const row = this.db
.prepare(