feat(#16): uteke-core HTTP integration — semantic search + auto-linking - #47
Conversation
…g, model path resolution - Add uteke_client.rs: HTTP client for uteke-serve API - Add 6 new Tauri commands: uteke_server_status, uteke_recall, uteke_remember, uteke_forget, uteke_server_graph, uteke_server_stats - Add reqwest dependency (rustls-tls, no OpenSSL) - AppState: add uteke_client field (Option<UtekeClient>) - Config: resolve_model_dir() — reuse ~/.uteke/models/ or ~/.codecora/uteke/models/ - Frontend: utekeServer IPC wrappers - Dashboard: server status badge + semantic search indicator - MemoryList: semantic search fallback (vector + FTS5 hybrid) - Settings: Uteke server connection status panel - GraphView: fix null safety + use local ref for data
…g, model path resolution - Add uteke_client.rs: HTTP client for uteke-serve API - Add 6 new Tauri commands: uteke_server_status, uteke_recall, uteke_remember, uteke_forget, uteke_server_graph, uteke_server_stats - Add reqwest dependency (rustls-tls, no OpenSSL) - AppState: add uteke_client field (Option<UtekeClient>) - Config: resolve_model_dir() — reuse ~/.uteke/models/ or ~/.codecora/uteke/models/ - Frontend: utekeServer IPC wrappers - Dashboard: server status badge + semantic search indicator - MemoryList: semantic search fallback (vector + FTS5 hybrid) - Settings: Uteke server connection status panel - GraphView: fix null safety + use local ref for data Cora review fixes: clone client outside mutex lock, URL-encode query params, check HTTP status on all endpoints.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Phase 2 Foundation — Uteke Server Integration
Implements #16 — replaces direct SQLite reads with HTTP API calls to uteke-serve for semantic search, cosine auto-linking, and graph data.
Architecture
What's New
Backend:
uteke_client.rs— HTTP client with 15+ API methods (recall, search, remember, graph, rooms, etc.)uteke_server_status,uteke_recall,uteke_remember,uteke_forget,uteke_server_graph,uteke_server_statsresolve_model_dir()— reuse~/.uteke/models/if Uteke installed, fallback to~/.codecora/uteke/models/Frontend:
utekeServerIPC wrappers inipc.tsSecurity (Cora Review Fixed)
UtekeClientoutside mutex lock (no held lock during HTTP).query()(no string interpolation)Model Path Resolution
~/.uteke/models/embeddinggemma-q4/— reuse Uteke (no dup download)~/.codecora/uteke/models/embeddinggemma-q4/— standalone copyTesting