mirror of
https://github.com/rememberber/MooTool.git
synced 2026-12-01 03:18:19 +08:00
将 Vault/Git/MCP/AI、壳层主题密度、25 工具真实闭环与 desktopTest 638 项及 DIFF-065–471 文档/证据一并纳入仓库,便于持续对齐验收;产品窗 IME/冲突与三平台发行仍待验。 Co-authored-by: Cursor <cursoragent@cursor.com>
710 B
710 B
DIFF-359:JSON Vault 树打开文件前统一 flush
问题
DIFF-356~DIFF-358 已在导入/历史/弹层写入前 flush。Vault 树 打开另一片段仍手写 saveJsonVault(成功时带保存 toast),与 Git 面板/移动等路径的 flushJsonVaultEditorIfDirty(showToast = false)不一致。
行为
VaultTreeList.onOpen:非目录项打开前flushJsonVaultEditorIfDirty;失败则提示并中止;成功则loadJsonVaultSnippet。- 无
currentFile或已保存时 flush 为 no-op(与原先「仅脏时保存」一致)。
验证
./gradlew :composeApp:desktopTest --offline