导出 .opentake 自包含工程包(接通 archive 引擎 + 缺失素材报告)#180
Merged
Conversation
… end to end)
Upstream's third export mode ("Palmier Project", ExportMode.palmierProject) was
fully built as opentake_project::archive but reachable by nothing. Wire it:
- export.rs: export_bundle command snapshots the LIVE timeline/manifest/
generation-log (upstream archives live editor state and never saves first —
ExportService.swift:168-197; unsaved project allowed, projectURL nil -> only
external media resolves) and delegates to a testable run_bundle_export seam
(mirrors run_export). DTOs BundleReportDto/MissingMediaDto (camelCase, serde
round-trip tested). Registered in lib.rs.
- core.rs: AppCore::generation_log() snapshot accessor (carried into the bundle
like upstream editor.generationLog).
- ExportDialog: "bundle" mode with the project-name default filename
("<base>.opentake", ExportView.swift:354-356); clean success closes + toast;
MISSING media keeps the dialog open with a danger-styled per-file report
(upstream keep-open comment, ExportView.swift:369-375). api.ts exportBundle()
typed 1:1 against the DTOs. zh/en i18n. 7 new dialog tests.
- tests/bundle_export_integration.rs: temp-dir end-to-end (present media
collected into media/, missing reported, project.json/media.json written).
Prior agent died on a 503 mid-work; its partial Rust (DTOs + command body +
generation_log accessor) was verified and completed (registration, seam, tests,
frontend were missing).
Gates: fmt/clippy -D warnings clean; cargo test --workspace 1372; pnpm build
clean; pnpm test 330.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
上游第三导出模式 ExportMode.palmierProject 的端到端接线:archive.rs 引擎已建成但零调用。export_bundle 命令快照活状态(上游从不先保存,未保存工程允许导出)+ 可测 seam + camelCase DTO serde 测试 + ExportDialog bundle 模式(缺失素材时按上游 keep-open 逻辑留在对话框展示逐文件报告)+ temp-dir 集成测试。前一 agent 503 中断,残留已核验补完。门禁:workspace 1372 + web 330 全绿。