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
This commit is contained in:
2026-07-24 20:19:47 +08:00
parent 299f58e883
commit 5951aca086
38 changed files with 12107 additions and 1666 deletions

View File

@@ -10,10 +10,22 @@ export default defineConfig({
}
},
server: {
host: '0.0.0.0',
port: 5173,
strictPort: true,
allowedHosts: [
'studio.momentry.ddns.net',
'localhost',
'127.0.0.1',
'.ddns.net'
],
proxy: {
'/api': {
'/api/v1': {
target: 'http://localhost:8888',
changeOrigin: true,
},
'/api/v2': {
target: 'http://localhost:11438',
changeOrigin: true
}
}