Commit Graph

3 Commits

  • Integrate Context-Engine RAG service for enhanced LLM responses
    Backend:
    - Created context-engine/client.ts - HTTP client for Context-Engine API
    - Created context-engine/service.ts - Lifecycle management of Context-Engine sidecar
    - Created context-engine/index.ts - Module exports
    - Created server/routes/context-engine.ts - API endpoints for status/health/query
    
    Integration:
    - workspaces/manager.ts: Trigger indexing when workspace becomes ready (non-blocking)
    - index.ts: Initialize ContextEngineService on server start (lazy mode)
    - ollama-cloud.ts: Inject RAG context into chat requests when available
    
    Frontend:
    - model-selector.tsx: Added Context-Engine status indicator
      - Green dot = Ready (RAG enabled)
      - Blue pulsing dot = Indexing
      - Red dot = Error
      - Hidden when Context-Engine not running
    
    All operations are non-blocking with graceful fallback when Context-Engine is unavailable.
  • fix: restore complete source code and fix launchers
    - Copy complete source code packages from original CodeNomad project
    - Add root package.json with npm workspace configuration
    - Include electron-app, server, ui, tauri-app, and opencode-config packages
    - Fix Launch-Windows.bat and Launch-Dev-Windows.bat to work with correct npm scripts
    - Fix Launch-Unix.sh to work with correct npm scripts
    - Launchers now correctly call npm run dev:electron which launches Electron app