Skip to content

fix(cli): clarify Anthropic hint to Claude Pro/Max#15973

Open
hashemirafsan wants to merge 1 commit intoanomalyco:devfrom
hashemirafsan:fix/anthropic-provider-hint
Open

fix(cli): clarify Anthropic hint to Claude Pro/Max#15973
hashemirafsan wants to merge 1 commit intoanomalyco:devfrom
hashemirafsan:fix/anthropic-provider-hint

Conversation

@hashemirafsan
Copy link

@hashemirafsan hashemirafsan commented Mar 4, 2026

Issue for this PR

Closes #15975

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The Anthropic provider hint in the CLI currently says Claude Max or API key, which is incomplete and can mislead users into thinking only Max is supported.

This PR updates that hint to Claude Pro/Max or API key in both CLI entry points:

  • packages/opencode/src/cli/cmd/auth.ts
  • packages/opencode/src/cli/cmd/tui/component/dialog-provider.tsx

Why this works:

  • The auth flow supports Pro/Max and API-key paths.
  • Updating the hint makes provider selection copy accurate before method selection.
  • This is a copy-only change and does not alter auth behavior.

How did you verify your code works?

  • Verified both updated strings in the changed files.
  • Confirmed there are no remaining Claude Max or API key matches in packages/opencode/src.
  • Confirmed the change scope is copy-only (2 lines in 2 files).

Screenshots / recordings

N/A (CLI text-only copy change)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Mar 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions bot added needs:issue and removed needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Mar 4, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

IgorTavcar added a commit to IgorTavcar/opencode that referenced this pull request Mar 4, 2026
Cherry-picked from upstream PR anomalyco#15973.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: Anthropic provider hint says Claude Max but flow supports Pro/Max

1 participant