Commit Graph

6 Commits

Author SHA1 Message Date
GodsBoy
f47467620a fix: show actionable hint when setup-token lacks user:profile scope
When Anthropic setup-token auth is used, the OAuth usage endpoint returns
403 because setup-token only grants user:inference scope, not user:profile.

This change:
1. Returns a clear, actionable error message suggesting `claude login`
   (full OAuth) when the scope error occurs and no web session fallback
   is available, instead of the generic 'HTTP 403: ...' message.
2. Adds a post-onboard note during setup-token flow warning users that
   usage tracking in /status requires the full OAuth flow.
3. Adds a test for the no-fallback scope error path.

Refs:
- https://github.com/anthropics/claude-code/issues/16075
- https://github.com/anthropics/claude-code/issues/15243
- https://github.com/anthropics/claude-code/issues/12020
2026-01-30 13:55:22 +02:00
Peter Steinberger
9a7160786a refactor: rename to openclaw 2026-01-30 03:16:21 +01:00
Peter Steinberger
6d16a658e5 refactor: rename clawdbot to moltbot with legacy compat 2026-01-27 12:21:02 +00:00
Peter Steinberger
fe974f420d chore: standardize Claude Code CLI naming (#915)
Follow-up to #915.
2026-01-14 20:07:35 +00:00
Peter Steinberger
c379191f80 chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
2026-01-14 15:02:19 +00:00
Peter Steinberger
3e0e608110 refactor(infra): split provider usage 2026-01-14 05:40:03 +00:00