From 6de100d4e213e11f551ec454b6d64ef312f87cee Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 4 Apr 2026 22:11:45 +0100 Subject: [PATCH] docs: refresh claude-cli naming mirrors --- docs/.i18n/glossary.zh-CN.json | 4 ++++ docs/cli/channels.md | 2 +- docs/gateway/authentication.md | 6 +++--- docs/gateway/cli-backends.md | 6 +++--- docs/gateway/doctor.md | 5 +++-- docs/help/testing.md | 4 ++-- docs/providers/index.md | 2 +- docs/providers/models.md | 2 +- 8 files changed, 18 insertions(+), 13 deletions(-) diff --git a/docs/.i18n/glossary.zh-CN.json b/docs/.i18n/glossary.zh-CN.json index 83e7fe67d78..c5e1681d358 100644 --- a/docs/.i18n/glossary.zh-CN.json +++ b/docs/.i18n/glossary.zh-CN.json @@ -67,6 +67,10 @@ "source": "BytePlus (International)", "target": "BytePlus(国际版)" }, + { + "source": "Anthropic (API + Claude CLI)", + "target": "Anthropic(API + Claude CLI)" + }, { "source": "Moonshot AI", "target": "Moonshot AI" diff --git a/docs/cli/channels.md b/docs/cli/channels.md index 440cee73b99..d7256135903 100644 --- a/docs/cli/channels.md +++ b/docs/cli/channels.md @@ -95,7 +95,7 @@ Notes: - Run `openclaw status --deep` for a broad probe. - Use `openclaw doctor` for guided fixes. -- `openclaw channels list` prints `Claude: HTTP 403 ... user:profile` → usage snapshot needs the `user:profile` scope. Use `--no-usage`, or provide a claude.ai session key (`CLAUDE_WEB_SESSION_KEY` / `CLAUDE_WEB_COOKIE`), or re-auth via Claude Code CLI. +- `openclaw channels list` prints `Claude: HTTP 403 ... user:profile` → usage snapshot needs the `user:profile` scope. Use `--no-usage`, or provide a claude.ai session key (`CLAUDE_WEB_SESSION_KEY` / `CLAUDE_WEB_COOKIE`), or re-auth via Claude CLI. - `openclaw channels status` falls back to config-only summaries when the gateway is unreachable. If a supported channel credential is configured via SecretRef but unavailable in the current command path, it reports that account as configured with degraded notes instead of showing it as not configured. ## Capabilities probe diff --git a/docs/gateway/authentication.md b/docs/gateway/authentication.md index c8d41558a3f..a4ea1f77e61 100644 --- a/docs/gateway/authentication.md +++ b/docs/gateway/authentication.md @@ -211,12 +211,12 @@ openclaw models status ### Token expiring/expired -Run `openclaw models status` to confirm which profile is expiring. If a legacy -Anthropic token profile is missing or expired, migrate that setup to Claude CLI +Run `openclaw models status` to confirm which profile is expiring. If an +Anthropic OAuth/token profile is missing or expired, migrate that setup to Claude CLI or an API key. ## Claude CLI requirements Only needed for the Anthropic Claude CLI reuse path: -- Claude Code CLI installed (`claude` command available) +- Claude CLI installed (`claude` command available) diff --git a/docs/gateway/cli-backends.md b/docs/gateway/cli-backends.md index 94453000186..c0a758fa8bf 100644 --- a/docs/gateway/cli-backends.md +++ b/docs/gateway/cli-backends.md @@ -2,7 +2,7 @@ summary: "CLI backends: text-only fallback via local AI CLIs" read_when: - You want a reliable fallback when API providers fail - - You are running Claude Code CLI or other local AI CLIs and want to reuse them + - You are running Claude CLI or other local AI CLIs and want to reuse them - You need a text-only, tool-free path that still supports sessions and images title: "CLI Backends" --- @@ -26,7 +26,7 @@ thread/conversation binding, and persistent external coding sessions, use ## Beginner-friendly quick start -You can use Claude Code CLI **without any config** (the bundled Anthropic plugin +You can use Claude CLI **without any config** (the bundled Anthropic plugin registers a default backend): ```bash @@ -180,7 +180,7 @@ imageMode: "repeat" OpenClaw will write base64 images to temp files. If `imageArg` is set, those paths are passed as CLI args. If `imageArg` is missing, OpenClaw appends the file paths to the prompt (path injection), which is enough for CLIs that auto- -load local files from plain paths (Claude Code CLI behavior). +load local files from plain paths (Claude CLI behavior). ## Inputs / outputs diff --git a/docs/gateway/doctor.md b/docs/gateway/doctor.md index c30c198d66f..12742ac1fca 100644 --- a/docs/gateway/doctor.md +++ b/docs/gateway/doctor.md @@ -306,8 +306,9 @@ Doctor checks: ### 5) Model auth health (OAuth expiry) Doctor inspects OAuth profiles in the auth store, warns when tokens are -expiring/expired, and can refresh them when safe. If the Anthropic Claude Code -profile is stale, it suggests migrating to Claude CLI or an Anthropic API key. +expiring/expired, and can refresh them when safe. If the Anthropic +OAuth/token profile is stale, it suggests migrating to Claude CLI or an +Anthropic API key. Refresh prompts only appear when running interactively (TTY); `--non-interactive` skips refresh attempts. diff --git a/docs/help/testing.md b/docs/help/testing.md index 7ce83a221be..1dc0653b9d1 100644 --- a/docs/help/testing.md +++ b/docs/help/testing.md @@ -244,7 +244,7 @@ openclaw models list openclaw models list --json ``` -## Live: CLI backend smoke (Claude Code CLI or other local CLIs) +## Live: CLI backend smoke (Claude CLI or other local CLIs) - Test: `src/gateway/gateway-cli-backend.live.test.ts` - Goal: validate the Gateway + agent pipeline using a local CLI backend, without touching your default config. @@ -265,7 +265,7 @@ openclaw models list --json - `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_ARG="--image"` to pass image file paths as CLI args instead of prompt injection. - `OPENCLAW_LIVE_CLI_BACKEND_IMAGE_MODE="repeat"` (or `"list"`) to control how image args are passed when `IMAGE_ARG` is set. - `OPENCLAW_LIVE_CLI_BACKEND_RESUME_PROBE=1` to send a second turn and validate resume flow. -- `OPENCLAW_LIVE_CLI_BACKEND_DISABLE_MCP_CONFIG=0` to keep Claude Code CLI MCP config enabled (default injects a temporary strict empty `--mcp-config` so ambient/global MCP servers stay disabled during the smoke). +- `OPENCLAW_LIVE_CLI_BACKEND_DISABLE_MCP_CONFIG=0` to keep Claude CLI MCP config enabled (default injects a temporary strict empty `--mcp-config` so ambient/global MCP servers stay disabled during the smoke). Example: diff --git a/docs/providers/index.md b/docs/providers/index.md index d16e971616f..f06dd0edb66 100644 --- a/docs/providers/index.md +++ b/docs/providers/index.md @@ -27,7 +27,7 @@ Looking for chat channel docs (WhatsApp/Telegram/Discord/Slack/Mattermost (plugi ## Provider docs - [Amazon Bedrock](/providers/bedrock) -- [Anthropic (API + Claude Code CLI)](/providers/anthropic) +- [Anthropic (API + Claude CLI)](/providers/anthropic) - [BytePlus (International)](/concepts/model-providers#byteplus-international) - [Chutes](/providers/chutes) - [Cloudflare AI Gateway](/providers/cloudflare-ai-gateway) diff --git a/docs/providers/models.md b/docs/providers/models.md index 683a5be20b3..7235b5935eb 100644 --- a/docs/providers/models.md +++ b/docs/providers/models.md @@ -24,7 +24,7 @@ model as `provider/model`. ## Supported providers (starter set) -- [Anthropic (API + Claude Code CLI)](/providers/anthropic) +- [Anthropic (API + Claude CLI)](/providers/anthropic) - [Amazon Bedrock](/providers/bedrock) - [BytePlus (International)](/concepts/model-providers#byteplus-international) - [Chutes](/providers/chutes)