用户认可新增小阶段 Phase 3.6:Native Package & Link Recovery,要求不要停在 Finder 显示为文件夹、全局链接找不到 documentId 的半成品状态,而是继续把 .mindraw 的 macOS 原生文件体验和链接恢复补上。
0.8.1,用于承载 Phase 3.6 修复。src-tauri/Info.plist,补齐 .mindraw 的 macOS document type / UTI 声明:com.mindraw.documentLSTypeIsPackage = truecom.apple.package 与 public.directorysrc-tauri/tauri.conf.json 的 .mindraw file association。src-tauri/src/lib.rs 中补齐 package 打开链路:RunEvent::Opened 与 macOS kAEOpenDocuments Apple Event 统一进入打开处理。/。NSURL.filePathURL() 兜底解析。documentId 不匹配时,前端提示用户选择 .mindraw 包。resolve_mindraw_link_from_package 校验所选包 documentId 与链接匹配后重新登记并打开。02-P/qa/mindraw-phase36-native-package-check.md。02-P/plan-progress.markdown、CODEGRAPH.md、INDEX.md、03-O/C2.builds/README.md 和 CHANGELOG.md。202fe6ccaacf799ecad74219075df3ffe2be757bImplement Mindraw native package recoveryv0.8.1-Build202606252311/Users/ar/Projects/ExcalidrawX/03-O/C2.builds/releases/Build202606252311/Mindraw_0.8.1_aarch64-Build202606252311.dmgf62ce9ce89665683a1207230d65f92453a5ddf36f771fe3e4ff60b42d5f571d5/Applications/Mindraw.app 替换为 0.8.1 版本并做本机安装版 smoke。npm run test:run -- src/lib/imageDrop.test.ts src/hooks/useMenuHandler.test.ts src/hooks/useKeyboardShortcuts.test.tsx src/lib/documentFormat.test.ts src/lib/obsidianExcalidraw.test.ts src/lib/mindrawDeepLink.test.ts src/store/useStore.test.ts:7 个文件 / 87 个测试通过。cargo test --locked --manifest-path src-tauri/Cargo.toml:37 个测试通过。cargo check --manifest-path src-tauri/Cargo.toml:通过。npm run build:通过,保留既有字体、dialog import 和 chunk size warning。npm run tauri -- build --debug --bundles app:通过。hdiutil verify:Build202606252311 DMG 校验通过。codesign --verify --deep --strict --verbose=2:通过。mdls 新建 .mindraw 包:返回 kMDItemContentType = com.mindraw.document,type tree 包含 com.apple.package、public.directory、com.mindraw.document。open /tmp/mindraw-phase36-installed-cold.mindraw 登记对应 fixture documentId。open -a /Applications/Mindraw.app /tmp/mindraw-phase36-installed-open-a.mindraw 登记对应 fixture documentId。mdoc_18bc569bd7821178_ea25。.mindraw native package / link recovery,不再把 m4c companion app 分发就绪占用为 Phase 3.6;companion app 后移为 Phase 3.7 / backlog。0.8.1 是本轮小修版本,Build202606252311 是对应验收候选包。/Applications/Mindraw.app,无需再为这个可恢复的安装态单独确认;该授权不包含用户画布文件、registry 用户数据或源码删除。.mindraw 包仍未实现。.mindraw 真实 smoke 的稳定自动化仍未补齐。stable-aarch64-apple-darwin 未安装 rustfmt,cargo fmt --manifest-path src-tauri/Cargo.toml -- --check 未能执行。Build202606252311,确认 Finder 里 .mindraw 表现为 package document,双击/open 可打开;旧链接找不到 registry 时选择原始 .mindraw 包恢复。