docs: refresh anthropic auth mirror refs

This commit is contained in:
Peter Steinberger
2026-04-04 22:07:08 +01:00
parent 9eb3718438
commit 66a0ab3752
9 changed files with 15 additions and 14 deletions

View File

@@ -1495,7 +1495,7 @@ openclaw models auth login --provider anthropic --method cli --set-default
Onboarding shortcut: `openclaw onboard --auth-choice anthropic-cli`
Existing legacy Anthropic token profiles still run if already configured, but
Existing Anthropic OAuth/token profiles still run if already configured, but
OpenClaw no longer offers Anthropic setup-token as a new auth path.
Legacy alias note: `claude-cli` is the deprecated onboarding auth-choice alias.

View File

@@ -255,7 +255,7 @@ OpenClaw ships with the piai catalog. These providers require **no**
- Example model: `anthropic/claude-opus-4-6`
- CLI: `openclaw onboard --auth-choice apiKey` or `openclaw onboard --auth-choice anthropic-cli`
- Direct public Anthropic requests support the shared `/fast` toggle and `params.fastMode`, including API-key and OAuth-authenticated traffic sent to `api.anthropic.com`; OpenClaw maps that to Anthropic `service_tier` (`auto` vs `standard_only`)
- Billing note: Anthropic changed third-party harness billing on **April 4, 2026 at 12:00 PM PT / 8:00 PM BST**. Anthropic says Claude subscription limits no longer cover OpenClaw, and Claude CLI traffic now requires **Extra Usage** billed separately from the subscription.
- Billing note: Anthropic changed third-party harness billing on **April 4, 2026 at 12:00 PM PT / 8:00 PM BST**. Anthropic says Claude subscription limits no longer cover OpenClaw, and Anthropic OAuth/subscription traffic now requires **Extra Usage** billed separately from the subscription.
- Existing legacy Anthropic token profiles still run if already configured, but new setup is no longer offered through onboarding or auth commands.
```json5

View File

@@ -184,8 +184,8 @@ If explicit `auth.order.<provider>` omits a stored profile, probe reports
model can be resolved for that provider, probe reports `status: no_model`.
Auth choice is provider/account dependent. For always-on gateway hosts, API
keys are usually the most predictable; Claude CLI reuse and existing legacy
Anthropic token profiles are also supported.
keys are usually the most predictable; Claude CLI reuse and existing Anthropic
OAuth/token profiles are also supported.
Example (Claude CLI):

View File

@@ -81,8 +81,8 @@ and [Z.AI / GLM Coding Plan](/providers/glm).
</Warning>
OpenClaw no longer offers Anthropic setup-token onboarding or auth commands for
new setup. Existing legacy Anthropic token profiles are still honored at
runtime if they are already configured.
new setup. Existing Anthropic OAuth/token profiles are still honored at runtime
if they are already configured.
The generic token helpers still exist for other providers:
`openclaw models auth setup-token --provider <id>` and

View File

@@ -61,9 +61,9 @@ See [Help](/help) for details on env inheritance (`env.shellEnv`,
## Anthropic: legacy token compatibility
Existing Anthropic token profiles are still honored at runtime if they are
already configured, but OpenClaw no longer offers Anthropic setup-token auth
for new setup via onboarding or `models auth` commands.
Existing Anthropic OAuth/token profiles are still honored at runtime if they
are already configured, but OpenClaw no longer offers Anthropic setup-token
auth for new setup via onboarding or `models auth` commands.
For new setup, use an Anthropic API key or migrate to Claude CLI on the gateway
host.

View File

@@ -178,8 +178,9 @@ This maps to Anthropic's `context-1m-2025-08-07` beta header.
This only applies when `context1m: true` is set on that model entry.
Requirement: the credential must be eligible for long-context usage (API key
billing, or subscription with Extra Usage enabled). If not, Anthropic responds
with `HTTP 429: rate_limit_error: Extra usage is required for long context requests`.
billing, or Anthropic OAuth/subscription auth with Extra Usage enabled). If
not, Anthropic responds with
`HTTP 429: rate_limit_error: Extra usage is required for long context requests`.
If you authenticate Anthropic with OAuth/subscription tokens (`sk-ant-oat-*`),
OpenClaw skips the `context-1m-*` beta header because Anthropic currently

View File

@@ -32,7 +32,7 @@ For a high-level overview, see [Onboarding (CLI)](/start/wizard).
<Step title="Model/Auth">
- **Anthropic API key**: uses `ANTHROPIC_API_KEY` if present or prompts for a key, then saves it for daemon use.
- **Anthropic Claude CLI**: preferred Anthropic assistant choice in onboarding/configure. On macOS onboarding checks Keychain item "Claude Code-credentials" (choose "Always Allow" so launchd starts don't block); on Linux/Windows it reuses `~/.claude/.credentials.json` if present and switches model selection to `claude-cli/...`.
- **Anthropic legacy token profiles**: still honored at runtime if already configured, but onboarding/configure no longer offers Anthropic setup-token as a new setup path.
- **Anthropic OAuth/token profiles**: still honored at runtime if already configured, but onboarding/configure no longer offers Anthropic setup-token as a new setup path.
- **OpenAI Code (Codex) subscription (Codex CLI)**: if `~/.codex/auth.json` exists, onboarding can reuse it. Reused Codex CLI credentials stay managed by Codex CLI; on expiry OpenClaw re-reads that source first and, when the provider can refresh it, writes the refreshed credential back to Codex storage instead of taking ownership itself.
- **OpenAI Code (Codex) subscription (OAuth)**: browser flow; paste the `code#state`.
- Sets `agents.defaults.model` to `openai-codex/gpt-5.4` when model is unset or `openai/*`.

View File

@@ -196,7 +196,7 @@ openclaw onboard --non-interactive \
</AccordionGroup>
Anthropic setup-token is no longer offered as a new onboarding/configure path.
Existing legacy Anthropic token profiles still run if they are already
Existing Anthropic OAuth/token profiles still run if they are already
configured.
## Add another agent

View File

@@ -72,7 +72,7 @@ Onboarding starts with **QuickStart** (defaults) vs **Advanced** (full control).
For non-interactive runs, `--secret-input-mode ref` stores env-backed refs in auth profiles instead of plaintext API key values.
In non-interactive `ref` mode, the provider env var must be set; passing inline key flags without that env var fails fast.
In interactive runs, choosing secret reference mode lets you point at either an environment variable or a configured provider ref (`file` or `exec`), with a fast preflight validation before saving.
For Anthropic, interactive onboarding/configure prefers **Anthropic Claude CLI** first, then **Anthropic API key**. Existing legacy Anthropic token profiles still run if already configured, but new setup is no longer offered through onboarding or auth commands.
For Anthropic, interactive onboarding/configure prefers **Anthropic Claude CLI** first, then **Anthropic API key**. Existing Anthropic OAuth/token profiles still run if already configured, but new setup is no longer offered through onboarding or auth commands.
2. **Workspace** — Location for agent files (default `~/.openclaw/workspace`). Seeds bootstrap files.
3. **Gateway** — Port, bind address, auth mode, Tailscale exposure.
In interactive token mode, choose default plaintext token storage or opt into SecretRef.