mirror of
https://github.com/open-jarvis/OpenJarvis.git
synced 2026-07-27 21:05:34 +00:00
* refactor: merge desktop/ into frontend/, eliminate duplicate Tauri scaffolding The project had two overlapping directories: desktop/ (Tauri Rust backend + stale React components) and frontend/ (real React app + dead Tauri stub). This consolidates everything under frontend/: - Move desktop/src-tauri/ → frontend/src-tauri/ (the real 1,720-line Rust backend with Ollama sidecar, backend lifecycle, cloud keys, overlay, etc.) - Preserve 9 old desktop React components in frontend/src/components/Desktop/ (excluded from TS build — APIs have drifted, kept for future integration) - Delete the old frontend/src-tauri/ stub (246 lines, never compiled) - Delete desktop/ entirely - Fix tauri.conf.json frontendDist path (../../frontend/dist → ../dist) - Update CI workflow, bump script, .gitignore, and docs paths - Rename setup/ → Setup/ for consistent PascalCase component directories * feat: add memory UI, settings, and fix memory API routes - Add Memory tab to Data Sources page with stats, search, index path, and manual store functionality - Add Memory section to Settings page with backend picker, context injection toggle, and parameter sliders (top_k, min_score, max_tokens) - Add memory API functions to frontend (getMemoryStats, searchMemory, storeMemory, indexMemoryPath, getMemoryConfig) - Fix backend /v1/memory/* routes to use app-level memory backend instead of creating fresh SQLiteMemory instances per request - Add GET /v1/memory/config and POST /v1/memory/index endpoints - Gracefully handle missing Rust backend (return defaults instead of 500) - Fix nested scroll in Agents Interact tab (use viewport-relative height) * fix: memory API routes, dialog plugin, and UI polish - Fix memory API: use backend.retrieve() not .search(), .count() not .stats() to match actual SQLiteMemory interface - Handle None backend gracefully in index endpoint (503 instead of crash) - Expand ~ in index path (expanduser + resolve) - Install @tauri-apps/plugin-dialog for native folder picker in Tauri - Browse button only shows in Tauri (browser can't get absolute paths) - Redesign Memory tab: proper cards, color-coded search scores, two-column layout for index/store, loading spinners, accent gradient on stats card --------- Co-authored-by: Jon Saad-Falcon <41205309+jonsaadfalcon@users.noreply.github.com>