-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Claude code oauth fix #10916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Claude code oauth fix #10916
Conversation
This reverts commit 7f854c0. Restores the Claude Code provider feature that allows using Claude Code OAuth tokens for API access. This includes: - Claude Code API provider and handler - OAuth authentication flow - Streaming client implementation - Rate limit dashboard UI - Settings panel integration - Associated tests Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename project from "Roo Code" to "Klaus Code" across 338 files - Update README.md with fork notice explaining: - Why this fork exists (Claude Code provider removal) - Link to original commit 7f854c0 - Original Roo Code project links preserved - Update package.json: name, publisher, author, repository - Update all i18n locale files with new branding - Update user-facing strings in source code Original Roo Code content preserved below fork notice in README. Technical VS Code identifiers (roo-cline) kept for compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rename all command IDs from roo-cline.* to klaus-code.* - Update view container and view IDs - Update configuration keys - Update menu/submenu IDs - Remove cline-related keywords Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The Klaus Code fork doesn't need the Roo Code public marketing website. Removing apps/web-roo-code and associated CI/CD workflows. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Update all package.json names and dependencies - Update all import statements in source files - Update configuration files (turbo.json, eslint, etc.) - Update GitHub workflows and Docker files - Rename CLI bin from "roo" to "klaus" - Update all test expectations for new configuration keys Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Update all UI strings from "Roo" to "Klaus Code" - Replace all roocode.com URLs with *.tbd placeholders - Update privacy policy, support, community links - Update docs links to docs.tbd - Update community links (Discord, Reddit) - Update API endpoints (app.tbd, api.tbd, clerk.tbd) - Update all localization files Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Change default telemetry setting from "unset" to "disabled" - Update PostHog URL from ph.roocode.com to ph.tbd - Update test to match new support email Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Link DEVELOPMENT.md in README.md fork notice section - Add reference to DEVELOPMENT.md in CLAUDE.md header - Provides clear path for developers to find build instructions Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Anthropic rejects third-party tools when using Claude Code OAuth tokens. This adds an 'oc_' prefix to tool names when sending to the API and strips the prefix from responses, allowing Roo Code tools to work with Claude Code OAuth authentication.
Addresses review feedback: when tool_choice specifies a specific tool (type: 'tool'), the name must also be prefixed to match the prefixed tool names in the tools array.
Review complete. No issues found. The Claude Code OAuth implementation is well-structured with proper PKCE flow, token management, error handling, and comprehensive test coverage. Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
|
Generated with ❤️ by ellipsis.dev |
|
sorry |
cherry pick from #10620
Description
Test Procedure
Pre-Submission Checklist
Screenshots / Videos
Documentation Updates
Additional Notes
Get in Touch