content large_stringlengths 3 20.5k | url large_stringlengths 54 193 | branch large_stringclasses 4
values | source large_stringclasses 42
values | embeddings listlengths 384 384 | score float64 -0.21 0.65 |
|---|---|---|---|---|---|
"hooks": { "internal": { "enabled": true, "entries": { "my-hook": { "enabled": true } } } } } ``` 4. 验证并重启你的 Gateway 网关进程: ```bash openclaw hooks list # Should show: 🎯 my-hook ✓ ``` \*\*迁移的好处\*\*: - 自动发现 - CLI 管理 - 资格检查 - 更好的文档 - 一致的结构 ## 另请参阅 - [CLI 参考:hooks](/cli/hooks) - [捆绑 Hooks README](https://github.com/opencla... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/hooks.md | main | opebclaw | [
-0.0264874417334795,
0.05255836620926857,
-0.06377983093261719,
0.006628730800002813,
0.018748974427580833,
-0.06543167680501938,
0.06563160568475723,
-0.046001020818948746,
-0.03523663431406021,
-0.07732517272233963,
0.06811553239822388,
-0.09188373386859894,
0.027502350509166718,
-0.0172... | 0.052581 |
# 文本转语音(TTS) OpenClaw 可以使用 ElevenLabs、OpenAI 或 Edge TTS 将出站回复转换为音频。它可以在任何 OpenClaw 能发送音频的地方工作;Telegram 会显示圆形语音消息气泡。 ## 支持的服务 - \*\*ElevenLabs\*\*(主要或备用提供商) - \*\*OpenAI\*\*(主要或备用提供商;也用于摘要) - \*\*Edge TTS\*\*(主要或备用提供商;使用 `node-edge-tts`,无 API 密钥时为默认) ### Edge TTS 注意事项 Edge TTS 通过 `node-edge-tts` 库使用 Microsoft Edge 的在线神经... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tts.md | main | opebclaw | [
-0.03556264936923981,
0.029085155576467514,
-0.021408310160040855,
-0.05271882191300392,
-0.009998331777751446,
-0.06837328523397446,
0.028982732445001602,
0.03384968638420105,
0.008526123128831387,
-0.012517232447862625,
0.13033655285835266,
-0.04089898616075516,
0.06205200031399727,
-0.0... | 0.133919 |
allowSeed: false, }, }, }, } ``` ## 单用户偏好 斜杠命令将本地覆盖写入 `prefsPath`(默认:`~/.openclaw/settings/tts.json`,可通过 `OPENCLAW\_TTS\_PREFS` 或 `messages.tts.prefsPath` 覆盖)。 存储的字段: - `enabled` - `provider` - `maxLength`(摘要阈值;默认 1500 字符) - `summarize`(默认 `true`) 这些为该主机覆盖 `messages.tts.\*`。 ## 输出格式(固定) - \*\*Telegram\*\*:Opus 语音消息(Ele... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tts.md | main | opebclaw | [
-0.042227569967508316,
0.026385078206658363,
-0.028522122651338577,
-0.0926394909620285,
-0.023371469229459763,
-0.03116261400282383,
0.005944979377090931,
-0.0003340762632433325,
0.017745018005371094,
-0.05523764342069626,
0.10668168216943741,
-0.042784903198480606,
-0.014021027833223343,
... | 0.061891 |
# Perplexity Sonar OpenClaw 可以使用 Perplexity Sonar 作为 `web\_search` 工具。你可以通过 Perplexity 的直连 API 或通过 OpenRouter 连接。 ## API 选项 ### Perplexity(直连) - Base URL:https://api.perplexity.ai - 环境变量:`PERPLEXITY\_API\_KEY` ### OpenRouter(替代方案) - Base URL:https://openrouter.ai/api/v1 - 环境变量:`OPENROUTER\_API\_KEY` - 支持预付费/加密货币积分。 ## ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/perplexity.md | main | opebclaw | [
-0.05926093831658363,
0.013825968839228153,
0.00858799833804369,
-0.011819334700703621,
0.025314899161458015,
-0.1025421991944313,
-0.048930566757917404,
-0.012360883876681328,
0.008844583295285702,
-0.08569982647895813,
0.06966812908649445,
-0.055494122207164764,
0.00240530539304018,
0.00... | 0.052144 |
# AGENTS.md - zh-CN 文档翻译工作区 ## Read When - 维护 `docs/zh-CN/\*\*` - 更新中文翻译流水线(glossary/TM/prompt) - 处理中文翻译反馈或回归 ## Pipeline(docs-i18n) - 源文档:`docs/\*\*/\*.md` - 目标文档:`docs/zh-CN/\*\*/\*.md` - 术语表:`docs/.i18n/glossary.zh-CN.json` - 翻译记忆库:`docs/.i18n/zh-CN.tm.jsonl` - 提示词规则:`scripts/docs-i18n/translator.go` 常用运行方式: ```bash... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/AGENTS.md | main | opebclaw | [
-0.03017791360616684,
0.052036963403224945,
0.026095326989889145,
-0.08863727748394012,
-0.043366704136133194,
-0.023633457720279694,
0.013367014937102795,
0.010563519783318043,
0.03519614785909653,
0.02451927401125431,
0.047647275030612946,
-0.07158077508211136,
0.045590974390506744,
0.01... | 0.002693 |
# Pi 集成架构 本文档描述了 OpenClaw 如何与 [pi-coding-agent](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) 及其相关包(`pi-ai`、`pi-agent-core`、`pi-tui`)集成以实现其 AI 智能体能力。 ## 概述 OpenClaw 使用 pi SDK 将 AI 编码智能体嵌入到其消息 Gateway 网关架构中。OpenClaw 不是将 pi 作为子进程生成或使用 RPC 模式,而是通过 `createAgentSession()` 直接导入并实例化 pi 的 `AgentSession`。... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/pi.md | main | opebclaw | [
-0.07185490429401398,
-0.020907409489154816,
-0.09467247873544693,
-0.06021733582019806,
-0.038359224796295166,
-0.05073372274637222,
-0.014742149040102959,
0.09542679041624069,
0.02911803126335144,
0.05429210886359215,
0.11977176368236542,
-0.04620254784822464,
0.059793680906295776,
-0.03... | 0.152687 |
apply-patch.ts # apply\_patch tool (OpenAI) ├── tools/ # Individual tool implementations │ ├── browser-tool.ts │ ├── canvas-tool.ts │ ├── cron-tool.ts │ ├── discord-actions\*.ts │ ├── gateway-tool.ts │ ├── image-tool.ts │ ├── message-tool.ts │ ├── nodes-tool.ts │ ├── session\*.ts │ ├── slack-actions.ts │ ├── telegram-a... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/pi.md | main | opebclaw | [
-0.106029212474823,
0.0036768964491784573,
-0.010431550443172455,
0.008584513328969479,
-0.0040891049429774284,
-0.01947299763560295,
0.07834168523550034,
0.07997312396764755,
-0.0022964919917285442,
0.030014552175998688,
0.06453388184309006,
-0.021187342703342438,
-0.007410992402583361,
0... | 0.175255 |
``` ## Pi 扩展 OpenClaw 加载自定义 pi 扩展以实现特殊行为: ### 压缩安全护栏 `pi-extensions/compaction-safeguard.ts` 为压缩添加护栏,包括自适应令牌预算以及工具失败和文件操作摘要: ```typescript if (resolveCompactionMode(params.cfg) === "safeguard") { setCompactionSafeguardRuntime(params.sessionManager, { maxHistoryShare }); paths.push(resolvePiExtensionPath("compaction-saf... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/pi.md | main | opebclaw | [
-0.049659401178359985,
0.03815581277012825,
-0.045130785554647446,
0.00033265165984630585,
-0.030701374635100365,
0.042884863913059235,
0.060881052166223526,
0.10361558198928833,
-0.0016915415180847049,
-0.0029699988663196564,
0.050071291625499725,
-0.017742207273840904,
0.0184258334338665,
... | 0.109011 |
# 调试 本页介绍用于流式输出的调试辅助工具,特别是当提供商将推理混入正常文本时。 ## 运行时调试覆盖 在聊天中使用 `/debug` 设置\*\*仅运行时\*\*配置覆盖(内存中,不写入磁盘)。 `/debug` 默认禁用;通过 `commands.debug: true` 启用。 当你需要切换不常用的设置而不编辑 `openclaw.json` 时,这非常方便。 示例: ``` /debug show /debug set messages.responsePrefix="[openclaw]" /debug unset messages.responsePrefix /debug reset ``` `/debug rese... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/debugging.md | main | opebclaw | [
-0.04003452882170677,
0.027362795546650887,
-0.02895445190370083,
-0.008174649439752102,
-0.017270702868700027,
-0.06617788970470428,
-0.005739989690482616,
0.06011500582098961,
0.038982558995485306,
0.0012834403896704316,
0.0970139354467392,
-0.07022802531719208,
0.051159754395484924,
-0.... | 0.042482 |
# 多智能体沙箱与工具配置 ## 概述 多智能体设置中的每个智能体现在可以拥有自己的: - \*\*沙箱配置\*\*(`agents.list[].sandbox` 覆盖 `agents.defaults.sandbox`) - \*\*工具限制\*\*(`tools.allow` / `tools.deny`,以及 `agents.list[].tools`) 这允许你运行具有不同安全配置文件的多个智能体: - 具有完全访问权限的个人助手 - 具有受限工具的家庭/工作智能体 - 在沙箱中运行的面向公众的智能体 `setupCommand` 属于 `sandbox.docker` 下(全局或按智能体),在容器创建时运行一次。 认证是... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/multi-agent-sandbox-tools.md | main | opebclaw | [
0.003938731737434864,
0.05815039575099945,
-0.05973736196756363,
-0.0844530314207077,
-0.025438232347369194,
-0.017480121925473213,
0.03806305676698685,
-0.03563231974840164,
-0.00711900694295764,
0.08877052366733551,
0.1921462118625641,
-0.017833536490797997,
0.014046632684767246,
0.00525... | 0.039515 |
``` --- ## 常见陷阱:"non-main" `agents.defaults.sandbox.mode: "non-main"` 基于 `session.mainKey`(默认 `"main"`), 而不是智能体 id。群组/渠道会话始终获得自己的键,因此它们 被视为非 main 并将被沙箱隔离。如果你希望智能体永不 沙箱隔离,请设置 `agents.list[].sandbox.mode: "off"`。 --- ## 测试 配置多智能体沙箱和工具后: 1. \*\*检查智能体解析:\*\* ```exec openclaw agents list --bindings ``` 2. \*\*验证沙箱容器:\*\* ``... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/multi-agent-sandbox-tools.md | main | opebclaw | [
0.027053765952587128,
0.05276038125157356,
-0.10266537219285965,
-0.06116729974746704,
0.04225390404462814,
-0.04716593772172928,
0.0683477520942688,
-0.0520990788936615,
0.002506295684725046,
0.030032871291041374,
0.06750719249248505,
-0.0976485013961792,
0.021803734824061394,
-0.01618848... | 0.091781 |
# Fly.io 部署 \*\*目标:\*\* OpenClaw Gateway 网关运行在 [Fly.io](https://fly.io) 机器上,具有持久存储、自动 HTTPS 和 Discord/渠道访问。 ## 你需要什么 - 已安装 [flyctl CLI](https://fly.io/docs/hands-on/install-flyctl/) - Fly.io 账户(免费套餐可用) - 模型认证:Anthropic API 密钥(或其他提供商密钥) - 渠道凭证:Discord bot token、Telegram token 等 ## 初学者快速路径 1. 克隆仓库 → 自定义 `fly.toml` 2. 创建应... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/fly.md | main | opebclaw | [
-0.07707931846380234,
0.07423130422830582,
-0.07022896409034729,
-0.024622149765491486,
0.0005703837960027158,
-0.09224971383810043,
0.0651959776878357,
-0.028548670932650566,
0.00345779862254858,
0.0041529471054673195,
0.11870753765106201,
-0.05559234693646431,
0.02058826945722103,
-0.054... | 0.103244 |
连接被拒绝 Fly 无法在配置的端口上访问 Gateway 网关。 \*\*修复:\*\* 确保 `internal\_port` 与 Gateway 网关端口匹配(设置 `--port 3000` 或 `OPENCLAW\_GATEWAY\_PORT=3000`)。 ### OOM / 内存问题 容器持续重启或被终止。迹象:`SIGABRT`、`v8::internal::Runtime\_AllocateInYoungGeneration` 或静默重启。 \*\*修复:\*\* 在 `fly.toml` 中增加内存: ```toml [[vm]] memory = "2048mb" ``` 或更新现有机器: ```bash fl... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/fly.md | main | opebclaw | [
-0.0059663280844688416,
0.07157586514949799,
-0.08594641834497452,
-0.048840831965208054,
-0.016659371554851532,
-0.06016682833433151,
0.023912398144602776,
0.04609382525086403,
-0.00007120145164662972,
-0.013446031138300896,
0.1544436365365982,
-0.030515670776367188,
0.02431385964155197,
... | 0.140206 |
signal-cli;使用自定义镜像并保持内存在 2GB+。 ## 成本 使用推荐配置(`shared-cpu-2x`,2GB RAM): - 根据使用情况约 $10-15/月 - 免费套餐包含一些配额 详情参见 [Fly.io 定价](https://fly.io/docs/about/pricing/)。 | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/fly.md | main | opebclaw | [
-0.015849439427256584,
0.05109280347824097,
-0.03577067330479622,
-0.0034684129059314728,
-0.0008106865570880473,
-0.04452474042773247,
0.043323975056409836,
0.06470562517642975,
-0.029236193746328354,
0.004781638737767935,
0.06570964306592941,
-0.050533492118120193,
-0.01987799070775509,
... | 0.184704 |
# Android 应用(节点) ## 支持概览 - 角色:配套节点应用(Android 不托管 Gateway 网关)。 - 需要 Gateway 网关:是(在 macOS、Linux 或通过 WSL2 的 Windows 上运行)。 - 安装:[入门指南](/start/getting-started) + [配对](/gateway/pairing)。 - Gateway 网关:[操作手册](/gateway) + [配置](/gateway/configuration)。 - 协议:[Gateway 网关协议](/gateway/protocol)(节点 + 控制平面)。 ## 系统控制 系统控制(launchd/syste... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/android.md | main | opebclaw | [
-0.076902374625206,
0.004343451466411352,
-0.02154732681810856,
-0.12384195625782013,
-0.017770465463399887,
-0.032090965658426285,
0.0006673607276752591,
0.011797494255006313,
0.035622768104076385,
-0.0446610264480114,
0.1343681812286377,
-0.03991379216313362,
0.10304281115531921,
-0.0251... | 0.084168 |
# 在 Oracle Cloud(OCI)上运行 OpenClaw ## 目标 在 Oracle Cloud 的 \*\*Always Free\*\* ARM 层上运行持久化的 OpenClaw Gateway 网关。 Oracle 的免费层非常适合 OpenClaw(特别是如果你已经有 OCI 账户),但有一些权衡: - ARM 架构(大多数东西都能工作,但某些二进制文件可能仅支持 x86) - 容量和注册可能比较麻烦 ## 成本比较(2026) | 提供商 | 方案 | 配置 | 价格/月 | 说明 | | ------------ | --------------- | --------------------- | ---... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/oracle.md | main | opebclaw | [
-0.04480570927262306,
0.03260626643896103,
-0.016400227323174477,
-0.03196127340197563,
0.008163057267665863,
-0.09134858101606369,
-0.004848944954574108,
-0.004136226139962673,
0.02311723306775093,
0.024525588378310204,
0.1215658113360405,
-0.0436319038271904,
0.0044438764452934265,
-0.09... | 0.13214 |
fail2ban | 否 | 如果端口 22 在 VCN 被阻止则无暴力破解 | | sshd 加固 | 否 | Tailscale SSH 不使用 sshd | | 禁用 root 登录 | 否 | Tailscale 使用 Tailscale 身份,而不是系统用户 | | 仅 SSH 密钥认证 | 否 | Tailscale 通过你的 tailnet 认证 | | IPv6 加固 | 通常不需要 | 取决于你的 VCN/子网设置;验证实际分配/暴露的内容 | ### 仍然推荐 - \*\*凭证权限:\*\* `chmod 700 ~/.openclaw` - \*\*安全审计:\*\* `openclaw security au... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/oracle.md | main | opebclaw | [
0.004135428462177515,
0.00204823212698102,
-0.02534981071949005,
-0.09661071002483368,
0.07818593084812164,
-0.038773369044065475,
-0.001479363883845508,
0.012716129422187805,
0.035164974629879,
0.013794884085655212,
0.1129227951169014,
-0.06393939256668091,
-0.012003622949123383,
0.010943... | 0.029135 |
# Windows (WSL2) Windows 上的 OpenClaw 推荐\*\*通过 WSL2\*\*(推荐 Ubuntu)。CLI + Gateway 网关在 Linux 内运行,这保持了运行时的一致性并使工具兼容性大大提高(Node/Bun/pnpm、Linux 二进制文件、Skills)。原生 Windows 可能更棘手。WSL2 给你完整的 Linux 体验——一条命令安装:`wsl --install`。 原生 Windows 配套应用已在计划中。 ## 安装(WSL2) - [入门指南](/start/getting-started)(在 WSL 内使用) - [安装和更新](/install/updating) ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/windows.md | main | opebclaw | [
-0.0012065240880474448,
0.014034133404493332,
-0.030698567628860474,
-0.025939995422959328,
0.02173333801329136,
-0.04513571411371231,
-0.006327272392809391,
0.003033040091395378,
0.01471275556832552,
-0.04730676859617233,
0.11714572459459305,
-0.005618421360850334,
0.02357184886932373,
-0... | 0.063679 |
# 在 GCP Compute Engine 上运行 OpenClaw(Docker,生产 VPS 指南) ## 目标 使用 Docker 在 GCP Compute Engine VM 上运行持久化的 OpenClaw Gateway 网关,具有持久状态、内置二进制文件和安全的重启行为。 如果你想要"OpenClaw 24/7 大约 $5-12/月",这是在 Google Cloud 上的可靠设置。 价格因机器类型和区域而异;选择适合你工作负载的最小 VM,如果遇到 OOM 则扩容。 ## 我们在做什么(简单说明)? - 创建 GCP 项目并启用计费 - 创建 Compute Engine VM - 安装 Docker(隔离的应用... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/gcp.md | main | opebclaw | [
-0.03955531492829323,
0.06165093928575516,
-0.03493495658040047,
-0.05155609920620918,
-0.020310891792178154,
-0.06468383222818375,
-0.037848033010959625,
-0.014914365485310555,
0.015500996261835098,
-0.00008696271106600761,
0.09749037027359009,
-0.046613749116659164,
0.02843719907104969,
... | 0.02176 |
如果你公开暴露此端口,请阅读 /gateway/security 并相应配置防火墙。 # - "18793:18793" command: [ "node", "dist/index.js", "gateway", "--bind", "${OPENCLAW\_GATEWAY\_BIND}", "--port", "${OPENCLAW\_GATEWAY\_PORT}", ] ``` --- ## 10) 将所需二进制文件内置到镜像中(关键) 在运行中的容器内安装二进制文件是一个陷阱。 任何在运行时安装的内容在重启后都会丢失。 所有 Skills 所需的外部二进制文件必须在镜像构建时安装。 以下示例仅显示三个常见的二进制文件: - ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/gcp.md | main | opebclaw | [
-0.06530994921922684,
0.05808417126536369,
-0.02939954772591591,
-0.01002102717757225,
-0.020601820200681686,
-0.03194636479020119,
0.0074158161878585815,
-0.028820782899856567,
-0.03797602653503418,
-0.023590536788105965,
0.1316840648651123,
0.01851954124867916,
0.06178240478038788,
-0.05... | 0.077046 |
# Linux 应用 Gateway 网关在 Linux 上完全支持。\*\*Node 是推荐的运行时\*\*。 不推荐 Bun 用于 Gateway 网关(WhatsApp/Telegram 存在 bug)。 原生 Linux 配套应用已在计划中。如果你想帮助构建,欢迎贡献。 ## 新手快速路径(VPS) 1. 安装 Node 22+ 2. `npm i -g openclaw@latest` 3. `openclaw onboard --install-daemon` 4. 从你的笔记本电脑:`ssh -N -L 18789:127.0.0.1:18789 @` 5. 打开 `http://127.0.0.1:18789/` 并... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/linux.md | main | opebclaw | [
-0.01921398937702179,
0.023898495361208916,
-0.057064421474933624,
-0.03148338943719864,
0.07008035480976105,
-0.11288630962371826,
-0.04406246915459633,
0.03223313018679619,
0.04114324972033501,
0.07164452224969864,
0.10754939168691635,
-0.03925043344497681,
-0.023371372371912003,
-0.0054... | 0.098567 |
# 在 Raspberry Pi 上运行 OpenClaw ## 目标 在 Raspberry Pi 上运行持久、常驻的 OpenClaw Gateway 网关,\*\*一次性成本约 $35-80\*\*(无月费)。 适用于: - 24/7 个人 AI 助手 - 家庭自动化中心 - 低功耗、随时可用的 Telegram/WhatsApp 机器人 ## 硬件要求 | Pi 型号 | 内存 | 是否可用? | 说明 | | --------------- | ------- | ---------- | -------------------------- | | \*\*Pi 5\*\* | 4GB/8GB | ✅ 最佳 | 最快,推... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/raspberry-pi.md | main | opebclaw | [
-0.01957906410098076,
0.05922676995396614,
0.011624162085354328,
-0.05028736591339111,
-0.025233237072825432,
-0.0024140009190887213,
0.0783989205956459,
-0.0033386219292879105,
0.046816375106573105,
-0.011212935671210289,
0.1352756917476654,
-0.06812500953674316,
0.03555380553007126,
-0.0... | 0.106682 |
---------- | ----------------------------------- | | Node.js | ✅ | 运行良好 | | WhatsApp (Baileys) | ✅ | 纯 JS,无问题 | | Telegram | ✅ | 纯 JS,无问题 | | gog (Gmail CLI) | ⚠️ | 检查是否有 ARM 版本 | | Chromium (browser) | ✅ | `sudo apt install chromium-browser` | 如果某个 skill 失败,检查其二进制文件是否有 ARM 构建。许多 Go/Rust 工具有;有些没有。 ### 32 位 vs 64 位 \*\*... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/raspberry-pi.md | main | opebclaw | [
-0.08220529556274414,
0.024320431053638458,
0.02634095959365368,
-0.06770548969507217,
0.03780124709010124,
-0.05647389963269234,
-0.019930679351091385,
0.03755335882306099,
-0.01786496490240097,
-0.006347703747451305,
0.08983480930328369,
-0.048965808004140854,
0.03258301690220833,
-0.023... | 0.047655 |
# OpenClaw macOS 配套应用(菜单栏 + Gateway 网关代理) macOS 应用是 OpenClaw 的\*\*菜单栏配套应用\*\*。它拥有权限,在本地管理/附加到 Gateway 网关(launchd 或手动),并作为节点向智能体暴露 macOS 功能。 ## 功能 - 在菜单栏中显示原生通知和状态。 - 拥有 TCC 提示(通知、辅助功能、屏幕录制、麦克风、语音识别、自动化/AppleScript)。 - 运行或连接到 Gateway 网关(本地或远程)。 - 暴露 macOS 专用工具(Canvas、相机、屏幕录制、`system.run`)。 - 在\*\*远程\*\*模式下启动本地节点主机服务(lau... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/macos.md | main | opebclaw | [
-0.013331379741430283,
0.031086334958672523,
0.02596266195178032,
-0.08403059095144272,
-0.018862731754779816,
-0.04766993969678879,
0.048466894775629044,
0.04403415322303772,
0.01123342476785183,
0.03655824810266495,
0.1338130682706833,
-0.030331693589687347,
0.05453110486268997,
-0.02420... | 0.13164 |
# 平台 OpenClaw 核心使用 TypeScript 编写。\*\*Node 是推荐的运行时\*\*。 不推荐 Bun 用于 Gateway 网关(WhatsApp/Telegram 存在 bug)。 配套应用适用于 macOS(菜单栏应用)和移动节点(iOS/Android)。Windows 和 Linux 配套应用已在计划中,但 Gateway 网关目前已完全支持。 Windows 原生配套应用也在计划中;推荐通过 WSL2 使用 Gateway 网关。 ## 选择你的操作系统 - macOS:[macOS](/platforms/macos) - iOS:[iOS](/platforms/ios) - Android:[... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/index.md | main | opebclaw | [
-0.03146291896700859,
0.054807305335998535,
0.04996287450194359,
-0.06397604197263718,
0.08076930046081543,
-0.07645489275455475,
0.05605238676071167,
-0.04024035483598709,
0.0646754801273346,
0.013499405235052109,
0.11955931037664413,
-0.0315081849694252,
0.018267527222633362,
-0.01069307... | 0.105981 |
# 在 macOS 虚拟机上运行 OpenClaw(沙箱隔离) ## 推荐默认方案(大多数用户) - \*\*小型 Linux VPS\*\* 用于永久在线的 Gateway 网关,成本低。参见 [VPS 托管](/vps)。 - \*\*专用硬件\*\*(Mac mini 或 Linux 机器)如果你想要完全控制和\*\*住宅 IP\*\* 用于浏览器自动化。许多网站会屏蔽数据中心 IP,所以本地浏览通常效果更好。 - \*\*混合方案:\*\* 将 Gateway 网关保持在廉价 VPS 上,当你需要浏览器/UI 自动化时,将你的 Mac 作为\*\*节点\*\*连接。参见[节点](/nodes)和 [Gateway 网关远程]... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/macos-vm.md | main | opebclaw | [
-0.04740123450756073,
0.03472528234124184,
0.0016181326936930418,
-0.08423926681280136,
0.047531574964523315,
-0.053764235228300095,
0.026509638875722885,
-0.011541477404534817,
0.0683303102850914,
0.004887265153229237,
0.1383160799741745,
-0.0036409213207662106,
0.06550195068120956,
-0.07... | 0.13797 |
渠道](/channels/bluebubbles) - [Lume 快速入门](https://cua.ai/docs/lume/guide/getting-started/quickstart) - [Lume CLI 参考](https://cua.ai/docs/lume/reference/cli-reference) - [无人值守 VM 设置](https://cua.ai/docs/lume/guide/fundamentals/unattended-setup)(高级) - [Docker 沙箱隔离](/install/docker)(替代隔离方案) | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/macos-vm.md | main | opebclaw | [
-0.05898996442556381,
0.007431504782289267,
0.03190385550260544,
-0.04698539897799492,
0.054716650396585464,
-0.07867233455181122,
0.024824941530823708,
0.037627119570970535,
-0.06363546848297119,
-0.02865014597773552,
0.07240212708711624,
-0.123904287815094,
-0.016560517251491547,
-0.0559... | 0.147084 |
# iOS 应用(节点) 可用性:内部预览。iOS 应用尚未公开分发。 ## 功能 - 通过 WebSocket(LAN 或 tailnet)连接到 Gateway 网关。 - 暴露节点能力:Canvas、屏幕快照、相机捕获、位置、对话模式、语音唤醒。 - 接收 `node.invoke` 命令并报告节点状态事件。 ## 要求 - Gateway 网关运行在另一台设备上(macOS、Linux 或通过 WSL2 的 Windows)。 - 网络路径: - 通过 Bonjour 的同一 LAN,\*\*或\*\* - 通过单播 DNS-SD 的 Tailnet(示例域:`openclaw.internal.`),\*\*或\*\* -... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/ios.md | main | opebclaw | [
-0.04637858644127846,
0.01569945178925991,
-0.01596936397254467,
-0.09174305200576782,
-0.016519596800208092,
-0.10850202292203903,
0.02075294777750969,
0.0014007409336045384,
0.05971246585249901,
-0.035717204213142395,
0.09685155749320984,
-0.019719861447811127,
0.01335263904184103,
-0.02... | 0.145335 |
# 在 DigitalOcean 上运行 OpenClaw ## 目标 以 \*\*$6/月\*\*(或使用预留定价 $4/月)在 DigitalOcean 上运行持久的 OpenClaw Gateway 网关。 如果你想要 $0/月的选项且不介意 ARM + 特定提供商的设置,请参阅 [Oracle Cloud 指南](/platforms/oracle)。 ## 成本比较(2026) | 提供商 | 方案 | 配置 | 价格/月 | 备注 | | ------------ | --------------- | --------------------- | ----------- | ---------------------... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/digitalocean.md | main | opebclaw | [
-0.04072145000100136,
0.05037420243024826,
-0.01623186282813549,
-0.04152537137269974,
-0.025866206735372543,
-0.07326620072126389,
0.006497862283140421,
-0.00010759739961940795,
0.015676595270633698,
0.030735822394490242,
0.1315065622329712,
-0.09020034968852997,
-0.0035795047879219055,
-... | 0.102102 |
Cloud](/platforms/oracle)。关于注册技巧和注册流程故障排除,请参阅此[社区指南](https://gist.github.com/rssnyder/51e3cfedd730e7dd5f4a816143b25dbd)。 --- ## 故障排除 ### Gateway 网关无法启动 ```bash openclaw gateway status openclaw doctor --non-interactive journalctl -u openclaw --no-pager -n 50 ``` ### 端口已被使用 ```bash lsof -i :18789 kill ``` ### 内存不足 ```bas... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/digitalocean.md | main | opebclaw | [
-0.029508791863918304,
0.022420164197683334,
-0.11031182110309601,
-0.06846339255571365,
0.03446241095662117,
-0.09815189987421036,
-0.012279865331947803,
0.024182356894016266,
0.000029034830731689,
0.06264618039131165,
0.0480646975338459,
-0.002254645572975278,
-0.008592027239501476,
-0.0... | 0.092211 |
# 在 Hetzner 上运行 OpenClaw(Docker,生产 VPS 指南) ## 目标 使用 Docker 在 Hetzner VPS 上运行持久的 OpenClaw Gateway 网关,带持久状态、内置二进制文件和安全的重启行为。 如果你想要"约 $5 实现 OpenClaw 24/7",这是最简单可靠的设置。 Hetzner 定价会变化;选择最小的 Debian/Ubuntu VPS,如果遇到 OOM 再扩容。 ## 我们在做什么(简单说明)? - 租用一台小型 Linux 服务器(Hetzner VPS) - 安装 Docker(隔离的应用运行时) - 在 Docker 中启动 OpenClaw Gateway 网... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/hetzner.md | main | opebclaw | [
-0.04746472090482712,
0.07772336155176163,
-0.08513322472572327,
-0.04580258950591087,
-0.0030263548251241446,
-0.0867261290550232,
0.002456009853631258,
-0.009266896173357964,
0.040023282170295715,
-0.021241329610347748,
0.09137388318777084,
-0.022961877286434174,
0.062300197780132294,
-0... | -0.024165 |
-f openclaw-gateway ``` 成功: ``` [gateway] listening on ws://0.0.0.0:18789 ``` 从你的笔记本电脑: ```bash ssh -N -L 18789:127.0.0.1:18789 root@YOUR\_VPS\_IP ``` 打开: `http://127.0.0.1:18789/` 粘贴你的 Gateway 网关令牌。 --- ## 持久化位置(事实来源) OpenClaw 在 Docker 中运行,但 Docker 不是事实来源。 所有长期状态必须在重启、重建和重启后保留。 | 组件 | 位置 | 持久化机制 | 说明 | | -------------... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/hetzner.md | main | opebclaw | [
0.006391014438122511,
0.07838395237922668,
-0.06625205278396606,
-0.06633013486862183,
-0.015569677576422691,
-0.06555183231830597,
-0.006748665124177933,
-0.055746469646692276,
0.05449032410979271,
-0.01698489300906658,
0.03866983950138092,
-0.052565522491931915,
-0.007099587470293045,
-0... | 0.048319 |
# exe.dev 目标:OpenClaw Gateway 网关运行在 exe.dev VM 上,可从你的笔记本电脑通过以下地址访问:`https://.exe.xyz` 本页假设使用 exe.dev 的默认 \*\*exeuntu\*\* 镜像。如果你选择了不同的发行版,请相应地映射软件包。 ## 新手快速路径 1. [https://exe.new/openclaw](https://exe.new/openclaw) 2. 根据需要填写你的认证密钥/令牌 3. 点击 VM 旁边的"Agent",然后等待... 4. ??? 5. 完成 ## 你需要什么 - exe.dev 账户 - `ssh exe.dev` 访问 [exe.... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/exe-dev.md | main | opebclaw | [
-0.03811699151992798,
-0.0029431686270982027,
-0.06939868628978729,
-0.038917865604162216,
-0.0020514412317425013,
-0.09750853478908539,
-0.009565024636685848,
0.004389835521578789,
0.010582116432487965,
-0.0035560105461627245,
0.14107745885849,
-0.05222506821155548,
0.01423571165651083,
-... | 0.096146 |
# 菜单栏状态逻辑 ## 显示内容 - 我们在菜单栏图标和菜单的第一行状态行中展示当前智能体的工作状态。 - 工作活跃时隐藏健康状态;当所有会话空闲时恢复显示。 - 菜单中的"节点"区块仅列出\*\*设备\*\*(通过 `node.list` 配对的节点),不包括客户端/在线状态条目。 - 当提供商用量快照可用时,"用量"部分会显示在上下文下方。 ## 状态模型 - 会话:事件携带 `runId`(每次运行)以及载荷中的 `sessionKey`。"main" 会话的键为 `main`;如果不存在,则回退到最近更新的会话。 - 优先级:main 始终优先。如果 main 处于活跃状态,立即显示其状态。如果 main 空闲,则显示最近... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/menu-bar.md | main | opebclaw | [
-0.026531025767326355,
0.05127032473683357,
-0.013358816504478455,
-0.04685205593705177,
-0.010460369288921356,
0.031575072556734085,
0.09733270108699799,
0.019827529788017273,
-0.002222070936113596,
-0.011325189843773842,
0.16784676909446716,
-0.04402755945920944,
0.035432957112789154,
-0... | 0.051373 |
# macOS 权限(TCC) macOS 权限授予是脆弱的。TCC 将权限授予与应用的代码签名、Bundle 标识符和磁盘路径关联。如果其中任何一项发生变化,macOS 会将该应用视为新应用,可能会丢弃或隐藏权限提示。 ## 稳定权限的要求 - 相同路径:从固定位置运行应用(对于 OpenClaw,为 `dist/OpenClaw.app`)。 - 相同 Bundle 标识符:更改 Bundle ID 会创建新的权限身份。 - 已签名的应用:未签名或临时签名的构建不会持久化权限。 - 一致的签名:使用真实的 Apple Development 或 Developer ID 证书,以确保签名在多次构建之间保持稳定。 临时签名每次构建... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/permissions.md | main | opebclaw | [
-0.0951199159026146,
0.03245531767606735,
-0.004663795232772827,
-0.06732054054737091,
0.021941110491752625,
-0.022533375769853592,
-0.01863871142268181,
0.04809687286615372,
0.015325351618230343,
0.035997174680233,
0.19572453200817108,
-0.04319433495402336,
0.04431482031941414,
-0.0361609... | 0.103078 |
# macOS 上的 Gateway 网关(外部 launchd) OpenClaw.app 不再捆绑 Node/Bun 或 Gateway 网关运行时。macOS 应用期望有一个\*\*外部\*\*的 `openclaw` CLI 安装,不会将 Gateway 网关作为子进程启动,而是管理一个每用户的 launchd 服务来保持 Gateway 网关运行(或者如果已有本地 Gateway 网关正在运行,则连接到现有的)。 ## 安装 CLI(本地模式必需) 你需要在 Mac 上安装 Node 22+,然后全局安装 `openclaw`: ```bash npm install -g openclaw@ ``` macOS 应用的\... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/bundled-gateway.md | main | opebclaw | [
-0.008456532843410969,
0.00925544835627079,
0.00903947651386261,
-0.04970012605190277,
0.001658306224271655,
-0.09582176059484482,
-0.04368416219949722,
0.018086398020386696,
-0.016400020569562912,
0.008331292308866978,
0.1281708925962448,
-0.015466999262571335,
0.038379114121198654,
-0.03... | 0.094987 |
# Canvas(macOS 应用) macOS 应用使用 `WKWebView` 嵌入一个智能体控制的 \*\*Canvas 面板\*\*。它是一个用于 HTML/CSS/JS、A2UI 和小型交互式界面的轻量级可视化工作区。 ## Canvas 存储位置 Canvas 状态存储在 Application Support 下: - `~/Library/Application Support/OpenClaw/canvas//...` Canvas 面板通过\*\*自定义 URL 方案\*\*提供这些文件: - `openclaw-canvas:///` 示例: - `openclaw-canvas://main/` → `/ma... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/canvas.md | main | opebclaw | [
-0.0969187319278717,
0.03429097309708595,
0.03739091008901596,
-0.03477310761809349,
0.06367944926023483,
-0.06332046538591385,
0.050934456288814545,
-0.004318724852055311,
-0.0016801448073238134,
-0.025552863255143166,
0.050060346722602844,
-0.015286009758710861,
0.002396981231868267,
0.0... | 0.08366 |
# WebChat(macOS 应用) macOS 菜单栏应用将 WebChat UI 嵌入为原生 SwiftUI 视图。它连接到 Gateway 网关,默认使用所选智能体的\*\*主会话\*\*(带有会话切换器用于其他会话)。 - \*\*本地模式\*\*:直接连接到本地 Gateway 网关 WebSocket。 - \*\*远程模式\*\*:通过 SSH 转发 Gateway 网关控制端口,并使用该隧道作为数据平面。 ## 启动和调试 - 手动:Lobster 菜单 → "Open Chat"。 - 测试时自动打开: ```bash dist/OpenClaw.app/Contents/MacOS/OpenClaw --web... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/webchat.md | main | opebclaw | [
-0.02598722092807293,
0.004954935051500797,
0.029767632484436035,
-0.05910278856754303,
-0.008424791507422924,
-0.12914231419563293,
0.06415335088968277,
-0.04741356149315834,
0.038686979562044144,
-0.028106072917580605,
0.1232646256685257,
-0.07374847680330276,
0.008209431543946266,
0.023... | 0.09579 |
# 语音浮层生命周期(macOS) 受众:macOS 应用贡献者。目标:在唤醒词与按键说话重叠时保持语音浮层行为可预测。 ### 当前意图 - 如果浮层已因唤醒词显示,此时用户按下热键,热键会话会\*接管\*现有文本而非重置。浮层在热键按住期间保持显示。用户松开时:如果有去除空白后的文本则发送,否则关闭。 - 单独使用唤醒词时仍在静音后自动发送;按键说话在松开时立即发送。 ### 已实现(2025 年 12 月 9 日) - 浮层会话现在为每次捕获(唤醒词或按键说话)携带一个令牌。当令牌不匹配时,部分/最终/发送/关闭/音量更新会被丢弃,避免过时回调。 - 按键说话会接管任何可见的浮层文本作为前缀(因此在唤醒浮层显示时按下热键会保留... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/voice-overlay.md | main | opebclaw | [
-0.02669709175825119,
0.041129373013973236,
0.05774518847465515,
-0.07056110352277756,
-0.03623666614294052,
0.012665638700127602,
0.0034852311946451664,
-0.009482202120125294,
-0.0008447776781395078,
0.008901890367269516,
0.20796038210391998,
-0.08414696156978607,
0.039243653416633606,
-0... | 0.063941 |
# OpenClaw macOS IPC 架构 \*\*当前模型:\*\* 一个本地 Unix 套接字将\*\*节点主机服务\*\*连接到 \*\*macOS 应用\*\*,用于 exec 审批 + `system.run`。存在一个 `openclaw-mac` 调试 CLI 用于发现/连接检查;智能体操作仍通过 Gateway 网关 WebSocket 和 `node.invoke` 流转。UI 自动化使用 PeekabooBridge。 ## 目标 - 单个 GUI 应用实例拥有所有面向 TCC 的工作(通知、屏幕录制、麦克风、语音、AppleScript)。 - 小型自动化接口:Gateway 网关 + 节点命令,加上用于 ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/xpc.md | main | opebclaw | [
-0.09548740088939667,
0.010050239972770214,
-0.02246432937681675,
-0.0707288458943367,
-0.008927259594202042,
-0.06545085459947586,
0.03432080149650574,
0.04534826800227165,
0.018062302842736244,
-0.012882472015917301,
0.1235530823469162,
-0.06457044929265976,
0.06184264272451401,
-0.05234... | 0.182343 |
# 语音唤醒与按键通话 ## 模式 - \*\*唤醒词模式\*\*(默认):常驻语音识别器等待触发词(`swabbleTriggerWords`)。匹配时开始捕获,显示带有部分文本的悬浮窗,并在静默后自动发送。 - \*\*按键通话(按住右 Option 键)\*\*:按住右 Option 键立即开始捕获——无需触发词。按住时显示悬浮窗;松开后延迟片刻再最终转发,以便你可以调整文本。 ## 运行时行为(唤醒词) - 语音识别器位于 `VoiceWakeRuntime` 中。 - 仅当唤醒词和下一个词之间有\*\*明显停顿\*\*(约 0.55 秒间隔)时才触发。悬浮窗/提示音可以在命令开始前的停顿时就启动。 - 静默窗口:语音流畅时... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/voicewake.md | main | opebclaw | [
-0.07883670926094055,
0.07172530144453049,
0.04376043379306793,
-0.05101217329502106,
-0.0074905334040522575,
0.022061316296458244,
0.07346542924642563,
0.0396084263920784,
-0.012839416041970253,
0.015052991919219494,
0.14426609873771667,
-0.08228404819965363,
0.04586660489439964,
0.014260... | 0.031419 |
# OpenClaw macOS 发布(Sparkle) 本应用现已支持 Sparkle 自动更新。发布构建必须经过 Developer ID 签名、压缩,并发布包含签名的 appcast 条目。 ## 前提条件 - 已安装 Developer ID Application 证书(示例:`Developer ID Application: ()`)。 - 环境变量 `SPARKLE\_PRIVATE\_KEY\_FILE` 已设置为 Sparkle ed25519 私钥路径(公钥已嵌入 Info.plist)。如果缺失,请检查 `~/.profile`。 - 用于 `xcrun notarytool` 的公证凭据(钥匙串配置文件或 ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/release.md | main | opebclaw | [
-0.06401175260543823,
0.021151917055249214,
-0.04895086586475372,
-0.08691971749067307,
-0.006893870420753956,
-0.05666298791766167,
0.05700397863984108,
0.07377654314041138,
0.0014736761804670095,
-0.022627005353569984,
0.12151533365249634,
-0.0414021797478199,
0.0887664258480072,
-0.0728... | 0.045349 |
# Skills(macOS) macOS 应用通过 Gateway 网关展示 OpenClaw Skills;它不会在本地解析 Skills。 ## 数据来源 - `skills.status`(Gateway 网关)返回所有 Skills 以及资格和缺失的要求 (包括内置 Skills 的允许列表阻止情况)。 - 要求来源于每个 `SKILL.md` 中的 `metadata.openclaw.requires`。 ## 安装操作 - `metadata.openclaw.install` 定义安装选项(brew/node/go/uv)。 - 应用调用 `skills.install` 在 Gateway 网关主机上运行安装器。... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/skills.md | main | opebclaw | [
-0.02995580993592739,
0.005134923849254847,
-0.06808032095432281,
0.006684086285531521,
0.012014161795377731,
-0.07306027412414551,
-0.05928608030080795,
-0.008887686766684055,
-0.04000743106007576,
-0.0453949011862278,
0.07929003238677979,
-0.08304912596940994,
0.03085891343653202,
-0.019... | 0.054129 |
# 日志(macOS) ## 滚动诊断文件日志(Debug 面板) OpenClaw 通过 swift-log(默认使用统一日志)路由 macOS 应用日志,并且在需要持久化捕获时可以将本地轮转文件日志写入磁盘。 - 详细级别:\*\*Debug 面板 → Logs → App logging → Verbosity\*\* - 启用:\*\*Debug 面板 → Logs → App logging → "Write rolling diagnostics log (JSONL)"\*\* - 位置:`~/Library/Logs/OpenClaw/diagnostics.jsonl`(自动轮转;旧文件以 `.1`、`.2`、… ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/logging.md | main | opebclaw | [
-0.04745294898748398,
0.07158753275871277,
0.009704910218715668,
-0.007368938997387886,
0.007135448046028614,
-0.09760752320289612,
0.08254797756671906,
0.0011904005659744143,
0.009354770183563232,
0.012997970916330814,
0.09998811781406403,
-0.07672958821058273,
0.02633991837501526,
0.0390... | 0.130856 |
# Mac 签名(调试构建) 此应用通常从 [`scripts/package-mac-app.sh`](https://github.com/openclaw/openclaw/blob/main/scripts/package-mac-app.sh) 构建,该脚本目前会: - 设置稳定的调试 Bundle 标识符:`ai.openclaw.mac.debug` - 使用该 Bundle ID 写入 Info.plist(可通过 `BUNDLE\_ID=...` 覆盖) - 调用 [`scripts/codesign-mac-app.sh`](https://github.com/openclaw/openclaw/blob/ma... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/signing.md | main | opebclaw | [
-0.10810072720050812,
0.048958513885736465,
-0.039006974548101425,
-0.08055972307920456,
0.01746547408401966,
-0.03312629461288452,
0.03679904341697693,
0.06869632750749588,
-0.0031352464575320482,
0.06456544250249863,
0.17943643033504486,
-0.04255454242229462,
0.06401040405035019,
-0.0314... | 0.15931 |
# 菜单栏图标状态 作者:steipete · 更新时间:2025-12-06 · 范围:macOS 应用(`apps/macos`) - \*\*空闲:\*\* 正常图标动画(眨眼、偶尔摆动)。 - \*\*暂停:\*\* 状态项使用 `appearsDisabled`;无动画。 - \*\*语音触发(大耳朵):\*\* 语音唤醒检测器在听到唤醒词时调用 `AppState.triggerVoiceEars(ttl: nil)`,在捕获语音期间保持 `earBoostActive=true`。耳朵放大(1.9 倍),显示圆形耳孔以提高可读性,然后在 1 秒静音后通过 `stopVoiceEars()` 恢复。仅由应用内语音管道触发... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/icon.md | main | opebclaw | [
-0.05465174838900566,
-0.018387697637081146,
0.046110738068819046,
-0.09098927676677704,
0.004134617280215025,
-0.001950140343979001,
0.03259152173995972,
-0.007498465944081545,
0.03104923851788044,
-0.0012446815380826592,
0.11520247906446457,
-0.03089878149330616,
0.06434358656406403,
-0.... | 0.024412 |
# Peekaboo Bridge(macOS UI 自动化) OpenClaw 可以将 \*\*PeekabooBridge\*\* 作为本地的、权限感知的 UI 自动化代理进行托管。这使得 `peekaboo` CLI 能够驱动 UI 自动化,同时复用 macOS 应用的 TCC 权限。 ## 这是什么(以及不是什么) - \*\*宿主\*\*:OpenClaw.app 可以作为 PeekabooBridge 宿主。 - \*\*客户端\*\*:使用 `peekaboo` CLI(无需单独的 `openclaw ui ...` 界面)。 - \*\*界面\*\*:视觉叠加层保留在 Peekaboo.app 中;OpenClaw ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/peekaboo.md | main | opebclaw | [
-0.03892073035240173,
0.02251213602721691,
0.0652356669306755,
-0.10241217911243439,
-0.04701026901602745,
-0.095168337225914,
0.027685772627592087,
-0.053486019372940063,
0.03022542968392372,
-0.020112184807658195,
0.1121114119887352,
-0.08905266225337982,
0.034158069640398026,
-0.0612431... | 0.069104 |
# macOS 开发者设置 本指南涵盖从源代码构建和运行 OpenClaw macOS 应用程序的必要步骤。 ## 前置条件 在构建应用之前,确保你已安装以下内容: 1. \*\*Xcode 26.2+\*\*:Swift 开发所需。 2. \*\*Node.js 22+ & pnpm\*\*:Gateway 网关、CLI 和打包脚本所需。 ## 1. 安装依赖 安装项目范围的依赖: ```bash pnpm install ``` ## 2. 构建和打包应用 要构建 macOS 应用并将其打包到 `dist/OpenClaw.app`,运行: ```bash ./scripts/package-mac-app.sh ``` 如果你... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/dev-setup.md | main | opebclaw | [
-0.0008381549851037562,
-0.04798632487654686,
-0.02664530836045742,
-0.02919369749724865,
0.05340548977255821,
-0.07664019614458084,
0.003170294687151909,
0.029228316619992256,
-0.035377386957407,
0.02673429250717163,
0.15716829895973206,
-0.06820676475763321,
-0.03732548654079437,
0.00711... | 0.067286 |
# macOS 上的 Gateway 网关生命周期 macOS 应用\*\*默认通过 launchd 管理 Gateway 网关\*\*,不会将 Gateway 网关作为子进程生成。它首先尝试连接到配置端口上已运行的 Gateway 网关;如果无法访问,它会通过外部 `openclaw` CLI(无嵌入式运行时)启用 launchd 服务。这为你提供了可靠的登录时自动启动和崩溃后重启。 子进程模式(由应用直接生成 Gateway 网关)\*\*目前未使用\*\*。 如果你需要与 UI 更紧密的耦合,请在终端中手动运行 Gateway 网关。 ## 默认行为(launchd) - 应用安装标记为 `bot.molt.gateway` ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/child-process.md | main | opebclaw | [
-0.05770687386393547,
0.0229109488427639,
-0.017909150570631027,
-0.07969845831394196,
-0.012146239168941975,
-0.03538735583424568,
0.0240863636136055,
0.038064610213041306,
0.023366708308458328,
-0.041029952466487885,
0.13392853736877441,
-0.03489008918404579,
0.07922138273715973,
-0.0544... | 0.050416 |
# macOS 上的健康检查 如何从菜单栏应用查看关联渠道是否健康。 ## 菜单栏 - 状态圆点现在反映 Baileys 健康状态: - 绿色:已关联 + socket 最近已打开。 - 橙色:正在连接/重试。 - 红色:已登出或探测失败。 - 第二行显示"linked · auth 12m"或显示失败原因。 - "Run Health Check"菜单项触发按需探测。 ## 设置 - 通用选项卡新增健康卡片,显示:关联认证时间、会话存储路径/数量、上次检查时间、上次错误/状态码,以及运行健康检查/显示日志按钮。 - 使用缓存快照,因此 UI 立即加载,离线时优雅降级。 - \*\*渠道选项卡\*\*显示渠道状态 + WhatsAp... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/health.md | main | opebclaw | [
-0.05042588338255882,
0.07418902218341827,
-0.005541110411286354,
-0.0815880298614502,
-0.04149940237402916,
-0.007587925065308809,
0.09165233373641968,
0.013921942561864853,
-0.013875937089323997,
-0.006577142979949713,
0.18587899208068848,
-0.043549101799726486,
0.06833665072917938,
-0.0... | 0.051954 |
# 远程 OpenClaw(macOS ⇄ 远程主机) 此流程让 macOS 应用作为运行在另一台主机(桌面/服务器)上的 OpenClaw Gateway 网关的完整远程控制。这是应用的 \*\*Remote over SSH\*\*(远程运行)功能。所有功能——健康检查、语音唤醒转发和 Web Chat——都重用来自 \_Settings → General\_ 的相同远程 SSH 配置。 ## 模式 - \*\*Local (this Mac)\*\*:一切都在笔记本电脑上运行。不涉及 SSH。 - \*\*Remote over SSH(默认)\*\*:OpenClaw 命令在远程主机上执行。mac 应用使用 `-o Bat... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/platforms/mac/remote.md | main | opebclaw | [
-0.01316867582499981,
0.004603662993758917,
0.021766750141978264,
-0.07308413833379745,
-0.020094772800803185,
-0.07635042816400528,
-0.0016112427692860365,
-0.02887258492410183,
0.030446358025074005,
-0.017579594627022743,
0.17075924575328827,
-0.039750296622514725,
0.040574438869953156,
... | 0.095793 |
# apply\_patch 工具 使用结构化补丁格式应用文件更改。这非常适合多文件 或多段编辑,在这些场景下单次 `edit` 调用会很脆弱。 该工具接受一个 `input` 字符串,其中包含一个或多个文件操作: ``` \*\*\* Begin Patch \*\*\* Add File: path/to/file.txt +line 1 +line 2 \*\*\* Update File: src/app.ts @@ -old line +new line \*\*\* Delete File: obsolete.txt \*\*\* End Patch ``` ## 参数 - `input`(必需):完整的补丁内容,包括 ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/apply-patch.md | main | opebclaw | [
-0.10176414251327515,
0.055542971938848495,
-0.01593063212931156,
-0.0539562925696373,
-0.041914209723472595,
0.011771867983043194,
0.052314288914203644,
0.03445079177618027,
0.008051030337810516,
0.0882454663515091,
0.11576105654239655,
-0.011760160326957703,
0.026692526414990425,
-0.0484... | 0.093671 |
# 斜杠命令 命令由 Gateway 网关处理。大多数命令必须作为以 `/` 开头的\*\*独立\*\*消息发送。 仅主机的 bash 聊天命令使用 `! `(`/bash ` 是别名)。 有两个相关系统: - \*\*命令\*\*:独立的 `/...` 消息。 - \*\*指令\*\*:`/think`、`/verbose`、`/reasoning`、`/elevated`、`/exec`、`/model`、`/queue`。 - 指令在模型看到消息之前被剥离。 - 在普通聊天消息中(不是仅指令消息),它们被视为"内联提示",\*\*不会\*\*持久化会话设置。 - 在仅指令消息中(消息只包含指令),它们会持久化到会话并回复确认。... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/slash-commands.md | main | opebclaw | [
-0.037759918719530106,
0.05632326379418373,
0.015705976635217667,
-0.06022470444440842,
-0.05562681332230568,
0.0023954950738698244,
0.06760044395923615,
-0.015521788969635963,
0.07180625200271606,
-0.012259552255272865,
0.1679733395576477,
-0.0528809130191803,
0.08106517046689987,
-0.0504... | 0.035115 |
`/openclaw` 风格的命令。如果你启用 `commands.native`,你必须为每个内置命令创建一个 Slack 斜杠命令(与 `/help` 相同的名称)。Slack 的命令参数菜单以临时 Block Kit 按钮形式发送。 | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/slash-commands.md | main | opebclaw | [
-0.06908158212900162,
-0.00256745726801455,
-0.0661710575222969,
0.025182263925671577,
0.0010037601459771395,
-0.0842374861240387,
0.010315604507923126,
0.052904486656188965,
-0.04730711877346039,
-0.031208684667944908,
0.08008461445569992,
-0.08887121826410294,
-0.004937817342579365,
-0.0... | 0.12475 |
# Lobster Lobster 是一个工作流外壳,让 OpenClaw 能够将多步骤工具序列作为单个确定性操作运行,并带有显式审批检查点。 ## 亮点 你的助手可以构建管理自身的工具。请求一个工作流,30 分钟后你就有了一个 CLI 和作为单次调用运行的管道。Lobster 是缺失的那一块:确定性管道、显式审批和可恢复状态。 ## 为什么 如今,复杂的工作流需要多次来回的工具调用。每次调用都消耗 token,LLM 必须编排每一步。Lobster 将这种编排移入类型化运行时: - \*\*一次调用代替多次\*\*:OpenClaw 运行一次 Lobster 工具调用并获得结构化结果。 - \*\*内置审批\*\*:副作用(发送邮... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/lobster.md | main | opebclaw | [
-0.06123196333646774,
0.015475071966648102,
-0.008836673572659492,
-0.07522491365671158,
-0.07520090788602829,
-0.08469986170530319,
0.03474508598446846,
0.009509076364338398,
0.02652127854526043,
-0.05890771001577377,
0.12169858068227768,
-0.06718777865171432,
0.06481124460697174,
-0.0042... | 0.037998 |
stdout 超过此大小则终止子进程(默认:512000)。 - `argsJson`:传递给 `lobster run --args-json` 的 JSON 字符串(仅限工作流文件)。 ## 输出信封 Lobster 返回一个具有三种状态之一的 JSON 信封: - `ok` → 成功完成 - `needs\_approval` → 已暂停;需要 `requiresApproval.resumeToken` 才能恢复 - `cancelled` → 明确拒绝或取消 工具在 `content`(格式化 JSON)和 `details`(原始对象)中都显示信封。 ## 审批 如果存在 `requiresApproval`,检查提示并... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/lobster.md | main | opebclaw | [
-0.07048406451940536,
0.0427231565117836,
-0.04028477892279625,
-0.03664236143231392,
0.02040056511759758,
-0.05782896652817726,
0.011203443631529808,
0.0343884639441967,
-0.013846217654645443,
-0.04669775068759918,
0.09246126562356949,
-0.06968938559293747,
0.06708858162164688,
-0.0256627... | 0.083485 |
# ClawHub ClawHub 是 \*\*OpenClaw 的公共 Skills 注册中心\*\*。它是一项免费服务:所有 Skills 都是公开的、开放的,所有人都可以查看、共享和复用。Skills 就是一个包含 `SKILL.md` 文件(以及辅助文本文件)的文件夹。你可以在网页应用中浏览 Skills,也可以使用 CLI 来搜索、安装、更新和发布 Skills。 网站:[clawhub.com](https://clawhub.com) ## 适用人群(新手友好) 如果你想为 OpenClaw 智能体添加新功能,ClawHub 是查找和安装 Skills 的最简单方式。你不需要了解后端的工作原理。你可以: - 使用自然语... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/clawhub.md | main | opebclaw | [
-0.07813350856304169,
0.05679447948932648,
0.006746968720108271,
-0.019580384716391563,
-0.09922753274440765,
-0.014366128481924534,
0.017822571098804474,
-0.01441733818501234,
-0.0608690045773983,
-0.012302784249186516,
0.09686744958162308,
-0.04292529821395874,
0.0688706487417221,
-0.003... | 0.022764 |
# 执行审批 执行审批是\*\*配套应用/节点主机的安全护栏\*\*,用于允许沙箱隔离的智能体在真实主机(`gateway` 或 `node`)上运行命令。可以将其理解为安全联锁:只有当策略 + 允许列表 +(可选的)用户审批都同意时,命令才会被允许执行。 执行审批是\*\*附加于\*\*工具策略和提权门控之上的(除非 elevated 设置为 `full`,这会跳过审批)。 生效策略取 `tools.exec.\*` 和审批默认值中\*\*更严格\*\*的一方;如果审批字段被省略,则使用 `tools.exec` 的值。 如果配套应用 UI \*\*不可用\*\*,任何需要提示的请求都将由 \*\*ask fallback\*\*... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/exec-approvals.md | main | opebclaw | [
-0.10385343432426453,
0.07654275745153427,
-0.035899918526411057,
-0.046703893691301346,
-0.01909634843468666,
-0.04920583963394165,
0.03132464364171028,
0.022699277848005295,
-0.011947440914809704,
0.029288336634635925,
0.16149891912937164,
-0.06584335118532181,
0.05265335366129875,
-0.05... | 0.09749 |
# 思考级别(/think 指令) ## 功能说明 - 在任何入站消息正文中使用内联指令:`/t `、`/think:` 或 `/thinking `。 - 级别(别名):`off | minimal | low | medium | high | xhigh`(仅 GPT-5.2 + Codex 模型) - minimal → "think" - low → "think hard" - medium → "think harder" - high → "ultrathink"(最大预算) - xhigh → "ultrathink+"(仅 GPT-5.2 + Codex 模型) - `highest`、`max` 映射为 `hi... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/thinking.md | main | opebclaw | [
-0.007301339413970709,
-0.0037829498760402203,
0.010571716353297234,
-0.02831273153424263,
-0.011104888282716274,
-0.05083346366882324,
0.06820034235715866,
0.12864843010902405,
0.021002499386668205,
-0.039987705647945404,
0.08655048906803131,
-0.021017929539084435,
0.08528141677379608,
-0... | 0.045318 |
# LLM 任务 `llm-task` 是一个\*\*可选插件工具\*\*,用于运行纯 JSON 的 LLM 任务并返回结构化输出(可选择根据 JSON Schema 进行验证)。 这非常适合像 Lobster 这样的工作流引擎:你可以添加单个 LLM 步骤,而无需为每个工作流编写自定义 OpenClaw 代码。 ## 启用插件 1. 启用插件: ```json { "plugins": { "entries": { "llm-task": { "enabled": true } } } } ``` 2. 将工具加入允许列表(它以 `optional: true` 注册): ```json { "agents": { "list":... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/llm-task.md | main | opebclaw | [
-0.059170763939619064,
0.038016315549612045,
-0.014762882143259048,
-0.0070602321065962315,
0.012990708462893963,
0.017368223518133163,
0.0017654099501669407,
0.014683476649224758,
-0.00041120420792140067,
-0.031340546905994415,
0.048728443682193756,
-0.05701068788766861,
0.01973117887973785... | 0.058388 |
# 浏览器(openclaw 托管) OpenClaw 可以运行一个由智能体控制的\*\*专用 Chrome/Brave/Edge/Chromium 配置文件\*\*。 它与你的个人浏览器隔离,通过 Gateway 网关内部的小型本地控制服务进行管理(仅限 loopback)。 新手视角: - 把它想象成一个\*\*独立的、仅供智能体使用的浏览器\*\*。 - `openclaw` 配置文件\*\*不会\*\*触及你的个人浏览器配置文件。 - 智能体可以在安全的通道中\*\*打开标签页、读取页面、点击和输入\*\*。 - 默认的 `chrome` 配置文件通过扩展中继使用\*\*系统默认的 Chromium 浏览器\*\*;切换到 ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser.md | main | opebclaw | [
-0.0596047081053257,
0.028195464983582497,
-0.02677249349653721,
-0.006931660231202841,
-0.03086058981716633,
-0.039100732654333115,
-0.014819912612438202,
-0.016423577442765236,
-0.016047026962041855,
-0.035353973507881165,
0.15979693830013275,
-0.04347808659076691,
-0.003145849099382758,
... | 0.024846 |
extension path` 打印的目录 - 固定扩展,然后在你想要控制的标签页上点击它(徽章显示 `ON`)。 2. 使用它: - CLI:`openclaw browser --browser-profile chrome tabs` - 智能体工具:`browser` 配合 `profile="chrome"` 可选:如果你想要不同的名称或中继端口,创建你自己的配置文件: ```bash openclaw browser create-profile \ --name my-chrome \ --driver extension \ --cdp-url http://127.0.0.1:18792 \ --color "#0... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser.md | main | opebclaw | [
-0.010786684229969978,
0.024768715724349022,
-0.07159621268510818,
-0.04346679151058197,
0.02019966021180153,
-0.01938468962907791,
-0.0020583958830684423,
0.04370434582233429,
-0.06629405170679092,
-0.07766043394804001,
0.11027157306671143,
-0.06433365494012833,
0.022929983213543892,
0.01... | 0.021013 |
cookies clear` - `openclaw browser storage local get` - `openclaw browser storage local set theme dark` - `openclaw browser storage session clear` - `openclaw browser set offline on` - `openclaw browser set headers --json '{"X-Debug":"1"}'` - `openclaw browser set credentials user pass` - `openclaw browser set credenti... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser.md | main | opebclaw | [
-0.03877440467476845,
0.02992572821676731,
-0.045047827064991,
0.010708204470574856,
-0.024956965819001198,
-0.11495514214038849,
-0.00923384353518486,
-0.036234281957149506,
-0.026943013072013855,
-0.04774307832121849,
0.051984675228595734,
-0.03329593688249588,
0.0014908493030816317,
0.0... | 0.010388 |
需要 `agents.defaults.sandbox.browser.allowHostControl=true`。 - 如果省略 `target`:沙箱会话默认为 `sandbox`,非沙箱会话默认为 `host`。 - 如果连接了具有浏览器能力的节点,工具可能会自动路由到该节点,除非你指定 `target="host"` 或 `target="node"`。 这使智能体保持确定性并避免脆弱的选择器。 | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser.md | main | opebclaw | [
0.07548735290765762,
-0.007807600311934948,
-0.05786309763789177,
-0.029186395928263664,
0.03179508075118065,
-0.020529281347990036,
0.010806192643940449,
-0.07697051763534546,
-0.012607323937118053,
0.002731781452894211,
0.0909043401479721,
-0.07089876383543015,
0.060867615044116974,
0.02... | 0.119798 |
# 浏览器登录 + X/Twitter 发帖 ## 手动登录(推荐) 当网站需要登录时,请在\*\*主机\*\*浏览器配置文件(openclaw 浏览器)中\*\*手动登录\*\*。 \*\*不要\*\*将你的凭证提供给模型。自动登录通常会触发反机器人防御并可能锁定账户。 返回主浏览器文档:[浏览器](/tools/browser)。 ## 使用哪个 Chrome 配置文件? OpenClaw 控制一个\*\*专用的 Chrome 配置文件\*\*(名为 `openclaw`,橙色调 UI)。这与你的日常浏览器配置文件是分开的。 两种简单的访问方式: 1. \*\*让智能体打开浏览器\*\*,然后你自己登录。 2. \*\*通过 C... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser-login.md | main | opebclaw | [
-0.10129719972610474,
0.04053451120853424,
-0.006728676147758961,
-0.04987797886133194,
-0.01000040303915739,
-0.05091262608766556,
0.04245155677199364,
-0.04661213979125023,
0.034547630697488785,
-0.022881759330630302,
0.15846136212348938,
-0.08681559562683105,
0.06437264382839203,
-0.027... | 0.03125 |
# Firecrawl OpenClaw 可以使用 \*\*Firecrawl\*\* 作为 `web\_fetch` 的回退提取器。它是一个托管的 内容提取服务,支持机器人规避和缓存,有助于处理 JS 密集型网站或阻止普通 HTTP 请求的页面。 ## 获取 API 密钥 1. 创建 Firecrawl 账户并生成 API 密钥。 2. 将其存储在配置中或在 Gateway 网关环境中设置 `FIRECRAWL\_API\_KEY`。 ## 配置 Firecrawl ```json5 { tools: { web: { fetch: { firecrawl: { apiKey: "FIRECRAWL\_API\_KEY\_HERE... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/firecrawl.md | main | opebclaw | [
-0.06764309853315353,
0.05915829539299011,
-0.053398218005895615,
0.004789005033671856,
-0.005505915731191635,
-0.09622867405414581,
-0.05876963958144188,
-0.029286768287420273,
0.0185807216912508,
-0.06017571687698364,
0.020635884255170822,
-0.05323277786374092,
-0.01827632077038288,
0.00... | 0.011329 |
# `openclaw agent`(直接智能体运行) `openclaw agent` 运行单个智能体回合,无需入站聊天消息。 默认情况下它\*\*通过 Gateway 网关\*\*运行;添加 `--local` 以强制在当前机器上使用嵌入式运行时。 ## 行为 - 必需:`--message ` - 会话选择: - `--to ` 派生会话键(群组/频道目标保持隔离;直接聊天折叠到 `main`),\*\*或\*\* - `--session-id ` 通过 ID 重用现有会话,\*\*或\*\* - `--agent ` 直接定位已配置的智能体(使用该智能体的 `main` 会话键) - 运行与正常入站回复相同的嵌入式智能体运... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/agent-send.md | main | opebclaw | [
-0.05529594421386719,
0.08393558859825134,
-0.07964134961366653,
-0.06394561380147934,
-0.06266064941883087,
0.020718300715088844,
0.028062019497156143,
0.0015036449767649174,
0.024452975019812584,
0.036834802478551865,
0.17597104609012604,
-0.026698702946305275,
0.022110946476459503,
-0.0... | 0.037583 |
# 子智能体 子智能体是从现有智能体运行中生成的后台智能体运行。它们在自己的会话中运行(`agent::subagent:`),完成后将结果\*\*通告\*\*回请求者的聊天渠道。 ## 斜杠命令 使用 `/subagents` 检查或控制\*\*当前会话\*\*的子智能体运行: - `/subagents list` - `/subagents stop ` - `/subagents log [limit] [tools]` - `/subagents info ` - `/subagents send ` `/subagents info` 显示运行元数据(状态、时间戳、会话 id、转录路径、清理)。 主要目标: - 并行化"... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/subagents.md | main | opebclaw | [
-0.03390688821673393,
0.04559216648340225,
-0.033568546175956726,
-0.04541516676545143,
-0.00646318169310689,
0.010845283046364784,
0.05027161166071892,
0.002494805958122015,
0.0041888318955898285,
0.03389705345034599,
0.18584474921226501,
-0.01081219781190157,
-0.010223202407360077,
0.017... | -0.029246 |
# Skills(OpenClaw) OpenClaw 使用\*\*兼容 [AgentSkills](https://agentskills.io)\*\* 的 Skills 文件夹来教智能体如何使用工具。每个 Skills 是一个包含带有 YAML frontmatter 和说明的 `SKILL.md` 的目录。OpenClaw 加载\*\*内置 Skills\*\* 以及可选的本地覆盖,并在加载时根据环境、配置和二进制文件存在情况进行过滤。 ## 位置和优先级 Skills 从\*\*三个\*\*位置加载: 1. \*\*内置 Skills\*\*:随安装包一起发布(npm 包或 OpenClaw.app) 2. \*\*托管/... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/skills.md | main | opebclaw | [
-0.027914386242628098,
0.04540739953517914,
-0.01874261535704136,
-0.0390484556555748,
0.0021138915326446295,
-0.014980209991335869,
0.05643584951758385,
-0.025337884202599525,
-0.03713144734501839,
0.004712875001132488,
0.12196660786867142,
-0.0877242311835289,
0.026196423918008804,
-0.00... | 0.109215 |
的白名单。如果设置,只有列表中的内置 Skills 才有资格(托管/工作区 Skills 不受影响)。 ## 环境变量注入(每次智能体运行) 当智能体运行开始时,OpenClaw: 1. 读取 Skills 元数据。 2. 将任何 `skills.entries..env` 或 `skills.entries..apiKey` 应用到 `process.env`。 3. 使用\*\*有资格的\*\* Skills 构建系统提示词。 4. 在运行结束后恢复原始环境。 这是\*\*限定于智能体运行范围内的\*\*,不是全局 shell 环境。 ## 会话快照(性能) OpenClaw 在\*\*会话开始时\*\*对有资格的 Skills... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/skills.md | main | opebclaw | [
-0.03777819871902466,
0.03000292181968689,
-0.0339641198515892,
-0.031598374247550964,
-0.047398749738931656,
-0.018606996163725853,
0.02947220206260681,
-0.0008481734548695385,
-0.013105791062116623,
0.02098732255399227,
0.16631661355495453,
-0.04584205150604248,
0.0210567694157362,
-0.02... | 0.023263 |
# 工具(OpenClaw) OpenClaw 为 browser、canvas、nodes 和 cron 暴露\*\*一流的智能体工具\*\*。 这些工具取代了旧的 `openclaw-\*` Skills:工具是类型化的,无需调用 shell, 智能体应该直接依赖它们。 ## 禁用工具 你可以通过 `openclaw.json` 中的 `tools.allow` / `tools.deny` 全局允许/拒绝工具 (deny 优先)。这会阻止不允许的工具被发送到模型提供商。 ```json5 { tools: { deny: ["browser"] }, } ``` 注意: - 匹配不区分大小写。 - 支持 `\*` 通配符(`"... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/index.md | main | opebclaw | [
-0.10550076514482498,
0.07376934587955475,
-0.06075222045183182,
-0.05097115412354469,
-0.008891806937754154,
-0.10458551347255707,
-0.03295088931918144,
-0.005515765398740768,
-0.004717441741377115,
-0.02081928960978985,
0.09353964030742645,
-0.029998373240232468,
0.0188512671738863,
0.03... | 0.089563 |
+ 连字符(最多 64 字符)。 - 端口范围:18800-18899(最多约 100 个配置文件)。 - 远程配置文件仅支持附加(无 start/stop/reset)。 - 如果连接了支持浏览器的节点,工具可能会自动路由到它(除非你固定了 `target`)。 - 安装 Playwright 时 `snapshot` 默认为 `ai`;使用 `aria` 获取无障碍树。 - `snapshot` 还支持角色快照选项(`interactive`、`compact`、`depth`、`selector`),返回像 `e12` 这样的引用。 - `act` 需要来自 `snapshot` 的 `ref`(AI 快照中的数字 `12`,... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/index.md | main | opebclaw | [
-0.07988518476486206,
-0.03440428897738457,
-0.050149258226156235,
-0.0746280699968338,
0.010202784091234207,
0.053891997784376144,
0.02188870683312416,
0.04721284285187721,
0.041536953300237656,
0.02424296736717224,
0.08595571666955948,
-0.017657451331615448,
0.03540165349841118,
-0.02854... | 0.111289 |
# Skills 配置 所有 Skills 相关配置都位于 `~/.openclaw/openclaw.json` 中的 `skills` 下。 ```json5 { skills: { allowBundled: ["gemini", "peekaboo"], load: { extraDirs: ["~/Projects/agent-scripts/skills", "~/Projects/oss/some-skill-pack/skills"], watch: true, watchDebounceMs: 250, }, install: { preferBrew: true, nodeManager: "npm", // n... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/skills-config.md | main | opebclaw | [
-0.06792435795068741,
0.028587432578206062,
-0.0020807518158107996,
0.04192323237657547,
0.05853759124875069,
-0.025640280917286873,
-0.03912906348705292,
-0.03826082497835159,
-0.05803949758410454,
-0.007845224812626839,
0.06272520124912262,
-0.033193282783031464,
-0.04542155563831329,
0.... | 0.053726 |
# 浏览器故障排除(Linux) ## 问题:"Failed to start Chrome CDP on port 18800" OpenClaw 的浏览器控制服务器无法启动 Chrome/Brave/Edge/Chromium,出现以下错误: ``` {"error":"Error: Failed to start Chrome CDP on port 18800 for profile \"openclaw\"."} ``` ### 根本原因 在 Ubuntu(和许多 Linux 发行版)上,默认的 Chromium 安装是 \*\*snap 包\*\*。Snap 的 AppArmor 限制会干扰 OpenClaw 启动和监控... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/browser-linux-troubleshooting.md | main | opebclaw | [
-0.033479563891887665,
-0.010865041986107826,
0.027816925197839737,
-0.07652917504310608,
0.014684595167636871,
-0.05720964074134827,
-0.08155722171068192,
0.0947212278842926,
-0.09858360886573792,
-0.10536885261535645,
0.119024857878685,
-0.0808677151799202,
-0.012579253874719143,
0.01871... | -0.018348 |
# Web 工具 OpenClaw 提供两个轻量级 Web 工具: - `web\_search` — 通过 Brave Search API(默认)或 Perplexity Sonar(直连或通过 OpenRouter)搜索网络。 - `web\_fetch` — HTTP 获取 + 可读性提取(HTML → markdown/文本)。 这些\*\*不是\*\*浏览器自动化。对于 JS 密集型网站或需要登录的情况,请使用[浏览器工具](/tools/browser)。 ## 工作原理 - `web\_search` 调用你配置的提供商并返回结果。 - \*\*Brave\*\*(默认):返回结构化结果(标题、URL、摘要)。 - ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/web.md | main | opebclaw | [
-0.09849502146244049,
-0.0034324470907449722,
0.009483815170824528,
-0.03858276456594467,
0.015116107650101185,
-0.08494582027196884,
-0.009390745311975479,
-0.017272407189011574,
0.009076675400137901,
-0.0901838093996048,
0.10923200100660324,
-0.03707743436098099,
0.05980439484119415,
-0.... | 0.128556 |
}, }, } ``` ### 工具参数 - `url`(必需,仅限 http/https) - `extractMode`(`markdown` | `text`) - `maxChars`(截断长页面) 注意: - `web\_fetch` 首先使用 Readability(主要内容提取),然后使用 Firecrawl(如果已配置)。如果两者都失败,工具返回错误。 - Firecrawl 请求使用机器人规避模式并默认缓存结果。 - `web\_fetch` 默认发送类 Chrome 的 User-Agent 和 `Accept-Language`;如需要可覆盖 `userAgent`。 - `web\_fetch` 阻止私有/内... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/web.md | main | opebclaw | [
-0.048976197838783264,
0.02262279763817787,
-0.048947639763355255,
-0.05572105571627617,
-0.02080213651061058,
-0.08166113495826721,
-0.001466564368456602,
0.0006147673702798784,
0.00204466306604445,
-0.030392903834581375,
0.08136478811502457,
-0.02819644659757614,
0.0934494286775589,
-0.0... | 0.04479 |
# 提升模式(/elevated 指令) ## 功能说明 - `/elevated on` 在 Gateway 网关主机上运行并保留 exec 审批(与 `/elevated ask` 相同)。 - `/elevated full` 在 Gateway 网关主机上运行\*\*并\*\*自动批准 exec(跳过 exec 审批)。 - `/elevated ask` 在 Gateway 网关主机上运行但保留 exec 审批(与 `/elevated on` 相同)。 - `on`/`ask` \*\*不会\*\*强制 `exec.security=full`;配置的安全/询问策略仍然适用。 - 仅在智能体被\*\*沙箱隔离\*\*时改... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/elevated.md | main | opebclaw | [
-0.029434265568852425,
0.06304394453763962,
-0.018633060157299042,
-0.03374937176704407,
-0.011385771445930004,
-0.01998843438923359,
0.05424131453037262,
0.005994180683046579,
-0.010908134281635284,
0.027306141331791878,
0.16093650460243225,
-0.04521169513463974,
0.06303343921899796,
-0.0... | 0.059585 |
# Exec 工具 在工作区中运行 shell 命令。通过 `process` 支持前台和后台执行。 如果 `process` 被禁用,`exec` 将同步运行并忽略 `yieldMs`/`background`。 后台会话按智能体隔离;`process` 只能看到同一智能体的会话。 ## 参数 - `command`(必填) - `workdir`(默认为当前工作目录) - `env`(键值对覆盖) - `yieldMs`(默认 10000):延迟后自动转入后台 - `background`(布尔值):立即转入后台 - `timeout`(秒,默认 1800):超时后终止 - `pty`(布尔值):在可用时使用伪终端运行(仅限 T... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/exec.md | main | opebclaw | [
-0.004990848246961832,
0.04038657620549202,
-0.11446624994277954,
-0.06580796092748642,
-0.006023814436048269,
-0.07420605421066284,
0.0038509753067046404,
0.0038436634931713343,
0.0033098652493208647,
0.06292057037353516,
0.13120321929454803,
-0.04612530395388603,
0.031717319041490555,
-0... | 0.13368 |
# 创建自定义 Skills 🛠 OpenClaw 被设计为易于扩展。"Skills"是为你的助手添加新功能的主要方式。 ## 什么是 Skill? Skill 是一个包含 `SKILL.md` 文件(为 LLM 提供指令和工具定义)的目录,可选包含一些脚本或资源。 ## 分步指南:你的第一个 Skill ### 1. 创建目录 Skills 位于你的工作区中,通常是 `~/.openclaw/workspace/skills/`。为你的 Skill 创建一个新文件夹: ```bash mkdir -p ~/.openclaw/workspace/skills/hello-world ``` ### 2. 定义 `SKILL.md... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/creating-skills.md | main | opebclaw | [
-0.0363704077899456,
0.02301849238574505,
-0.014894803054630756,
-0.016480308026075363,
-0.004359208047389984,
-0.06720258295536041,
0.04613284394145012,
0.023044712841510773,
-0.04018453136086464,
-0.008491838350892067,
0.0938253104686737,
-0.061590246856212616,
0.05617065355181694,
-0.02... | 0.064069 |
# Chrome 扩展(浏览器中继) OpenClaw Chrome 扩展让智能体控制你\*\*现有的 Chrome 标签页\*\*(你的正常 Chrome 窗口),而不是启动一个单独的 openclaw 管理的 Chrome 配置文件。 附加/分离通过一个\*\*单独的 Chrome 工具栏按钮\*\*实现。 ## 它是什么(概念) 有三个部分: - \*\*浏览器控制服务\*\*(Gateway 网关或节点):智能体/工具调用的 API(通过 Gateway 网关) - \*\*本地中继服务器\*\*(loopback CDP):在控制服务器和扩展之间桥接(默认 `http://127.0.0.1:18792`) - \*\*C... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/tools/chrome-extension.md | main | opebclaw | [
-0.06548330932855606,
0.02155115455389023,
-0.0356011688709259,
-0.05440155044198036,
0.018332967534661293,
-0.07494931668043137,
0.00410619517788291,
0.002334443386644125,
-0.004990241955965757,
-0.05881271883845329,
0.15263615548610687,
-0.051527176052331924,
0.005804131273180246,
-0.033... | 0.086354 |
# 卸载 两种方式: - 如果 `openclaw` 仍已安装,使用\*\*简单方式\*\*。 - 如果 CLI 已删除但服务仍在运行,使用\*\*手动服务移除\*\*。 ## 简单方式(CLI 仍已安装) 推荐:使用内置卸载程序: ```bash openclaw uninstall ``` 非交互式(自动化 / npx): ```bash openclaw uninstall --all --yes --non-interactive npx -y openclaw uninstall --all --yes --non-interactive ``` 手动步骤(效果相同): 1. 停止 Gateway 网关服务: ```bas... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/uninstall.md | main | opebclaw | [
-0.03911213204264641,
0.043035075068473816,
-0.05693543702363968,
-0.034085847437381744,
0.019213613122701645,
-0.06125350296497345,
0.015286012552678585,
-0.030415011569857597,
-0.009596266783773899,
-0.006526524666696787,
0.055239032953977585,
-0.04507278650999069,
0.02871842309832573,
-... | 0.122856 |
# Bun(实验性) 目标:使用 \*\*Bun\*\* 运行此仓库(可选,不推荐用于 WhatsApp/Telegram),同时不偏离 pnpm 工作流。 ⚠️ \*\*不推荐用于 Gateway 网关运行时\*\*(WhatsApp/Telegram 存在 bug)。生产环境请使用 Node。 ## 状态 - Bun 是一个可选的本地运行时,用于直接运行 TypeScript(`bun run …`、`bun --watch …`)。 - `pnpm` 是构建的默认工具,仍然完全支持(并被一些文档工具使用)。 - Bun 无法使用 `pnpm-lock.yaml` 并会忽略它。 ## 安装 默认: ```sh bun insta... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/bun.md | main | opebclaw | [
-0.01561811938881874,
-0.013353163376450539,
-0.021711034700274467,
-0.05410192534327507,
0.012614678591489792,
-0.021370520815253258,
0.06873517483472824,
0.03348429128527641,
0.009817623533308506,
0.09229423850774765,
0.146818608045578,
0.03573416918516159,
0.011243508197367191,
-0.05508... | 0.09139 |
# 安装器内部机制 OpenClaw 提供两个安装器脚本(托管在 `openclaw.ai`): - `https://openclaw.ai/install.sh` — "推荐"安装器(默认全局 npm 安装;也可从 GitHub 检出安装) - `https://openclaw.ai/install-cli.sh` — 无需 root 权限的 CLI 安装器(安装到带有独立 Node 的前缀目录) - `https://openclaw.ai/install.ps1` — Windows PowerShell 安装器(默认 npm;可选 git 安装) 查看当前参数/行为,运行: ```bash curl -fsSL http... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/installer.md | main | opebclaw | [
-0.04128105565905571,
0.039463113993406296,
-0.0748668983578682,
0.006026424001902342,
0.03018002212047577,
-0.05143735557794571,
-0.010262363590300083,
0.019276389852166176,
-0.006561373360455036,
0.028588665649294853,
0.0712219774723053,
-0.06070117652416229,
0.006033805664628744,
-0.034... | 0.071853 |
# Node.js + npm(PATH 安装完整性检查) OpenClaw 的运行时基线要求为 \*\*Node 22+\*\*。 如果你能运行 `npm install -g openclaw@latest`,但之后看到 `openclaw: command not found`,这几乎总是 \*\*PATH\*\* 问题:npm 存放全局二进制文件的目录不在你 shell 的 PATH 中。 ## 快速诊断 运行: ```bash node -v npm -v npm prefix -g echo "$PATH" ``` 如果 `$(npm prefix -g)/bin`(macOS/Linux)或 `$(npm prefix... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/node.md | main | opebclaw | [
-0.00627650273963809,
0.013883703388273716,
-0.030924154445528984,
-0.0035098043736070395,
0.05041802302002907,
-0.05445680394768715,
-0.059207770973443985,
-0.003883673343807459,
0.0277083832770586,
0.04545898735523224,
0.05815539509057999,
-0.0423508957028389,
-0.002947648987174034,
-0.0... | 0.08251 |
# 更新 OpenClaw 发展迅速(尚未到"1.0")。将更新视为发布基础设施:更新 → 运行检查 → 重启(或使用会重启的 `openclaw update`)→ 验证。 ## 推荐:重新运行网站安装程序(原地升级) \*\*首选\*\*的更新路径是重新运行网站上的安装程序。它会检测现有安装、原地升级,并在需要时运行 `openclaw doctor`。 ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` 说明: - 如果你不想再次运行新手引导向导,添加 `--no-onboard`。 - 对于\*\*源码安装\*\*,使用: ```bash curl -fs... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/updating.md | main | opebclaw | [
-0.008457863703370094,
0.07278252393007278,
-0.020758120343089104,
-0.06816384941339493,
-0.029273001477122307,
-0.09115137159824371,
0.0004817376611754298,
-0.002003837376832962,
-0.0013804554473608732,
0.0011272573610767722,
0.09267747402191162,
-0.03266775235533714,
0.0374266542494297,
... | 0.06711 |
# Nix 安装 使用 Nix 运行 OpenClaw 的推荐方式是通过 \*\*[nix-openclaw](https://github.com/openclaw/nix-openclaw)\*\* — 一个开箱即用的 Home Manager 模块。 ## 快速开始 将此粘贴给你的 AI 智能体(Claude、Cursor 等): ```text I want to set up nix-openclaw on my Mac. Repository: github:openclaw/nix-openclaw What I need you to do: 1. Check if Determinate Nix is instal... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/nix.md | main | opebclaw | [
0.0038867576513439417,
0.01275066751986742,
-0.02583787590265274,
-0.04313770309090614,
0.03185230866074562,
-0.10290537029504776,
-0.005243209190666676,
0.028429605066776276,
-0.006673199124634266,
-0.03320994973182678,
0.022603701800107956,
-0.06846130639314651,
-0.007906021550297737,
0.... | 0.083268 |
# 安装 除非有特殊原因,否则请使用安装器。它会设置 CLI 并运行新手引导。 ## 快速安装(推荐) ```bash curl -fsSL https://openclaw.ai/install.sh | bash ``` Windows(PowerShell): ```powershell iwr -useb https://openclaw.ai/install.ps1 | iex ``` 下一步(如果你跳过了新手引导): ```bash openclaw onboard --install-daemon ``` ## 系统要求 - \*\*Node >=22\*\* - macOS、Linux 或通过 WSL2 的 Wind... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/index.md | main | opebclaw | [
-0.0038158141542226076,
0.04535640403628349,
-0.10127875208854675,
-0.005048771854490042,
0.024312354624271393,
-0.0875021442770958,
-0.013674651272594929,
0.03428687900304794,
-0.028166180476546288,
0.020573033019900322,
0.07213979959487915,
-0.0547216460108757,
0.04577416926622391,
-0.03... | 0.081637 |
# 开发渠道 最后更新:2026-01-21 OpenClaw 提供三个更新渠道: - \*\*stable\*\*:npm dist-tag `latest`。 - \*\*beta\*\*:npm dist-tag `beta`(测试中的构建)。 - \*\*dev\*\*:`main` 的移动头(git)。npm dist-tag:`dev`(发布时)。 我们将构建发布到 \*\*beta\*\*,进行测试,然后\*\*将经过验证的构建提升到 `latest`\*\*, 版本号不变——dist-tag 是 npm 安装的数据源。 ## 切换渠道 Git checkout: ```bash openclaw update --c... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/development-channels.md | main | opebclaw | [
-0.005593265872448683,
0.046971358358860016,
0.007496698293834925,
-0.04582088440656662,
0.04699324816465378,
-0.07389915734529495,
0.04344732686877251,
0.0002602416498120874,
0.02717977575957775,
0.027378451079130173,
0.08735678344964981,
-0.02609202079474926,
0.024019358679652214,
-0.023... | 0.148902 |
# Ansible 安装 将 OpenClaw 部署到生产服务器的推荐方式是通过 \*\*[openclaw-ansible](https://github.com/openclaw/openclaw-ansible)\*\* — 一个安全优先架构的自动化安装程序。 ## 快速开始 一条命令安装: ```bash curl -fsSL https://raw.githubusercontent.com/openclaw/openclaw-ansible/main/install.sh | bash ``` > \*\*📦 完整指南:[github.com/openclaw/openclaw-ansible](https://git... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/ansible.md | main | opebclaw | [
-0.0033937792759388685,
0.07572782784700394,
-0.06539008021354675,
-0.01685100607573986,
0.01190972700715065,
-0.06906681507825851,
-0.012506037950515747,
-0.03623131290078163,
0.024233199656009674,
0.038857873529195786,
0.06745083630084991,
-0.06650076061487198,
0.008578116074204445,
-0.0... | 0.055565 |
# Docker(可选) Docker 是\*\*可选的\*\*。仅当你想要容器化的 Gateway 网关或验证 Docker 流程时才使用它。 ## Docker 适合我吗? - \*\*是\*\*:你想要一个隔离的、可丢弃的 Gateway 网关环境,或在没有本地安装的主机上运行 OpenClaw。 - \*\*否\*\*:你在自己的机器上运行,只想要最快的开发循环。请改用正常的安装流程。 - \*\*沙箱注意事项\*\*:智能体沙箱隔离也使用 Docker,但它\*\*不需要\*\*完整的 Gateway 网关在 Docker 中运行。参阅[沙箱隔离](/gateway/sandboxing)。 本指南涵盖: - 容器化 Ga... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/docker.md | main | opebclaw | [
-0.012173094786703587,
0.09466826170682907,
0.01557908859103918,
-0.06195298209786415,
0.015717385336756706,
-0.08353888243436813,
0.045391373336315155,
-0.042802780866622925,
0.03139617294073105,
-0.0375622920691967,
0.1303630769252777,
-0.068698950111866,
0.0063295853324234486,
-0.031622... | 0.033468 |
openclaw-gateway node dist/index.js health --token "$OPENCLAW\_GATEWAY\_TOKEN" ``` ### E2E 冒烟测试(Docker) ```bash scripts/e2e/onboard-docker.sh ``` ### QR 导入冒烟测试(Docker) ```bash pnpm test:docker:qr ``` ### 注意 - Gateway 网关绑定默认为 `lan` 用于容器使用。 - Dockerfile CMD 使用 `--allow-unconfigured`;挂载的配置如果 `gateway.mode` 不是 `local` 仍会启动... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/docker.md | main | opebclaw | [
0.0201853197067976,
0.07305110991001129,
-0.06568078696727753,
-0.03961269557476044,
0.04915611073374748,
-0.10394991189241409,
0.022318758070468903,
0.015460842289030552,
0.022988421842455864,
0.02246737666428089,
0.037605151534080505,
-0.041051220148801804,
0.011580932885408401,
0.001532... | 0.050554 |
`sh -lc`(登录 shell)运行命令,这会 source `/etc/profile` 并可能重置 PATH。设置 `docker.env.PATH` 以在前面添加你的自定义工具路径(例如 `/custom/bin:/usr/local/share/npm-global/bin`),或在你的 Dockerfile 中在 `/etc/profile.d/` 下添加脚本。 | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/docker.md | main | opebclaw | [
0.03972795978188515,
0.07596170902252197,
-0.013634417206048965,
-0.05963914841413498,
0.06352431327104568,
-0.008831115439534187,
0.03980458527803421,
0.08334983140230179,
-0.03893899917602539,
0.03317895159125328,
-0.017943894490599632,
-0.09286429733037949,
0.06087242811918259,
0.009404... | 0.038816 |
# 将 OpenClaw 迁移到新机器 本指南将 OpenClaw Gateway 网关从一台机器迁移到另一台,\*\*无需重新进行新手引导\*\*。 迁移在概念上很简单: - 复制\*\*状态目录\*\*(`$OPENCLAW\_STATE\_DIR`,默认:`~/.openclaw/`)— 这包括配置、认证、会话和渠道状态。 - 复制你的\*\*工作区\*\*(默认 `~/.openclaw/workspace/`)— 这包括你的智能体文件(记忆、提示等)。 但在\*\*配置文件\*\*、\*\*权限\*\*和\*\*部分复制\*\*方面有常见的陷阱。 ## 开始之前(你要迁移什么) ### 1)确定你的状态目录 大多数安装使用... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/install/migrating.md | main | opebclaw | [
-0.0600624680519104,
0.055177267640829086,
0.010914009064435959,
-0.04305921867489815,
-0.02149718627333641,
-0.040000129491090775,
0.0021087792702019215,
-0.06609722226858139,
0.009791374206542969,
-0.006043919827789068,
0.1511167734861374,
-0.03840021789073944,
0.023795034736394882,
-0.0... | 0.083848 |
# 形式化验证(安全模型) 本页跟踪 OpenClaw 的\*\*形式化安全模型\*\*(目前是 TLA+/TLC;根据需要会添加更多)。 > 注意:一些较旧的链接可能引用了以前的项目名称。 \*\*目标(北极星):\*\* 提供机器检查的论证,证明 OpenClaw 在明确假设下执行其 预期的安全策略(授权、会话隔离、工具门控和 配置错误安全)。 \*\*目前是什么:\*\* 一个可执行的、攻击者驱动的\*\*安全回归测试套件\*\*: - 每个声明都有一个在有限状态空间上运行的模型检查。 - 许多声明有一个配对的\*\*负面模型\*\*,为现实的 bug 类别生成反例追踪。 \*\*目前还不是什么:\*\* 证明"OpenCla... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/security/formal-verification.md | main | opebclaw | [
-0.04734892025589943,
0.049115732312202454,
0.03700153902173042,
-0.027739278972148895,
-0.04110105335712433,
0.027648109942674637,
0.04555843770503998,
-0.02618381939828396,
-0.010915398597717285,
-0.06050520017743111,
0.17336171865463257,
-0.0708596333861351,
-0.021522333845496178,
-0.03... | 0.039938 |
# 图像与媒体支持 — 2025-12-05 WhatsApp 渠道通过 \*\*Baileys Web\*\* 运行。本文档记录了发送、Gateway 网关和智能体回复的当前媒体处理规则。 ## 目标 - 通过 `openclaw message send --media` 发送带可选标题的媒体。 - 允许来自网页收件箱的自动回复在文本旁边包含媒体。 - 保持每种类型的限制合理且可预测。 ## CLI 接口 - `openclaw message send --media [--message ]` - `--media` 可选;标题可以为空以进行纯媒体发送。 - `--dry-run` 打印解析后的负载;`--json` 输出 ... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/images.md | main | opebclaw | [
-0.05231603607535362,
0.06280709058046341,
-0.02805793285369873,
-0.09224379062652588,
0.029205268248915672,
-0.0709395632147789,
-0.0015761522809043527,
-0.03422861546278,
0.043598026037216187,
0.02759474702179432,
0.13430799543857574,
-0.015369581989943981,
0.022074325010180473,
-0.00217... | 0.060039 |
# 相机捕获(智能体) OpenClaw 支持用于智能体工作流的\*\*相机捕获\*\*: - \*\*iOS 节点\*\*(通过 Gateway 网关配对):通过 `node.invoke` 捕获\*\*照片\*\*(`jpg`)或\*\*短视频片段\*\*(`mp4`,可选音频)。 - \*\*Android 节点\*\*(通过 Gateway 网关配对):通过 `node.invoke` 捕获\*\*照片\*\*(`jpg`)或\*\*短视频片段\*\*(`mp4`,可选音频)。 - \*\*macOS 应用\*\*(通过 Gateway 网关的节点):通过 `node.invoke` 捕获\*\*照片\*\*(`jpg`)或... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/camera.md | main | opebclaw | [
-0.051448971033096313,
0.04974568635225296,
0.007092074956744909,
-0.08064411580562592,
0.022858429700136185,
-0.0730336606502533,
0.0011313484283164144,
-0.01436676550656557,
0.041479289531707764,
0.0004968837019987404,
0.1402941793203354,
-0.03837721049785614,
0.0822337195277214,
-0.0069... | 0.134222 |
# 位置命令(节点) ## 简要概述 - `location.get` 是一个节点命令(通过 `node.invoke`)。 - 默认关闭。 - 设置使用选择器:关闭 / 使用时 / 始终。 - 单独的开关:精确位置。 ## 为什么用选择器(而不只是开关) 操作系统权限是多级的。我们可以在应用内暴露选择器,但操作系统仍然决定实际授权。 - iOS/macOS:用户可以在系统提示/设置中选择\*\*使用时\*\*或\*\*始终\*\*。应用可以请求升级,但操作系统可能要求进入设置。 - Android:后台位置是单独的权限;在 Android 10+ 上通常需要进入设置流程。 - 精确位置是单独的授权(iOS 14+ "精确",And... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/location-command.md | main | opebclaw | [
-0.06490705162286758,
0.02402113936841488,
0.01866438053548336,
-0.11296601593494415,
0.014994519762694836,
-0.052935417741537094,
0.021204674616456032,
0.028752394020557404,
-0.00020174682140350342,
-0.05371703952550888,
0.14882120490074158,
-0.09964672476053238,
0.11211992055177689,
-0.0... | 0.099337 |
# 音频 / 语音消息 — 2026-01-17 ## 已支持的功能 - \*\*媒体理解(音频)\*\*:如果音频理解已启用(或自动检测),OpenClaw 会: 1. 找到第一个音频附件(本地路径或 URL),如有需要则下载。 2. 在发送给每个模型条目之前执行 `maxBytes` 限制。 3. 按顺序运行第一个符合条件的模型条目(提供商或 CLI)。 4. 如果失败或跳过(大小/超时),则尝试下一个条目。 5. 成功后,将 `Body` 替换为 `[Audio]` 块并设置 `{{Transcript}}`。 - \*\*命令解析\*\*:转录成功时,`CommandBody`/`RawBody` 会设置为转录文本,因此斜杠... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/audio.md | main | opebclaw | [
-0.059023305773735046,
-0.0002618175931274891,
0.03198632225394249,
-0.10584329068660736,
0.020202353596687317,
-0.04539106786251068,
0.018414417281746864,
-0.004959285259246826,
0.029115749523043633,
-0.05362844839692116,
0.09979797899723053,
-0.08210791647434235,
0.019568778574466705,
-0... | 0.076268 |
# Talk 模式 Talk 模式是一个连续的语音对话循环: 1. 监听语音 2. 将转录文本发送到模型(main 会话,chat.send) 3. 等待响应 4. 通过 ElevenLabs 朗读(流式播放) ## 行为(macOS) - Talk 模式启用时显示\*\*常驻悬浮窗\*\*。 - \*\*监听 → 思考 → 朗读\*\*阶段转换。 - \*\*短暂停顿\*\*(静音窗口)后,当前转录文本被发送。 - 回复被\*\*写入 WebChat\*\*(与打字相同)。 - \*\*语音中断\*\*(默认开启):如果用户在助手朗读时开始说话,我们会停止播放并记录中断时间戳供下一个提示使用。 ## 回复中的语音指令 助手可以在回... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/talk.md | main | opebclaw | [
-0.06436359137296677,
-0.00587694114074111,
0.025272957980632782,
-0.06510002166032791,
-0.005502040963619947,
-0.03315556421875954,
0.0824337899684906,
-0.03145567700266838,
0.016840646043419838,
-0.007805633824318647,
0.174934521317482,
-0.06949272006750107,
0.03803197294473648,
0.028547... | 0.065442 |
# 语音唤醒(全局唤醒词) OpenClaw 将\*\*唤醒词作为单一全局列表\*\*,由 \*\*Gateway 网关\*\*拥有。 - \*\*没有\*\*每节点的自定义唤醒词。 - \*\*任何节点/应用 UI 都可以编辑\*\*列表;更改由 Gateway 网关持久化并广播给所有人。 - 每个设备仍保留自己的\*\*语音唤醒启用/禁用\*\*开关(本地用户体验 + 权限不同)。 ## 存储(Gateway 网关主机) 唤醒词存储在 Gateway 网关机器上: - `~/.openclaw/settings/voicewake.json` 结构: ```json { "triggers": ["openclaw", "cla... | https://github.com/openclaw/openclaw/blob/main//docs/zh-CN/nodes/voicewake.md | main | opebclaw | [
-0.08535551279783249,
0.027256540954113007,
-0.03242909163236618,
-0.06068909913301468,
-0.04692381992936134,
-0.06117125228047371,
0.02434338629245758,
-0.06394894421100616,
0.05495341494679451,
-0.08222565054893494,
0.10923483222723007,
-0.05796486884355545,
0.016038803383708,
-0.0608401... | 0.091752 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.