You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/plugins/codex-harness-reference.md
+11-7Lines changed: 11 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,8 @@ Supported `appServer` fields:
91
91
|`command`| managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary. |
92
92
|`args`|`["app-server", "--listen", "stdio://"]`| Arguments for stdio transport. |
93
93
|`url`| unset | WebSocket app-server URL. |
94
-
|`authToken`| unset | Bearer token for WebSocket transport. |
95
-
|`headers`|`{}`| Extra WebSocket headers. |
94
+
|`authToken`| unset | Bearer token for WebSocket transport. Accepts a literal string or SecretInput such as `${CODEX_APP_SERVER_TOKEN}`.|
95
+
|`headers`|`{}`| Extra WebSocket headers. Header values accept literal strings or SecretInput values, for example `x-codex-client-session-token: "${CODEX_CLIENT_SESSION_TOKEN}"`.|
96
96
|`clearEnv`|`[]`| Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. |
97
97
|`remoteWorkspaceRoot`| unset | Remote Codex app-server workspace root. When set, OpenClaw infers the local workspace root from the resolved OpenClaw workspace, preserves the current cwd suffix under this remote root, and sends only the final app-server cwd to Codex. If the cwd is outside the resolved OpenClaw workspace root, OpenClaw fails closed instead of sending a gateway-local path to the remote app-server. |
98
98
|`requestTimeoutMs`|`60000`| Timeout for app-server control-plane calls. |
@@ -149,11 +149,15 @@ must report stable version `0.125.0` or newer.
149
149
150
150
OpenClaw treats non-loopback WebSocket app-server URLs as remote and requires
151
151
identity-bearing WebSocket auth through `appServer.authToken` or an
152
-
`Authorization` header. When native Codex plugins are configured, OpenClaw uses
153
-
the connected app-server's plugin control plane to install or refresh those
154
-
plugins and then refreshes app inventory so plugin-owned apps are visible to the
155
-
Codex thread. Only connect OpenClaw to remote app-servers that are trusted to
156
-
accept OpenClaw-managed plugin installs and app inventory refreshes.
152
+
`Authorization` header. `appServer.authToken` and each `appServer.headers.*`
153
+
value can be a SecretInput; the secrets runtime resolves SecretRefs and env
154
+
shorthand before OpenClaw builds app-server start options, and unresolved
155
+
structured SecretRefs fail before any token or header is sent. When native Codex
156
+
plugins are configured, OpenClaw uses the connected app-server's plugin control
157
+
plane to install or refresh those plugins and then refreshes app inventory so
158
+
plugin-owned apps are visible to the Codex thread. Only connect OpenClaw to
159
+
remote app-servers that are trusted to accept OpenClaw-managed plugin installs
Copy file name to clipboardExpand all lines: docs/plugins/codex-harness.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -552,8 +552,8 @@ Supported `appServer` fields:
552
552
|`command`| managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary; set it only for an explicit override. |
553
553
|`args`|`["app-server", "--listen", "stdio://"]`| Arguments for stdio transport. |
554
554
|`url`| unset | WebSocket app-server URL. |
555
-
|`authToken`| unset | Bearer token for WebSocket transport. |
556
-
|`headers`|`{}`| Extra WebSocket headers. |
555
+
|`authToken`| unset | Bearer token for WebSocket transport. Accepts a literal string or SecretInput such as `${CODEX_APP_SERVER_TOKEN}`.|
556
+
|`headers`|`{}`| Extra WebSocket headers. Header values accept literal strings or SecretInput values, for example `x-codex-client-session-token: "${CODEX_CLIENT_SESSION_TOKEN}"`.|
557
557
|`clearEnv`|`[]`| Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. OpenClaw keeps per-agent `CODEX_HOME` and inherited `HOME` for local launches. |
558
558
|`codeModeOnly`|`false`| Opt into Codex's code-mode-only tool surface. OpenClaw dynamic tools remain registered with Codex so nested `tools.*` calls return through the app-server `item/tool/call` bridge. |
559
559
|`remoteWorkspaceRoot`| unset | Remote Codex app-server workspace root. When set, OpenClaw infers the local workspace root from the resolved OpenClaw workspace, preserves the current cwd suffix under this remote root, and sends only the final app-server cwd to Codex. If the cwd is outside the resolved OpenClaw workspace root, OpenClaw fails closed instead of sending a gateway-local path to the remote app-server. |
0 commit comments