Skip to content

Remove Claude auth token helper support#450

Merged
BunsDev merged 4 commits intomainfrom
okcode/94865266
Apr 14, 2026
Merged

Remove Claude auth token helper support#450
BunsDev merged 4 commits intomainfrom
okcode/94865266

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 14, 2026

Summary

  • Remove claudeAuthTokenHelperCommand from shared contracts, app settings, provider selection, and settings UI.
  • Update Claude setup copy and diagnostics to require claude auth login instead of API-key or token-helper based auth.
  • Simplify provider availability and install flows so Claude is only selectable when the CLI is installed and authenticated.
  • Update server doctor output to match the new Claude setup guidance.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Updated and adjusted unit coverage for app settings, provider availability, provider contracts, and thread error copy.

- Require `claude auth login` for Claude setup
- Remove helper-command settings, contracts, and picker logic
- Update related error and setup copy
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 14, 2026 6:21am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 14, 2026 6:21am

BunsDev and others added 2 commits April 14, 2026 00:42
- Replace layered atmospheric glows with cleaner grid and edge treatment
- Remove unused section glow and reflection accents from hero/get-started
- Remove helper-command auth token resolution
- Update Claude health checks and settings copy
- Strip Anthropic credential env vars before launch
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes Claude auth token-helper support across contracts and the web app UI, and updates user-facing guidance to require authenticating Claude Code via the CLI (claude auth login).

Changes:

  • Removes Claude token-helper command fields from shared provider start-option contracts and web app settings.
  • Simplifies provider readiness/selection logic so Claude is only selectable when the server reports it ready/authenticated.
  • Updates settings/setup UI copy and server doctor output to align with the claude auth login flow.

Reviewed changes

Copilot reviewed 30 out of 30 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/contracts/src/provider.test.ts Removes token-helper expectations from provider session start parsing tests.
packages/contracts/src/orchestration.ts Removes authTokenHelperCommand from ClaudeProviderStartOptions contract schema.
apps/web/src/routes/_chat.settings.tsx Removes token-helper UI and updates Claude setup/auth guidance copy.
apps/web/src/lib/providerAvailability.ts Removes token-helper override path from provider readiness logic.
apps/web/src/lib/providerAvailability.test.ts Updates readiness tests to reflect Claude no longer selectable via token helper.
apps/web/src/components/chat/threadError.ts Updates Claude login guidance text to claude auth login.
apps/web/src/components/chat/threadError.test.ts Updates tests for revised Claude auth error diagnostics copy.
apps/web/src/components/chat/ProviderSetupCard.tsx Updates Claude provider setup instructions and note.
apps/web/src/components/ChatView.tsx Removes token-helper setting from selectable-provider computation dependencies.
apps/web/src/appSettings.ts Removes token-helper setting and stops emitting it in provider start options.
apps/web/src/appSettings.test.ts Updates app settings defaults and provider start options tests accordingly.
apps/server/src/doctor.ts Updates doctor output to require claude auth login (no env/token-helper mention).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/web/src/routes/_chat.settings.tsx
Comment thread packages/contracts/src/orchestration.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants