Commit Graph

3 Commits

Author SHA1 Message Date
407651eead fix: package.json 添加 MOMENTRY_API_KEY 环境变量
**问题:**
- proxy 启动时需要 MOMENTRY_API_KEY
- 未设置导致 panic

**修复:**
- 在 npm scripts 中硬编码 API key
- proxy 和 dev 命令都已添加

**注意:**
- 这是临时解决方案
- 应该使用 .env 文件或系统环境变量
- API key 不应该硬编码

**后续改进:**
- 使用 .env 文件
- 或使用系统环境变量

相关需求: B-2 (API key 环境变量)
2026-10-05 12:16:24 +08:00
5951aca086 feat: frame-based positioning and mark system foundation
Core Changes:
- Fix SearchView to use start_frame/end_frame directly (no time*fps conversion)
- Add hard_delete support to delete_trace API
- VideoPlayer: Main timeline + Mark system foundation
- Proxy: Add local routes for auth, media, identity-matches, cluster-results
- Add .gitignore to exclude build artifacts and dependencies

Design Documents:
- Multi-track Mark system design (.opencode/plans/)
- Video editing positioning standards research

Files Modified:
- src/views/SearchView.vue: Frame positioning, ensureMinDuration (240 frames)
- src/views/PeopleView.vue: batchDeleteGroups with hard_delete
- src/api/index.ts: delete_trace with hard_delete body
- src/components/VideoPlayer.vue: Timeline + Mark UI
- src-tauri/src/proxy.rs: New local routes
- AGENTS.md: Update documentation
2026-07-24 20:19:47 +08:00
79e0a862d4 Initial commit: Momentry Studio v0.1.0 2026-06-13 17:49:02 +08:00