Skip to content

Commit 86b87df

Browse files
steipetenielskasperscosmopolitan033zccyman
committed
docs: refine maintainer docs sweep
Co-authored-by: Niels Kaspers <[email protected]> Co-authored-by: Zhaocun <[email protected]> Co-authored-by: Henson <[email protected]>
1 parent bd04b1e commit 86b87df

6 files changed

Lines changed: 58 additions & 19 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Docs: https://docs.openclaw.ai
66

77
### Changes
88

9+
- Docs: clarify media provider credentials, Codex/OpenClaw code-mode boundaries, Slack and Telegram ack reactions, Feishu dynamic agents, secrets plaintext boundaries, memory guidance, and Chinese glossary terms. Thanks @nielskaspers, @cosmopolitan033, @drclaw-iq, @alexgduarte, @zccyman, @chengoak, and @cassthebandit.
910
- Packaging: exclude documentation images and assets from the npm tarball, reducing published package size without affecting runtime docs search or CLI behavior. Thanks @SebTardif.
1011
- Agents/subagents: limit default sub-agent bootstrap context to `AGENTS.md` and `TOOLS.md`, keeping persona, identity, user, memory, heartbeat, and setup files out of delegated workers by default. (#85283) Thanks @100yenadmin.
1112
- Maintainer skills: exclude plugin SDK/API boundary work from `openclaw-landable-bug-sweep` so bugbash sweeps stay focused on small paper-cut fixes.

‎docs/.i18n/glossary.zh-CN.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
},
102102
{
103103
"source": "Status",
104-
"target": "Status"
104+
"target": "状态"
105105
},
106106
{
107107
"source": "Gateway",

‎docs/.i18n/glossary.zh-TW.json‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@
55
},
66
{
77
"source": "Active Memory",
8-
"target": "Active Memory"
8+
"target": "主動記憶"
99
},
1010
{
1111
"source": "ClawHub",
1212
"target": "ClawHub"
1313
},
1414
{
1515
"source": "CLI",
16-
"target": "CLI"
16+
"target": "命令列介面"
1717
},
1818
{
1919
"source": "Compaction",
20-
"target": "Compaction"
20+
"target": "壓縮"
2121
},
2222
{
2323
"source": "Cron",
24-
"target": "Cron"
24+
"target": "排程"
2525
},
2626
{
2727
"source": "Dreaming",
28-
"target": "Dreaming"
28+
"target": "夢境整理"
2929
},
3030
{
3131
"source": "Gateway",
32-
"target": "Gateway"
32+
"target": "閘道"
3333
},
3434
{
3535
"source": "Heartbeat",
36-
"target": "Heartbeat"
36+
"target": "心跳偵測"
3737
},
3838
{
3939
"source": "Mintlify",
4040
"target": "Mintlify"
4141
},
4242
{
4343
"source": "Node",
44-
"target": "Node"
44+
"target": "節點"
4545
},
4646
{
4747
"source": "OpenClaw",
@@ -53,7 +53,7 @@
5353
},
5454
{
5555
"source": "Plugin",
56-
"target": "Plugin"
56+
"target": "外掛"
5757
},
5858
{
5959
"source": "Skills",
@@ -69,10 +69,10 @@
6969
},
7070
{
7171
"source": "TUI",
72-
"target": "TUI"
72+
"target": "終端介面"
7373
},
7474
{
7575
"source": "Webhook",
76-
"target": "Webhook"
76+
"target": "網路鉤子"
7777
}
7878
]

‎docs/nodes/media-understanding.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,32 @@ Each `models[]` entry can be **provider** or **CLI**:
137137
</Tab>
138138
</Tabs>
139139

140+
### Provider credentials (`apiKey`)
141+
142+
Provider media understanding uses the same provider auth resolution as normal
143+
model calls: auth profiles, environment variables, then
144+
`models.providers.<providerId>.apiKey`.
145+
146+
`tools.media.*.models[]` entries do not accept an inline `apiKey` field. The
147+
`provider` value in a media model entry, such as `openai` or `moonshot`, must
148+
have credentials available through one of the standard provider auth sources.
149+
150+
Minimal example:
151+
152+
```json5
153+
{
154+
models: {
155+
providers: {
156+
openai: { apiKey: "<OPENAI_API_KEY>" },
157+
moonshot: { apiKey: "<MOONSHOT_API_KEY>" },
158+
},
159+
},
160+
}
161+
```
162+
163+
For the full provider auth reference, including profiles, environment
164+
variables, and custom base URLs, see [Tools and custom providers](/gateway/config-tools).
165+
140166
## Defaults and limits
141167

142168
Recommended defaults:

‎docs/plugins/codex-harness.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ OpenClaw dynamic tools continue through the app-server `item/tool/call` bridge.
2828
Active OpenClaw sandboxing and restricted tool policies disable native code mode
2929
entirely unless you opt into the experimental sandbox exec-server path.
3030

31+
This Codex-native feature is separate from
32+
[OpenClaw code mode](/reference/code-mode), which is an opt-in QuickJS-WASI
33+
runtime for generic OpenClaw runs with a different `exec` input shape.
34+
3135
For the broader model/provider/runtime split, start with
3236
[Agent runtimes](/concepts/agent-runtimes). The short version is:
3337
`openai/gpt-5.5` is the model ref, `codex` is the runtime, and Telegram,

‎docs/reference/code-mode.md‎

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,21 @@ default. When you enable it, OpenClaw changes what the model sees for one run:
1313
instead of exposing every enabled tool schema directly, the model sees only
1414
`exec` and `wait`.
1515

16-
This page documents OpenClaw code mode. It is not Codex Code mode. Codex Code
17-
mode is part of the Codex coding harness and has its own project workspace,
18-
runtime, tools, and execution semantics. Codex Code mode and Codex-native
19-
dynamic tool search are stable Codex harness surfaces. OpenClaw code mode is an
20-
OpenClaw-owned experimental tool-surface adapter for generic OpenClaw runs. It
21-
uses `quickjs-wasi`, a hidden OpenClaw tool catalog, and the normal OpenClaw
22-
tool executor.
16+
This page documents OpenClaw code mode. It is not Codex Code mode. The two
17+
features share a name, but they are implemented by different runtimes and expose
18+
different `exec` contracts:
19+
20+
- Codex Code Mode is enabled for Codex app-server threads unless restricted
21+
tool policy disables native code mode. It runs in the Codex coding harness,
22+
where the model writes shell commands through an `exec.command` contract.
23+
- OpenClaw code mode is disabled unless `tools.codeMode.enabled: true` is
24+
configured. It runs in the OpenClaw generic agent runtime, where the model
25+
writes JavaScript or TypeScript programs through an `exec.code` contract.
26+
27+
Codex Code Mode and Codex-native dynamic tool search are stable Codex harness
28+
surfaces. OpenClaw code mode is an OpenClaw-owned experimental tool-surface
29+
adapter for generic OpenClaw runs. It uses `quickjs-wasi`, a hidden OpenClaw
30+
tool catalog, and the normal OpenClaw tool executor.
2331

2432
## What is this?
2533

0 commit comments

Comments
 (0)