Roo-Code/webview-ui/src/context
Roo Code b4b2463461 feat: add workspace-scoped mode-to-profile overrides
Adds the ability to pin a provider profile to a specific mode on a
per-workspace basis. When switching modes, the system checks workspace-
level overrides first and falls back to global mode-to-profile mappings
if no workspace override exists.

Changes:
- Add workspaceModeApiConfigs to ExtensionState type
- Add setWorkspaceModeApiConfig/clearWorkspaceModeApiConfig message types
- Update ClineProvider.handleModeSwitch to check workspace overrides
- Update ClineProvider.getState to include workspace configs
- Add webview message handler for workspace profile operations
- Add workspace profile pin button to ApiConfigSelector UI
- Add translation keys for new UI elements
- Add tests for workspace mode API config message handling

Closes #12227
2026-04-29 20:02:37 +00:00
..
__tests__ feat: remove Roomote Control from extension (#11271) 2026-02-19 16:33:39 -08:00
ExtensionStateContext.tsx feat: add workspace-scoped mode-to-profile overrides 2026-04-29 20:02:37 +00:00