Roo-Code/packages
Roo Code 44c495da2d feat: add per-workspace API profile selection
Implements per-workspace API profile selection as requested in #8010.
Addresses critical issues from review by @daniel-lxs:

1. Fix: Workspace selection no longer overwrites global config across windows.
   When scope="workspace", only the local cache is updated via setLocalValue(),
   avoiding leaking currentApiConfigName to other windows via shared globalState.

2. Fix: Toggling scope back to Global now clears workspace overrides via
   clearWorkspaceOverrides(), preventing stale workspace state from keeping
   the scope stuck on "workspace".

Backend changes:
- Add ConfigScope type and WorkspaceOverrides schema to ProviderSettingsManager
- Add workspace override methods (getWorkspaceOverrides, storeWorkspaceOverrides,
  clearWorkspaceOverrides, getConfigScope, getActiveProfileName)
- Modify activateProfile and setModeConfig to accept scope parameter
- Modify getModeConfigId to check workspace overrides first
- Add setLocalValue to ContextProxy for cache-only state updates
- Add scope field to WebviewMessage and currentConfigScope to ExtensionState

Frontend changes:
- Add scope toggle UI to ApiConfigSelector with [W] indicator
- Wire scope through ChatTextArea to pass with config changes
- Add i18n translation keys for scope UI elements

Testing:
- Add comprehensive workspace-scoped tests to ProviderSettingsManager.spec.ts
- Update ClineProvider test mocks with getConfigScope method
- All tests passing (175 across 5 test files)

Fixes #8010
2026-02-19 20:28:21 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud chore: remove integration tests (#11598) 2026-02-19 01:16:40 -07:00
config-eslint Upgrade to ESLint 9 + share eslint config across workspaces (#3815) 2025-05-21 21:30:21 -07:00
config-typescript Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
core Add back post-revert bug fixes and features (Step 2) (#11463) 2026-02-13 18:40:28 -05:00
evals Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
ipc feat: add DeleteQueuedMessage IPC command (#11464) 2026-02-18 10:42:48 -07:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types feat: add per-workspace API profile selection 2026-02-19 20:28:21 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00