feat: 升级至 v0.3.13 — 任务管理系统重构(删除 todo_write + IPC 越权防护 + UI 自动刷新)

This commit is contained in:
2026-07-21 17:01:15 +08:00
parent 058ee2de36
commit f640c9b48a
13 changed files with 114 additions and 280 deletions
+4 -1
View File
@@ -308,8 +308,11 @@ interface MetonaTasksAPI {
priority?: string;
assignedTo?: string;
},
sessionId: string,
) => Promise<{ success: boolean; error?: string }>;
delete: (id: string) => Promise<{ success: boolean; error?: string }>;
delete: (id: string, sessionId: string) => Promise<{ success: boolean; error?: string }>;
// P2v0.3.13: 订阅任务变更事件
onTaskChanged: (callback: (sessionId: string) => void) => () => void;
}
// ===== v0.2.0: Audit API =====