mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Re-introduces Roo Code Cloud as an embeddings provider option for codebase indexing. Users authenticated with Roo Code Cloud can use the Roo Code Router to proxy embedding requests without needing a third-party API key. Key changes: - Add "roo" to EmbedderProvider type across all type definitions - Create RooEmbedder class using CloudService session token auth - Update config-manager with roo provider handling and isConfigured() - Wire up RooEmbedder in service-factory - Add roo embedding model profiles (text-embedding-3-small/large) - Add "Roo Code Cloud" option to CodeIndexPopover UI with auth status - Add localization entries for the roo provider - Add comprehensive tests for RooEmbedder, config-manager, and service-factory Bug prevention vs original implementation: - Default provider remains "openai" (NOT "roo") - codebaseIndexEnabled defaults to false (explicit opt-in required) - Uses CloudService.isAuthenticated() for stable auth state checks |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| browser-panel.html | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||