feat: add Tauri desktop app support and terminal management

This commit is contained in:
Mohamed Boudra
2026-01-20 10:09:35 +07:00
parent 12f617dd10
commit d9c487dd54
125 changed files with 8906 additions and 1049 deletions
+5 -1
View File
@@ -155,6 +155,7 @@ function parseTask(content: string): Task {
created: getValue("created") || new Date().toISOString(),
assignee: assignee || undefined,
priority,
raw: content,
};
}
@@ -387,10 +388,13 @@ export class FileTaskStore implements TaskStore {
created: new Date().toISOString(),
assignee: opts?.assignee,
priority: opts?.priority,
raw: "", // will be set after serialization
};
await this.writeTask(task);
return task;
// Re-read to get the raw content
const saved = await this.get(task.id);
return saved!;
}
async update(