Roo-Code/src/shared
George Goranov 56c630ca92
Feature/bedrock embeddings support (#9475)
* feat: add AWS Bedrock support for codebase indexing

- Add bedrock as a new EmbedderProvider type
- Add AWS Bedrock embedding model profiles (titan-embed-text models)
- Create BedrockEmbedder class with support for Titan and Cohere models
- Add Bedrock configuration support to config manager and interfaces
- Update service factory to create BedrockEmbedder instances
- Add comprehensive tests for BedrockEmbedder
- Add localization strings for Bedrock support

Closes #8658

* fix: add missing bedrockOptions to loadConfiguration return type

* Fix various issues that the original PR missed.

* Remove debug logs

* Rename AWS Bedrock -> Amazon Bedrock

* Remove some 'as any's

* Revert README changes

* Add translations

* More translations

* Remove leftover code from a debugging session.

* fix: add bedrock to codebaseIndexModelsSchema and update brace-expansion override

- Add bedrock provider to codebaseIndexModelsSchema type definition to fix empty model dropdown in UI
- Update pnpm override for brace-expansion from '>=2.0.2' to '^2.0.2' to resolve ESM/CommonJS compatibility issues

* Improvements to AWS Bedrock embeddings support

- Enhanced bedrock.ts embedder implementation
- Added comprehensive test coverage in bedrock.spec.ts
- Updated config-manager.ts for better Bedrock configuration handling
- Improved service-factory.ts integration
- Updated embeddingModels.ts with Bedrock models
- Enhanced CodeIndexPopover.tsx UI for Bedrock options
- Added auto-populate test for CodeIndexPopover
- Updated pnpm-lock.yaml dependencies

* Restore openrouter config

* Remove debug log

* Fix config-manager.spec.ts unit test.

* Add translations for "optional"

* Revert unnecessary change related to open ia embedder

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Smartsheet-JB-Brown <jb.brown@smartsheet.com>
2025-11-26 08:58:58 -05:00
..
__tests__ feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
utils fix: create new Requesty profile during OAuth (#8699) 2025-11-02 01:07:16 -04:00
api.ts feat(openai): OpenAI Responses: model-driven prompt caching and generic reasoning options refactor (#9259) 2025-11-14 00:13:49 -05:00
array.ts Initial streaming refactor 2024-10-09 01:49:54 -04:00
browserUtils.ts Browser Use 2.0 (#8941) 2025-11-21 17:26:15 -05:00
checkExistApiConfig.ts refactor: flatten image generation settings structure (#7536) 2025-08-29 18:35:24 -04:00
combineApiRequests.ts Add a new @roo-code/types package and use it everywhere (#3912) 2025-05-26 12:06:45 -07:00
combineCommandSequences.ts Random chat text area cleanup (#7436) 2025-08-26 20:48:24 -07:00
context-mentions.ts fix: restrict @-mention parsing to line-start or whitespace boundaries (#7876) 2025-09-11 19:37:10 -04:00
cost.ts Fix cost and token tracking between provider styles (#8954) 2025-10-31 15:14:29 -04:00
embeddingModels.ts Feature/bedrock embeddings support (#9475) 2025-11-26 08:58:58 -05:00
experiments.ts feat: enable multiple native tool calls per turn with failure guardrails (#9273) 2025-11-25 20:21:13 -05:00
ExtensionMessage.ts Add Roo Code Cloud as an imagegen provider (#9528) 2025-11-24 15:11:35 -05:00
getApiMetrics.ts Fix cost and token tracking between provider styles (#8954) 2025-10-31 15:14:29 -04:00
globalFileNames.ts Use yaml as default custom modes format (#3749) 2025-05-20 16:44:29 -04:00
language.ts feat: Indonesian translation (#4672) 2025-06-13 20:25:05 -04:00
mcp.ts feature: add toggle for disable mcp server tool from prompt (#3551) 2025-06-20 19:14:59 -04:00
modes.ts fix: preserve dynamic MCP tool names in native mode API history (#9559) 2025-11-25 13:16:34 -05:00
package.ts Focus the extension when receiving bridge commands (#7633) 2025-09-03 12:23:50 -07:00
parse-command.ts Move auto-approval from ChatView to Task (#9157) 2025-11-10 17:01:50 -08:00
ProfileValidator.ts feat: Add DeepInfra as a model provider in Roo Code (#7677) 2025-09-04 17:28:45 -04:00
safeJsonParse.ts feat: vertex/gemini prompt caching (#2996) 2025-04-28 15:11:35 -07:00
support-prompt.ts fix: move context condensing prompt to Prompts section (#4924) (#5279) 2025-07-19 22:24:08 -04:00
todo.ts add todo tool (#5182) 2025-07-07 14:07:39 -04:00
tools.ts fix: preserve dynamic MCP tool names in native mode API history (#9559) 2025-11-25 13:16:34 -05:00
vsCodeSelectorUtils.ts Prettier backfill 2025-01-17 14:11:28 -05:00
WebviewMessage.ts Feature/bedrock embeddings support (#9475) 2025-11-26 08:58:58 -05:00