docs: replace stale claude-sonnet-4-5 with 4-6, normalize Node version, remove stale dates
This commit is contained in:
parent
0b11ee48f8
commit
9f2a01d972
@ -49,7 +49,7 @@ Model note: while many providers/models are supported, for the best experience a
|
|||||||
|
|
||||||
## Install (recommended)
|
## Install (recommended)
|
||||||
|
|
||||||
Runtime: **Node ≥22**.
|
Runtime: **Node 24 (recommended) or Node 22.16+**.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install -g openclaw@latest
|
npm install -g openclaw@latest
|
||||||
@ -62,7 +62,7 @@ OpenClaw Onboard installs the Gateway daemon (launchd/systemd user service) so i
|
|||||||
|
|
||||||
## Quick start (TL;DR)
|
## Quick start (TL;DR)
|
||||||
|
|
||||||
Runtime: **Node ≥22**.
|
Runtime: **Node 24 (recommended) or Node 22.16+**.
|
||||||
|
|
||||||
Full beginner guide (auth, pairing, channels): [Getting started](https://docs.openclaw.ai/start/getting-started)
|
Full beginner guide (auth, pairing, channels): [Getting started](https://docs.openclaw.ai/start/getting-started)
|
||||||
|
|
||||||
|
|||||||
@ -46,7 +46,7 @@ JSON examples:
|
|||||||
"activeMinutes": null,
|
"activeMinutes": null,
|
||||||
"sessions": [
|
"sessions": [
|
||||||
{ "agentId": "main", "key": "agent:main:main", "model": "gpt-5" },
|
{ "agentId": "main", "key": "agent:main:main", "model": "gpt-5" },
|
||||||
{ "agentId": "work", "key": "agent:work:main", "model": "claude-opus-4-5" }
|
{ "agentId": "work", "key": "agent:work:main", "model": "claude-opus-4-6" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@ -7,8 +7,6 @@ title: "Gateway Architecture"
|
|||||||
|
|
||||||
# Gateway architecture
|
# Gateway architecture
|
||||||
|
|
||||||
Last updated: 2026-01-22
|
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
- A single long‑lived **Gateway** owns all messaging surfaces (WhatsApp via
|
- A single long‑lived **Gateway** owns all messaging surfaces (WhatsApp via
|
||||||
|
|||||||
@ -31,7 +31,7 @@ You can optionally specify a different model for compaction summarization via `a
|
|||||||
"agents": {
|
"agents": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"compaction": {
|
"compaction": {
|
||||||
"model": "openrouter/anthropic/claude-sonnet-4-5"
|
"model": "openrouter/anthropic/claude-sonnet-4-6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -255,7 +255,7 @@ See [/providers/kilocode](/providers/kilocode) for setup details.
|
|||||||
### Other bundled provider plugins
|
### Other bundled provider plugins
|
||||||
|
|
||||||
- OpenRouter: `openrouter` (`OPENROUTER_API_KEY`)
|
- OpenRouter: `openrouter` (`OPENROUTER_API_KEY`)
|
||||||
- Example model: `openrouter/anthropic/claude-sonnet-4-5`
|
- Example model: `openrouter/anthropic/claude-sonnet-4-6`
|
||||||
- Kilo Gateway: `kilocode` (`KILOCODE_API_KEY`)
|
- Kilo Gateway: `kilocode` (`KILOCODE_API_KEY`)
|
||||||
- Example model: `kilocode/anthropic/claude-opus-4.6`
|
- Example model: `kilocode/anthropic/claude-opus-4.6`
|
||||||
- MiniMax: `minimax` (`MINIMAX_API_KEY`)
|
- MiniMax: `minimax` (`MINIMAX_API_KEY`)
|
||||||
|
|||||||
@ -388,7 +388,7 @@ Split by channel: route WhatsApp to a fast everyday agent and Telegram to an Opu
|
|||||||
id: "chat",
|
id: "chat",
|
||||||
name: "Everyday",
|
name: "Everyday",
|
||||||
workspace: "~/.openclaw/workspace-chat",
|
workspace: "~/.openclaw/workspace-chat",
|
||||||
model: "anthropic/claude-sonnet-4-5",
|
model: "anthropic/claude-sonnet-4-6",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "opus",
|
id: "opus",
|
||||||
@ -422,7 +422,7 @@ Keep WhatsApp on the fast agent, but route one DM to Opus:
|
|||||||
id: "chat",
|
id: "chat",
|
||||||
name: "Everyday",
|
name: "Everyday",
|
||||||
workspace: "~/.openclaw/workspace-chat",
|
workspace: "~/.openclaw/workspace-chat",
|
||||||
model: "anthropic/claude-sonnet-4-5",
|
model: "anthropic/claude-sonnet-4-6",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "opus",
|
id: "opus",
|
||||||
@ -501,7 +501,7 @@ Notes:
|
|||||||
|
|
||||||
## Per-Agent Sandbox and Tool Configuration
|
## Per-Agent Sandbox and Tool Configuration
|
||||||
|
|
||||||
Starting with v2026.1.6, each agent can have its own sandbox and tool restrictions:
|
Each agent can have its own sandbox and tool restrictions:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
|
|||||||
@ -114,8 +114,8 @@ The provider id becomes the left side of your model ref:
|
|||||||
modelArg: "--model",
|
modelArg: "--model",
|
||||||
modelAliases: {
|
modelAliases: {
|
||||||
"claude-opus-4-6": "opus",
|
"claude-opus-4-6": "opus",
|
||||||
"claude-opus-4-5": "opus",
|
"claude-opus-4-6": "opus",
|
||||||
"claude-sonnet-4-5": "sonnet",
|
"claude-sonnet-4-6": "sonnet",
|
||||||
},
|
},
|
||||||
sessionArg: "--session",
|
sessionArg: "--session",
|
||||||
sessionMode: "existing",
|
sessionMode: "existing",
|
||||||
|
|||||||
@ -35,7 +35,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||||||
},
|
},
|
||||||
agent: {
|
agent: {
|
||||||
workspace: "~/.openclaw/workspace",
|
workspace: "~/.openclaw/workspace",
|
||||||
model: { primary: "anthropic/claude-sonnet-4-5" },
|
model: { primary: "anthropic/claude-sonnet-4-6" },
|
||||||
},
|
},
|
||||||
channels: {
|
channels: {
|
||||||
whatsapp: {
|
whatsapp: {
|
||||||
@ -238,15 +238,15 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||||||
workspace: "~/.openclaw/workspace",
|
workspace: "~/.openclaw/workspace",
|
||||||
userTimezone: "America/Chicago",
|
userTimezone: "America/Chicago",
|
||||||
model: {
|
model: {
|
||||||
primary: "anthropic/claude-sonnet-4-5",
|
primary: "anthropic/claude-sonnet-4-6",
|
||||||
fallbacks: ["anthropic/claude-opus-4-6", "openai/gpt-5.2"],
|
fallbacks: ["anthropic/claude-opus-4-6", "openai/gpt-5.2"],
|
||||||
},
|
},
|
||||||
imageModel: {
|
imageModel: {
|
||||||
primary: "openrouter/anthropic/claude-sonnet-4-5",
|
primary: "openrouter/anthropic/claude-sonnet-4-6",
|
||||||
},
|
},
|
||||||
models: {
|
models: {
|
||||||
"anthropic/claude-opus-4-6": { alias: "opus" },
|
"anthropic/claude-opus-4-6": { alias: "opus" },
|
||||||
"anthropic/claude-sonnet-4-5": { alias: "sonnet" },
|
"anthropic/claude-sonnet-4-6": { alias: "sonnet" },
|
||||||
"openai/gpt-5.2": { alias: "gpt" },
|
"openai/gpt-5.2": { alias: "gpt" },
|
||||||
},
|
},
|
||||||
thinkingDefault: "low",
|
thinkingDefault: "low",
|
||||||
@ -271,7 +271,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
|
|||||||
maxConcurrent: 3,
|
maxConcurrent: 3,
|
||||||
heartbeat: {
|
heartbeat: {
|
||||||
every: "30m",
|
every: "30m",
|
||||||
model: "anthropic/claude-sonnet-4-5",
|
model: "anthropic/claude-sonnet-4-6",
|
||||||
target: "last",
|
target: "last",
|
||||||
directPolicy: "allow", // allow (default) | block
|
directPolicy: "allow", // allow (default) | block
|
||||||
to: "+15555550123",
|
to: "+15555550123",
|
||||||
@ -520,7 +520,7 @@ Only enable direct mutable name/email/nick matching with each channel's `dangero
|
|||||||
agent: {
|
agent: {
|
||||||
workspace: "~/.openclaw/workspace",
|
workspace: "~/.openclaw/workspace",
|
||||||
model: {
|
model: {
|
||||||
primary: "anthropic/claude-sonnet-4-5",
|
primary: "anthropic/claude-sonnet-4-6",
|
||||||
fallbacks: ["anthropic/claude-opus-4-6"],
|
fallbacks: ["anthropic/claude-opus-4-6"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1019,7 +1019,7 @@ Periodic heartbeat runs.
|
|||||||
identifierPolicy: "strict", // strict | off | custom
|
identifierPolicy: "strict", // strict | off | custom
|
||||||
identifierInstructions: "Preserve deployment IDs, ticket IDs, and host:port pairs exactly.", // used when identifierPolicy=custom
|
identifierInstructions: "Preserve deployment IDs, ticket IDs, and host:port pairs exactly.", // used when identifierPolicy=custom
|
||||||
postCompactionSections: ["Session Startup", "Red Lines"], // [] disables reinjection
|
postCompactionSections: ["Session Startup", "Red Lines"], // [] disables reinjection
|
||||||
model: "openrouter/anthropic/claude-sonnet-4-5", // optional compaction-only model override
|
model: "openrouter/anthropic/claude-sonnet-4-6", // optional compaction-only model override
|
||||||
memoryFlush: {
|
memoryFlush: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
softThresholdTokens: 6000,
|
softThresholdTokens: 6000,
|
||||||
|
|||||||
@ -69,11 +69,11 @@ Keep hosted models configured even when running local; use `models.mode: "merge"
|
|||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
model: {
|
model: {
|
||||||
primary: "anthropic/claude-sonnet-4-5",
|
primary: "anthropic/claude-sonnet-4-6",
|
||||||
fallbacks: ["lmstudio/minimax-m2.5-gs32", "anthropic/claude-opus-4-6"],
|
fallbacks: ["lmstudio/minimax-m2.5-gs32", "anthropic/claude-opus-4-6"],
|
||||||
},
|
},
|
||||||
models: {
|
models: {
|
||||||
"anthropic/claude-sonnet-4-5": { alias: "Sonnet" },
|
"anthropic/claude-sonnet-4-6": { alias: "Sonnet" },
|
||||||
"lmstudio/minimax-m2.5-gs32": { alias: "MiniMax Local" },
|
"lmstudio/minimax-m2.5-gs32": { alias: "MiniMax Local" },
|
||||||
"anthropic/claude-opus-4-6": { alias: "Opus" },
|
"anthropic/claude-opus-4-6": { alias: "Opus" },
|
||||||
},
|
},
|
||||||
|
|||||||
@ -308,7 +308,7 @@ This is the “common models” run we expect to keep working:
|
|||||||
|
|
||||||
- OpenAI (non-Codex): `openai/gpt-5.2` (optional: `openai/gpt-5.1`)
|
- OpenAI (non-Codex): `openai/gpt-5.2` (optional: `openai/gpt-5.1`)
|
||||||
- OpenAI Codex: `openai-codex/gpt-5.4`
|
- OpenAI Codex: `openai-codex/gpt-5.4`
|
||||||
- Anthropic: `anthropic/claude-opus-4-6` (or `anthropic/claude-sonnet-4-5`)
|
- Anthropic: `anthropic/claude-opus-4-6` (or `anthropic/claude-sonnet-4-6`)
|
||||||
- Google (Gemini API): `google/gemini-3.1-pro-preview` and `google/gemini-3-flash-preview` (avoid older Gemini 2.x models)
|
- Google (Gemini API): `google/gemini-3.1-pro-preview` and `google/gemini-3-flash-preview` (avoid older Gemini 2.x models)
|
||||||
- Google (Antigravity): `google-antigravity/claude-opus-4-6-thinking` and `google-antigravity/gemini-3-flash`
|
- Google (Antigravity): `google-antigravity/claude-opus-4-6-thinking` and `google-antigravity/gemini-3-flash`
|
||||||
- Z.AI (GLM): `zai/glm-4.7`
|
- Z.AI (GLM): `zai/glm-4.7`
|
||||||
@ -322,7 +322,7 @@ Run gateway smoke with tools + image:
|
|||||||
Pick at least one per provider family:
|
Pick at least one per provider family:
|
||||||
|
|
||||||
- OpenAI: `openai/gpt-5.2` (or `openai/gpt-5-mini`)
|
- OpenAI: `openai/gpt-5.2` (or `openai/gpt-5-mini`)
|
||||||
- Anthropic: `anthropic/claude-opus-4-6` (or `anthropic/claude-sonnet-4-5`)
|
- Anthropic: `anthropic/claude-opus-4-6` (or `anthropic/claude-sonnet-4-6`)
|
||||||
- Google: `google/gemini-3-flash-preview` (or `google/gemini-3.1-pro-preview`)
|
- Google: `google/gemini-3-flash-preview` (or `google/gemini-3.1-pro-preview`)
|
||||||
- Z.AI (GLM): `zai/glm-4.7`
|
- Z.AI (GLM): `zai/glm-4.7`
|
||||||
- MiniMax: `minimax/minimax-m2.5`
|
- MiniMax: `minimax/minimax-m2.5`
|
||||||
|
|||||||
@ -153,7 +153,7 @@ cat > /data/openclaw.json << 'EOF'
|
|||||||
"defaults": {
|
"defaults": {
|
||||||
"model": {
|
"model": {
|
||||||
"primary": "anthropic/claude-opus-4-6",
|
"primary": "anthropic/claude-opus-4-6",
|
||||||
"fallbacks": ["anthropic/claude-sonnet-4-5", "openai/gpt-4o"]
|
"fallbacks": ["anthropic/claude-sonnet-4-6", "openai/gpt-4o"]
|
||||||
},
|
},
|
||||||
"maxConcurrent": 4
|
"maxConcurrent": 4
|
||||||
},
|
},
|
||||||
|
|||||||
@ -12,7 +12,7 @@ Cloudflare AI Gateway sits in front of provider APIs and lets you add analytics,
|
|||||||
|
|
||||||
- Provider: `cloudflare-ai-gateway`
|
- Provider: `cloudflare-ai-gateway`
|
||||||
- Base URL: `https://gateway.ai.cloudflare.com/v1/<account_id>/<gateway_id>/anthropic`
|
- Base URL: `https://gateway.ai.cloudflare.com/v1/<account_id>/<gateway_id>/anthropic`
|
||||||
- Default model: `cloudflare-ai-gateway/claude-sonnet-4-5`
|
- Default model: `cloudflare-ai-gateway/claude-sonnet-4-6`
|
||||||
- API key: `CLOUDFLARE_AI_GATEWAY_API_KEY` (your provider API key for requests through the Gateway)
|
- API key: `CLOUDFLARE_AI_GATEWAY_API_KEY` (your provider API key for requests through the Gateway)
|
||||||
|
|
||||||
For Anthropic models, use your Anthropic API key.
|
For Anthropic models, use your Anthropic API key.
|
||||||
@ -31,7 +31,7 @@ openclaw onboard --auth-choice cloudflare-ai-gateway-api-key
|
|||||||
{
|
{
|
||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
model: { primary: "cloudflare-ai-gateway/claude-sonnet-4-5" },
|
model: { primary: "cloudflare-ai-gateway/claude-sonnet-4-6" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,7 +24,7 @@ openclaw onboard --auth-choice apiKey --token-provider openrouter --token "$OPEN
|
|||||||
env: { OPENROUTER_API_KEY: "sk-or-..." },
|
env: { OPENROUTER_API_KEY: "sk-or-..." },
|
||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
model: { primary: "openrouter/anthropic/claude-sonnet-4-5" },
|
model: { primary: "openrouter/anthropic/claude-sonnet-4-6" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,8 +13,6 @@ If you are setting up for the first time, start with [Getting Started](/start/ge
|
|||||||
For onboarding details, see [Onboarding (CLI)](/start/wizard).
|
For onboarding details, see [Onboarding (CLI)](/start/wizard).
|
||||||
</Note>
|
</Note>
|
||||||
|
|
||||||
Last updated: 2026-01-01
|
|
||||||
|
|
||||||
## TL;DR
|
## TL;DR
|
||||||
|
|
||||||
- **Tailoring lives outside the repo:** `~/.openclaw/workspace` (workspace) + `~/.openclaw/openclaw.json` (config).
|
- **Tailoring lives outside the repo:** `~/.openclaw/workspace` (workspace) + `~/.openclaw/openclaw.json` (config).
|
||||||
@ -23,7 +21,7 @@ Last updated: 2026-01-01
|
|||||||
|
|
||||||
## Prereqs (from source)
|
## Prereqs (from source)
|
||||||
|
|
||||||
- Node `>=22`
|
- Node 24 recommended (Node 22 LTS, currently `22.16+`, still supported)
|
||||||
- `pnpm`
|
- `pnpm`
|
||||||
- Docker (optional; only for containerized setup/e2e — see [Docker](/install/docker))
|
- Docker (optional; only for containerized setup/e2e — see [Docker](/install/docker))
|
||||||
|
|
||||||
|
|||||||
@ -415,7 +415,7 @@ Some controls depend on backend capabilities. If a backend does not support a co
|
|||||||
| `/acp cwd` | Set runtime working directory override. | `/acp cwd /Users/user/Projects/repo` |
|
| `/acp cwd` | Set runtime working directory override. | `/acp cwd /Users/user/Projects/repo` |
|
||||||
| `/acp permissions` | Set approval policy profile. | `/acp permissions strict` |
|
| `/acp permissions` | Set approval policy profile. | `/acp permissions strict` |
|
||||||
| `/acp timeout` | Set runtime timeout (seconds). | `/acp timeout 120` |
|
| `/acp timeout` | Set runtime timeout (seconds). | `/acp timeout 120` |
|
||||||
| `/acp model` | Set runtime model override. | `/acp model anthropic/claude-opus-4-5` |
|
| `/acp model` | Set runtime model override. | `/acp model anthropic/claude-opus-4-6` |
|
||||||
| `/acp reset-options` | Remove session runtime option overrides. | `/acp reset-options` |
|
| `/acp reset-options` | Remove session runtime option overrides. | `/acp reset-options` |
|
||||||
| `/acp sessions` | List recent ACP sessions from store. | `/acp sessions` |
|
| `/acp sessions` | List recent ACP sessions from store. | `/acp sessions` |
|
||||||
| `/acp doctor` | Backend health, capabilities, actionable fixes. | `/acp doctor` |
|
| `/acp doctor` | Backend health, capabilities, actionable fixes. | `/acp doctor` |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user