Roo-Code/packages
Roo Code 2e924c61b3 feat: implement profile-scoped OAuth for OpenAI Codex
Implements profile-scoped OAuth credentials for the OpenAI Codex provider,
enabling users to use different OpenAI accounts for different provider profiles
without manual logout/clearing sessions.

Changes:
- oauth.ts: Add profile-scoped credential storage using profile-specific keys
  - Add Map-based in-memory caching per profile
  - Add de-duplication of concurrent token refresh requests per profile
  - Maintain backward compatibility with legacy global methods
- api.ts: Add apiConfigurationId to ApiHandlerOptions
- openai-codex.ts: Update to use profile-scoped OAuth methods
- webviewMessageHandler.ts: Update sign-in/sign-out/rate-limits handlers
- vscode-extension-host.ts: Add profileId to WebviewMessage and email to ExtensionState
- OpenAICodex.tsx: Add props for email display and profileId
- OpenAICodexRateLimitDashboard.tsx: Add profileId prop
- ClineProvider.ts: Update getStateToPostToWebview to use profile-scoped auth
- ApiOptions.tsx: Pass new props to OpenAICodex component
- webviewMessageHandler.spec.ts: Update tests for profile-scoped methods

Closes #11094
2026-01-30 02:16:59 +00:00
..
build Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
cloud refactor(read_file): Codex-inspired read_file refactor EXT-617 (#10981) 2026-01-29 15:16:32 -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 Remove Merge button from worktrees (#10924) 2026-01-23 16:55:46 -05:00
evals Claude-like cli flags, auth fixes (#10797) 2026-01-16 22:54:24 -08:00
ipc Better IPC error logging (#9727) 2025-12-01 15:02:34 -08:00
telemetry fix(condense): remove custom condensing model option (#10901) 2026-01-22 20:06:04 -05:00
types feat: implement profile-scoped OAuth for OpenAI Codex 2026-01-30 02:16:59 +00:00
vscode-shim Some cleanup in ExtensionHost (#10600) 2026-01-10 02:29:33 -08:00