feat: 升级至 v0.3.16 — 工单修复 51 项 + 审查修复 30 项(安全加固/适配器/工具系统/数据层/前端)

This commit is contained in:
2026-07-22 10:31:13 +08:00
parent 516d8a728f
commit 2c2ca4a692
43 changed files with 1454 additions and 301 deletions
+8
View File
@@ -175,6 +175,7 @@ interface MetonaAppAPI {
showItemInFolder: (path: string) => Promise<{ success: boolean; error?: string }>;
selectFolder: (defaultPath?: string) => Promise<{ canceled: boolean; path: string }>;
restart: () => Promise<{ success: boolean }>;
reportError: (payload: unknown) => void;
}
// ===== Workspace API =====
@@ -222,6 +223,13 @@ interface MetonaWorkspaceAPI {
inheritFiles: (params: { targetPath: string; sourcePath: string; files: string[] }) =>
Promise<MetonaWorkspaceInheritResult>;
getInfo: () => Promise<MetonaWorkspaceInfo>;
// #51 修复: 校验源数据库完整性(PRAGMA integrity_check
checkDatabaseIntegrity: (sourcePath: string) => Promise<{
success: boolean;
ok?: boolean;
detail?: string;
error?: string;
}>;
}
// ===== Toast API =====