fix: ctx init missing directory + add Initialize Database button to ContextPane

This commit is contained in:
Hibryda 2026-03-08 04:08:36 +01:00
parent d903904d52
commit 957f4c20f6
5 changed files with 164 additions and 10 deletions

View file

@ -20,6 +20,10 @@ export interface CtxSummary {
created_at: string;
}
export async function ctxInitDb(): Promise<void> {
return invoke('ctx_init_db');
}
export async function ctxListProjects(): Promise<CtxProject[]> {
return invoke('ctx_list_projects');
}