From 6c262acff082f3ef1d06e8ed32fa7cf760b9454e Mon Sep 17 00:00:00 2001 From: Momentry Studio Date: Sun, 14 Jun 2026 13:09:45 +0800 Subject: [PATCH] docs: update AGENTS.md to 15 Tauri commands --- AGENTS.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index cafd817..fb5f8b6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,11 +19,13 @@ cargo tauri build # Full native app build (outputs to src-tauri/target/releas - **All Core API calls go through Rust Tauri commands** — frontend NEVER contacts `localhost:3002` directly. - **Rust proxies to external API**: `CORE_API = http://localhost:3002` (hardcoded in `src-tauri/src/main.rs`). This service must be running for the app to function. - **API key**: Hardcoded in `src-tauri/src/main.rs` only (`API_KEY` constant). -- **Rust entrypoint**: `src-tauri/src/main.rs` — 10 Tauri commands: +- **Rust entrypoint**: `src-tauri/src/main.rs` — 15 Tauri commands: - `search_llm_smart`, `get_files`, `get_people`, `get_faces`, `get_traces` (data APIs) - `get_thumbnail`, `get_identity_profile` (return base64 image strings) - - `get_video_stream` (returns base64 video string) + - `get_video_stream` (returns `file://` URL to temp MP4) - `update_identity_name`, `delete_identity` (identity management) + - `search_identities`, `get_face_candidates` (search) + - `merge_identities`, `bind_face`, `unbind_face` (identity ops) - **Frontend routes**: `/search`, `/library`, `/people` (redirect `/` → `/search`) - **Frontend entry**: `src/main.ts` → `src/App.vue` → `src/router/index.ts`