docs: explain per-agent exec node binding
This commit is contained in:
@@ -15,6 +15,7 @@ the configure wizard (same as `clawdbot configure`).
|
|||||||
clawdbot config get browser.executablePath
|
clawdbot config get browser.executablePath
|
||||||
clawdbot config set browser.executablePath "/usr/bin/google-chrome"
|
clawdbot config set browser.executablePath "/usr/bin/google-chrome"
|
||||||
clawdbot config set agents.defaults.heartbeat.every "2h"
|
clawdbot config set agents.defaults.heartbeat.every "2h"
|
||||||
|
clawdbot config set agents.list[0].tools.exec.node "node-id-or-name"
|
||||||
clawdbot config unset tools.web.search.apiKey
|
clawdbot config unset tools.web.search.apiKey
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -27,6 +28,13 @@ clawdbot config get agents.defaults.workspace
|
|||||||
clawdbot config get agents.list[0].id
|
clawdbot config get agents.list[0].id
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Use the agent list index to target a specific agent:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
clawdbot config get agents.list
|
||||||
|
clawdbot config set agents.list[1].tools.exec.node "node-id-or-name"
|
||||||
|
```
|
||||||
|
|
||||||
## Values
|
## Values
|
||||||
|
|
||||||
Values are parsed as JSON5 when possible; otherwise they are treated as strings.
|
Values are parsed as JSON5 when possible; otherwise they are treated as strings.
|
||||||
|
|||||||
@@ -41,6 +41,13 @@ Notes:
|
|||||||
- `tools.exec.ask` (default: `on-miss`)
|
- `tools.exec.ask` (default: `on-miss`)
|
||||||
- `tools.exec.node` (default: unset)
|
- `tools.exec.node` (default: unset)
|
||||||
|
|
||||||
|
Per-agent node binding (use the agent list index in config):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
clawdbot config get agents.list
|
||||||
|
clawdbot config set agents.list[0].tools.exec.node "node-id-or-name"
|
||||||
|
```
|
||||||
|
|
||||||
## Session overrides (`/exec`)
|
## Session overrides (`/exec`)
|
||||||
|
|
||||||
Use `/exec` to set **per-session** defaults for `host`, `security`, `ask`, and `node`.
|
Use `/exec` to set **per-session** defaults for `host`, `security`, `ask`, and `node`.
|
||||||
|
|||||||
Reference in New Issue
Block a user