Roo-Code/src
Roo Code b441e44372 fix: use vscode.env.asExternalUri() for Claude Code OAuth in remote environments
Fixes authentication in remote environments (GitHub Codespaces, etc.) by using
vscode.env.asExternalUri() to dynamically convert the localhost redirect URI
to an externally accessible URL.

Changes:
- Modified startAuthorizationFlow() to accept vscode.env and vscode.Uri.parse
- Uses asExternalUri() to transform localhost:54545/callback to forwarded URL
- Updated buildAuthorizationUrl() and exchangeCodeForTokens() to accept custom redirectUri
- Added tests for custom redirect URI functionality

Fixes #10531
2026-01-09 11:26:11 +00:00
..
__mocks__ Add timeout to OpenAI Compatible Provider Client (#9898) 2025-12-08 17:36:53 -08:00
__tests__ feat: add optional mode field to slash command front matter (#10344) 2025-12-26 17:17:54 -08:00
activate chore: remove human-relay provider (#10388) 2025-12-30 15:38:46 -07:00
api fix: ensure assistant message content is never undefined for Gemini compatibility (#10559) 2026-01-08 20:32:30 -05:00
assets Show the Roo provider on the welcome screen (#8317) 2025-09-25 16:13:04 -04:00
core fix: use vscode.env.asExternalUri() for Claude Code OAuth in remote environments 2026-01-09 11:26:11 +00:00
extension feat: streaming tool stats + token usage throttling (#9926) 2025-12-08 19:40:12 -08:00
i18n [feat] Claude Code Provider Native Tool Calling (#10077) 2025-12-17 12:57:27 -08:00
integrations fix: use vscode.env.asExternalUri() for Claude Code OAuth in remote environments 2026-01-09 11:26:11 +00:00
services feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
shared feat: recursively load .roo/rules and AGENTS.md from subdirectories (#10446) 2026-01-03 15:05:48 -05:00
types feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
utils feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
workers Count tokens worker (#3037) 2025-04-29 12:29:25 -07:00
.gitignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.prettierignore PNPM + Turbo monorepo + Nightly releases (#3407) 2025-05-21 21:01:20 -07:00
.vscodeignore debug: Add ErrorBoundary component for better error handling (#5085) 2025-07-23 08:45:35 -04:00
esbuild.mjs feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
eslint.config.mjs Fix linter errors (#3821) 2025-05-21 23:16:43 -07:00
extension.ts feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.json Changeset version bump (#10558) 2026-01-08 17:49:25 -05:00
package.nls.ca.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.de.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.es.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.fr.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.hi.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.id.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.it.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ja.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ko.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.nl.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.pl.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.pt-BR.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.ru.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.tr.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.vi.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.zh-CN.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
package.nls.zh-TW.json feat(proxy): add debug-mode proxy routing (#10467) 2026-01-06 13:17:50 -07:00
tsconfig.json Move @roo-code/cloud to the Roo-Code repo (#7503) 2025-08-28 11:18:45 -07:00
turbo.json Improve turbo task dependency declarations (#4323) 2025-06-04 09:32:27 -07:00
vitest.config.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00
vitest.setup.ts Show console logging in vitests when the --no-silent flag is set (#7467) 2025-08-28 12:51:21 -04:00