mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-05 15:30:22 +00:00
docs(i18n): sync zh-CN node exec wording
This commit is contained in:
@@ -329,7 +329,6 @@ OpenClaw 为 browser、canvas、nodes 和 cron 暴露**一流的智能体工具*
|
||||
- `status`、`describe`
|
||||
- `pending`、`approve`、`reject`(配对)
|
||||
- `notify`(macOS `system.notify`)
|
||||
- `run`(macOS `system.run`)
|
||||
- `camera_snap`、`camera_clip`、`screen_record`
|
||||
- `location_get`
|
||||
|
||||
@@ -339,9 +338,9 @@ OpenClaw 为 browser、canvas、nodes 和 cron 暴露**一流的智能体工具*
|
||||
- 图像返回图像块 + `MEDIA:<path>`。
|
||||
- 视频返回 `FILE:<path>`(mp4)。
|
||||
- 位置返回 JSON 负载(lat/lon/accuracy/timestamp)。
|
||||
- `run` 参数:`command` argv 数组;可选的 `cwd`、`env`(`KEY=VAL`)、`commandTimeoutMs`、`invokeTimeoutMs`、`needsScreenRecording`。
|
||||
- 节点 shell 执行现在统一通过带 `host=node` 的 `exec` 工具;`nodes` 保持为显式节点命令的 RPC 表面。
|
||||
|
||||
示例(`run`):
|
||||
示例(节点能力):
|
||||
|
||||
```json
|
||||
{
|
||||
@@ -496,11 +495,11 @@ Canvas 渲染:
|
||||
|
||||
1. `nodes` → `status`
|
||||
2. 在选定的节点上 `describe`
|
||||
3. `notify` / `run` / `camera_snap` / `screen_record`
|
||||
3. `notify` / `invoke` / `camera_snap` / `screen_record`
|
||||
|
||||
## 安全性
|
||||
|
||||
- 避免直接 `system.run`;仅在用户明确同意时使用 `nodes` → `run`。
|
||||
- 避免直接 `system.run`;仅在用户明确同意时使用带 `host=node` 的 `exec` 工具。
|
||||
- 尊重用户对摄像头/屏幕捕获的同意。
|
||||
- 在调用媒体命令前使用 `status/describe` 确保权限。
|
||||
|
||||
|
||||
@@ -227,7 +227,7 @@ OpenClaw 在**会话开始时**对有资格的 Skills 进行快照,并在同
|
||||
|
||||
## 远程 macOS 节点(Linux Gateway 网关)
|
||||
|
||||
如果 Gateway 网关运行在 Linux 上但连接了一个**允许 `system.run` 的 macOS 节点**(Exec 批准安全设置未设为 `deny`),当所需的二进制文件存在于该节点上时,OpenClaw 可以将仅限 macOS 的 Skills 视为有资格。智能体应通过 `nodes` 工具(通常是 `nodes.run`)执行这些 Skills。
|
||||
如果 Gateway 网关运行在 Linux 上但连接了一个**允许 `system.run` 的 macOS 节点**(Exec 批准安全设置未设为 `deny`),当所需的二进制文件存在于该节点上时,OpenClaw 可以将仅限 macOS 的 Skills 视为有资格。智能体应通过带 `host=node` 的 `exec` 工具执行这些 Skills。
|
||||
|
||||
这依赖于节点报告其命令支持以及通过 `system.run` 进行的二进制文件探测。如果 macOS 节点稍后离线,Skills 仍然可见;调用可能会失败,直到节点重新连接。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user