-
Notifications
You must be signed in to change notification settings - Fork 6
chore: remove opencode-anthropic-auth external plugin from setup #230
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2862,18 +2862,13 @@ setup_opencode_plugins() { | |
| print_info "See: https://github.com/NoeFabris/opencode-antigravity-auth" | ||
| echo "" | ||
|
|
||
| # Setup Anthropic OAuth plugin (Claude OAuth) | ||
| print_info "Setting up Anthropic OAuth plugin..." | ||
| add_opencode_plugin "opencode-anthropic-auth" "opencode-anthropic-auth@latest" "$opencode_config" | ||
|
|
||
| print_info "Anthropic OAuth plugin enables Claude Pro/Max authentication" | ||
| print_info "Zero cost for Claude subscribers, auto token refresh, beta features" | ||
| print_info "See: https://github.com/anomalyco/opencode-anthropic-auth" | ||
| echo "" | ||
| # Note: opencode-anthropic-auth is built into OpenCode v1.1.36+ | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since 🤖 Was this useful? React with 👍 or 👎 |
||
| # Adding it as an external plugin causes TypeError due to double-loading. | ||
| # Removed in v2.90.0 - see PR #230. | ||
|
|
||
| print_info "After setup, authenticate with: opencode auth login" | ||
| print_info " • For Google OAuth: Select 'Google' → 'OAuth with Google (Antigravity)'" | ||
| print_info " • For Claude OAuth: Select 'Anthropic' → 'Claude Pro/Max'" | ||
| print_info " • For Claude OAuth: Select 'Anthropic' → 'Claude Pro/Max' (built-in)" | ||
|
|
||
| return 0 | ||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While removing the details of the deprecated external plugin is the correct approach, the 'Available models' section contained information that is still valuable to users of the built-in feature. To improve the user experience, consider reintroducing this section with a more generic and maintainable description that doesn't require frequent updates.
This would give users a clear idea of the capabilities they gain without creating a maintenance burden of tracking specific model versions.