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/tools/exec.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,8 @@ Notes:
92
92
- Host execution (`gateway`/`node`) rejects `env.PATH` and loader overrides (`LD_*`/`DYLD_*`) to
93
93
prevent binary hijacking or injected code.
94
94
- OpenClaw sets `OPENCLAW_SHELL=exec` in the spawned command environment (including PTY and sandbox execution) so shell/profile rules can detect exec-tool context.
95
+
- For channel-origin runs, OpenClaw also exposes a narrow sender/chat identity JSON payload in
96
+
`OPENCLAW_CHANNEL_CONTEXT` when the channel provided those ids.
95
97
-`openclaw channels login` is blocked from `exec` because it is an interactive channel-auth flow; run it in a terminal on the gateway host, or use the channel-native login tool from chat when one exists.
96
98
- Important: sandboxing is **off by default**. If sandboxing is off, implicit `host=auto`
97
99
resolves to `gateway`. Explicit `host=sandbox` still fails closed instead of silently
0 commit comments