feat: AI 模型支持 On-Demand Resources 按需下载

- 新增 ODRManager 管理模型资源下载
- EditorView 添加下载进度 UI
- Package.swift 移除内嵌模型资源
- 减小应用包体积约 64MB

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
empty
2026-01-03 22:23:59 +08:00
parent 6e60bea509
commit 64e962b6a4
3 changed files with 287 additions and 5 deletions

View File

@@ -18,9 +18,8 @@ let package = Package(
name: "LivePhotoCore",
dependencies: [],
resources: [
.copy("Resources/metadata.mov"),
// AI Real-ESRGAN x4plus
.process("Resources/RealESRGAN_x4plus.mlmodel")
.copy("Resources/metadata.mov")
// AI On-Demand Resources
]
),
.testTarget(