Add paged chat history loading

This commit is contained in:
Federico Jaramillo Martinez
2026-05-07 15:46:08 +02:00
parent 5430a44561
commit eb59f1eb00
42 changed files with 1894 additions and 333 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ export class ProjectService {
const resolved = await realpath(input.path);
const s = await stat(resolved);
if (!s.isDirectory()) throw new Error("Project path must be a directory");
return this.store.add({ name: input.name, path: resolved });
return this.store.add(input.name === undefined ? { path: resolved } : { name: input.name, path: resolved });
}
async requireProject(id: string): Promise<Project> {