3️⃣ 重启网关最常用也最管用openclaw-cn gateway restart飞书 WebSocket 长连接有时候会自己断掉重启就重新连上了4️⃣ 检查网关状态openclaw-cn gateway status确保是 running 状态第一步更新系统与安装基础工具在安装任何新软件前最好先更新一下系统的软件包列表并安装一些会用到的工具bashsudo apt updatesudo apt install curl -y*(curl 是一个下载工具后面会用到。-y 参数代表自动确认安装) *第二步安装 Node.js 环境OpenClaw 需要 Node.js 环境。教程建议使用 NVM 来管理 Node.js 版本这样更灵活。第一步手动安装 NVM相比于依赖可能不稳定的自动下载手动安装更可靠。1. 用 Git 克隆 NVM 仓库在终端中执行此命令直接从国内的 Gitee 镜像站下载 NVM 仓库到你本地bashgit clone https://gitee.com/mirrors/nvm.git ~/.nvm注意如果提示 git 命令不存在请先运行 sudo apt install git -y 安装。2. 切换到稳定版本进入刚下载的 NVM 目录并切换到一个稳定的版本bashcd ~/.nvmgit checkout v0.40.43. 运行安装脚本在仓库内执行本地安装脚本bashbash install.sh4. 加载 NVM 到当前会话执行完上一步后关闭当前终端再重新打开。如果不想重启可以执行以下命令立即生效bashsource ~/.bashrc5. 验证 NVM 是否安装成功执行以下命令如果能看到版本号例如 0.40.4就说明安装成功了。bashnvm --versionyoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~$ curl -o- https://gitee.com/mirrors/nvm/raw/v0.40.4/install.sh | bash % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~$ git clone https://gitee.com/mirrors/nvm.git ~/.nvm 正克隆到 /home/yoyo/.nvm... remote: Enumerating objects: 10442, done. remote: Counting objects: 100% (200/200), done. remote: Compressing objects: 100% (102/102), done. remote: Total 10442 (delta 107), reused 168 (delta 98), pack-reused 10242 (from 1) 接收对象中: 100% (10442/10442), 3.31 MiB | 718.00 KiB/s, 完成. 处理 delta 中: 100% (6930/6930), 完成. yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~$ cd ~/.nvm git checkout v0.40.4 注意正在切换到 v0.40.4。 您正处于分离头指针状态。您可以查看、做试验性的修改及提交并且您可以在切换 回一个分支时丢弃在此状态下所做的提交而不对分支造成影响。 如果您想要通过创建分支来保留在此状态下所做的提交您可以通过在 switch 命令 中添加参数 -c 来实现现在或稍后。例如 git switch -c 新分支名 或者撤销此操作 git switch - 通过将配置变量 advice.detachedHead 设置为 false 来关闭此建议 HEAD 目前位于 62387b8 v0.40.4 yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ bash install.sh nvm is already installed in /home/yoyo/.nvm, trying to update using git * 头指针在 v0.40.4 分离 master Compressing and cleaning up git repository Appending nvm source string to /home/yoyo/.bashrc Appending bash_completion source string to /home/yoyo/.bashrc Close and reopen your terminal to start using nvm or run the following to use it now: export NVM_DIR$HOME/.nvm [ -s $NVM_DIR/nvm.sh ] \. $NVM_DIR/nvm.sh # This loads nvm [ -s $NVM_DIR/bash_completion ] \. $NVM_DIR/bash_completion # This loads nvm bash_completion yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ source ~/.bashrc yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ nvm --version 0.40.4第二步配置国内镜像并安装 Node.jsNVM 安装好后为了加速 Node.js 的下载需要配置国内的镜像源。1. 配置 Node.js 镜像源bashexport NVM_NODEJS_ORG_MIRRORhttps://npmmirror.com/mirrors/node小贴士以上配置仅在当前终端窗口有效重启后会失效。如果想一劳永逸可以运行下面的命令把配置永久写入系统bashecho ‘export NVM_NODEJS_ORG_MIRRORhttps://npmmirror.com/mirrors/node’ ~/.bashrcsource ~/.bashrc2. 安装 Node.js完成镜像配置后就可以快速安装 Node.js 了。这里推荐安装长期支持版LTSbashnvm install --lts3. 验证 Node.js 和 npm检查版本号确认 Node.js 和其包管理器 npm 都已正确安装。bashnode -vnpm -vyoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ echo export NVM_NODEJS_ORG_MIRRORhttps://npmmirror.com/mirrors/node ~/.bashrc yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ source ~/.bashrc yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ nvm install --lts Installing latest LTS version. Downloading and installing node v24.15.0... Downloading https://npmmirror.com/mirrors/node/v24.15.0/node-v24.15.0-linux-x64.tar.xz... ############################################################################################################ 100.0%############################################################################################################ 100.0% Computing checksum with sha256sum Checksums matched! Now using node v24.15.0 (npm v11.12.1) Creating default alias: default - lts/* (- v24.15.0 *) yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ node -v npm -v v24.15.0 11.12.1第三步安装 OpenClaw环境准备好后就可以安装 OpenClaw 了。1. 使用 npm 全局安装bashnpm install -g openclaw-cnlatest-g 表示全局安装系统里任何地方都能使用2. 验证安装bashopenclaw-cn --version看到版本号如 2026.1.30就表示安装完成了。yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ npm install -g openclaw-cnlatest npm warn deprecated gauge4.0.4: This package is no longer supported. npm warn deprecated are-we-there-yet3.0.1: This package is no longer supported. npm warn deprecated npmlog6.0.2: This package is no longer supported. npm warn deprecated tar6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting iizs.me npm warn deprecated node-domexception1.0.0: Use your platforms native DOMException instead npm warn deprecated prebuild-install7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. npm warn deprecated glob11.1.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting iizs.me npm warn deprecated tar7.5.4: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting iizs.me added 664 packages in 4m 125 packages are looking for funding run npm fund for details npm notice npm notice New minor version of npm available! 11.12.1 - 11.13.0 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.13.0 npm notice To update run: npm install -g npm11.13.0 npm notice yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ openclaw-cn --version 0.2.0第四步初始化配置 OpenClaw安装完毕现在是最后也是最重要的一步——配置。1. 运行配置向导bashopenclaw-cn onboard --install-daemon2. 跟随向导配置这个命令会启动一个交互式配置向导你需要根据提示一步步操作◦ 确认安全风险了解并选择 Yes 确认。◦ 选择安装模式选 QuickStart 快速安装。◦ 配置大模型选择一个模型提供商如 Moonshot AI 即 Kimi然后输入你从对应平台获取的 API Key。◦ 设置消息频道可以先选 Skip 跳过以后再配置。◦ 其他配置按提示选择网络搜索提供商、启用技能Skills等。yoyoyoyo-HP-ENVY-Laptop-13-aq0xxx:~/.nvm$ openclaw-cn onboard --install-daemon OpenClaw-CN 0.2.0 (1b9f164) — 少点击多发布减少“文件去哪了”的时刻。 ░████░█░░░░░█████░█░░░█░███░░████░░████░░▀█▀ █░░░░░█░░░░░█░░░█░█░█░█░█░░█░█░░░█░█░░░█░░█░ █░░░░░█░░░░░█████░█░█░█░█░░█░████░░█░░░█░░█░ █░░░░░█░░░░░█░░░█░█░█░█░█░░█░█░░█░░█░░░█░░█░ ░████░█████░█░░░█░░█░█░░███░░████░░░███░░░█░ 每日新鲜 ┌ OpenClaw 安装引导 │ ◇ 安全 ─────────────────────────────────────────────────────────────╮ │ 安全警告 — 请阅读。 │ │ │ │ OpenClaw 是一个业余项目仍处于测试阶段。可能会有粗糙之处。 │ │ 如果启用了工具此机器人可以读取文件并执行操作。 │ │ 不良提示可能会诱使其执行不安全的操作。 │ │ │ │ 如果您不熟悉基本的安全和访问控制请不要运行 OpenClaw。 │ │ 在启用工具或将系统暴露给互联网之前请寻求有经验的人士帮助。 │ │ │ │ 推荐的基础设置 │ │ - 配对/白名单 提及门控。 │ │ - 沙箱 最低权限工具。 │ │ - 将机密信息保留在智能体可访问的文件系统之外。 │ │ - 对于使用工具或不受信任收件箱的机器人请使用最强大的可用模型。 │ │ │ │ 定期运行 │ │ openclaw-cn security audit --deep │ │ openclaw-cn security audit --fix │ │ │ │ 必读https://clawd.org.cn/gateway/security.html │ ├────────────────────────────────────────────────────────────────────╯ │ ◇ 我理解这很强大且本质上存在风险。继续吗 │ Yes │ ◇ 安装引导模式 │ 快速开始 │ ◇ 快速开始 ────────────────────╮ │ 网关端口18789 │ │ 网关绑定环回127.0.0.1 │ │ 网关认证令牌默认 │ │ Tailscale 暴露关闭 │ │ 直接到聊天频道。 │ ├───────────────────────────────╯ │ ◇ 模型/认证提供商 │ DeepSeek │ ◇ DeepSeek 认证方法 │ DeepSeek API key │ ◇ 输入 DeepSeek API key │ sk-156695bb56bb4ebcae2b076f98874f9f │ ◇ 选择 DeepSeek 模型已获取 2 个可用模型 │ deepseek-v4-pro │ ◇ Model configured ──────────────────────────────╮ │ Default model set to deepseek/deepseek-v4-pro │ ├─────────────────────────────────────────────────╯ │ ◇ 通道状态 ─────────────────╮ │ 钉钉: 需要填写凭证 │ │ 企业微信: 需要填写凭证 │ │ 微信: 未配置 │ │ QQ: 需要填写凭证 │ │ Telegram: 未配置 │ │ WhatsApp: 未配置 │ │ Discord: 未配置 │ │ Google Chat: 未配置 │ │ 飞书: 未配置 │ │ Slack: 未配置 │ │ Signal: 未配置 │ │ iMessage: 未配置 │ │ 飞书: 安装插件以启用 │ │ 钉钉: 安装插件以启用 │ │ 企业微信: 安装插件以启用 │ │ 微信: 安装插件以启用 │ │ QQ: 安装插件以启用 │ ├────────────────────────────╯ │ ◇ 通道工作原理 ─────────────────────────────────────────────────────────────────╮ │ DM安全默认为配对未知的私信会获得配对码。 │ │ 批准命令openclaw-cn pairing approve channel code │ │ 公开私信需要 dmPolicyopen allowFrom[*]. │ │ 多用户私信设置 session.dmScopeper-channel-peer 来隔离会话。 │ │ 文档start/pairing │ │ │ │ Telegram: 最简单的入门方式——使用 BotFather 注册一个机器人并开始使用。 │ │ WhatsApp: 使用您自己的号码工作建议使用独立手机 eSIM。 │ │ Discord: 目前支持非常好。 │ │ Google Chat: 带有HTTP webhook的Google Workspace聊天应用。 │ │ 飞书: 飞书/Lark 机器人集成 (WebSocket)。 │ │ 钉钉: 钉钉机器人集成通过官方 dingtalk-connector 接入。 │ │ 企业微信: 企业微信机器人接入插件。 │ │ 微信: 微信渠道插件扫码登录由腾讯官方插件提供。 │ │ QQ: QQ 频道/群机器人通过社区版 qqbot 接入。 │ │ Slack: 已支持Socket模式。 │ │ Signal: signal-cli链接设备更多设置David Reagans说加入Discord吧。。 │ │ iMessage: 这仍然是一个正在进行的工作。 │ ├────────────────────────────────────────────────────────────────────────────────╯ │ ◆ 选择通道快速开始 │ ○ Telegram (Bot API) │ ○ WhatsApp (QR link) │ ○ Discord (Bot API) │ ○ Google Chat (Chat API) │ ○ 飞书 (Lark 开放平台) │ ● 钉钉 (官方连接器) (插件 · 安装) │ ○ 企业微信 (WeCom) │ ○ 微信 (官方插件) │ ○ QQ (社区版) │ ○ Slack (Socket Mode) │ ○ Signal (signal-cli) │ ○ iMessage (imsg) │ ○ 暂时跳过 第五步启动 OpenClaw配置完成后你的 AI 助手就准备好了。可以使用以下命令启动简单的聊天来验证bashopenclaw-cn tuitui 表示在终端里的文本界面聊天⚠️ 注意事项与安全提醒• 安全警告OpenClaw 是一个功能强大的自动化工具有能力访问本地文件和执行系统命令。配置时请务必理解相关风险。• 网络阻断在安装 NVM 或 Node.js 时如果遇到 443 或 Connection refused 错误可能是因为网络环境无法顺畅访问 GitHub 等境外网站你可能需要配置代理或使用国内镜像源。• 权限需求安装软件时如果看到 Permission denied 错误请确保在命令前加上 sudo或以有管理员权限的用户执行。如果你在哪个环节卡住了随时可以带着具体的报错信息截图再来找我。安装 飞书 插件? │ 飞书官方插件 Downloading larksuiteoapi/feishu-openclaw-plugin… Extracting /tmp/clawdbot-npm-pack-obLdJW/larksuiteoapi-feishu-openclaw-plugin-2026.3.8.tgz… WARNING: Plugin feishu-openclaw-plugin contains dangerous code patterns: Environment variable access combined with network send — possible credential harvesting (/tmp/clawdbot-plugin-5DL7I3/extract/package/src/tools/mcp/shared.js:93); Shell command execution detected (child_process) (/tmp/clawdbot-plugin-5DL7I3/extract/package/src/core/token-store.js:52) Installing to /home/yoyo/.openclaw/extensions/feishu-openclaw-plugin… Installing plugin dependencies… 00:55:04 [plugins] feishu_get_user: Registered feishu_get_user tool 00:55:04 [plugins] feishu_search_user: Registered feishu_search_user tool 00:55:04 [plugins] feishu_chat: Registered feishu_chat tool 00:55:04 [plugins] feishu_chat_members: Registered feishu_chat_members tool 00:55:04 [plugins] feishu_chat: Registered feishu_chat, feishu_chat_members 00:55:04 [plugins] feishu_im_user_message: Registered feishu_im_user_message tool 00:55:04 [plugins] feishu_im_user_fetch_resource: Registered feishu_im_user_fetch_resource tool 00:55:04 [plugins] feishu_im: Registered feishu_im_user_message, feishu_im_user_fetch_resource, feishu_im_user_get_messages, feishu_im_user_get_thread_messages, feishu_im_user_search_messages 00:55:04 [plugins] feishu_calendar_calendar: Registered feishu_calendar_calendar tool 00:55:04 [plugins] feishu_calendar_event: Registered feishu_calendar_event tool 00:55:04 [plugins] feishu_calendar_event_attendee: Registered feishu_calendar_event_attendee tool 00:55:04 [plugins] feishu_calendar_freebusy: Registered feishu_calendar_freebusy tool 00:55:04 [plugins] feishu_task_task: Registered feishu_task_task tool 00:55:04 [plugins] feishu_task_tasklist: Registered feishu_task_tasklist tool 00:55:04 [plugins] feishu_task_comment: Registered feishu_task_comment tool 00:55:04 [plugins] feishu_task_subtask: Registered feishu_task_subtask tool 00:55:04 [plugins] feishu_bitable_app: Registered feishu_bitable_app tool 00:55:04 [plugins] feishu_bitable_app_table: Registered feishu_bitable_app_table tool 00:55:04 [plugins] feishu_bitable_app_table_record: Registered feishu_bitable_app_table_record tool 00:55:04 [plugins] feishu_bitable_app_table_field: Registered feishu_bitable_app_table_field tool 00:55:04 [plugins] feishu_bitable_app_table_view: Registered feishu_bitable_app_table_view tool 00:55:04 [plugins] feishu_im_bot_image: Registered feishu_im_bot_image tool 00:55:04 [plugins] feishu_im: Registered feishu_im_bot_image 00:55:04 [plugins] ✅ Registered all OAPI tools (calendar, task, bitable, mail, search, drive, wiki, sheets, okr, im) 00:55:04 [plugins] feishu_oauth: Registered feishu_oauth tool 00:55:04 [plugins] feishu_oauth_batch_auth: Registered feishu_oauth_batch_auth tool ◇ Feishu credentials ──────────────────────────────────────────────────────────────╮ │ 1) Go to Feishu Open Platform (open.feishu.cn) │ │ 2) Create a self-built app │ │ 3) Get App ID and App Secret from Credentials page │ │ 4) Enable required permissions: im:message, im:chat, contact:user.base:readonly │ │ 5) Publish the app or add it to a test group │ │ Tip: you can also set FEISHU_APP_ID / FEISHU_APP_SECRET env vars. │ │ Docs: feishu │ ├───────────────────────────────────────────────────────────────────────────────────╯ │ ◇ Enter Feishu App ID │ cli_a9781508f0389bc9 ◇ Enter Feishu App Secret │ HG1anWFcDaeg0YxKKMeLVfZoiDNTlDIj [info]: [ client ready ] [error]: [ AxiosError: getaddrinfo EAI_AGAIN open.feishu.cn at AxiosError.from (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:962:24) at RedirectableRequest.handleRequestError (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:3794:29) at RedirectableRequest.emit (node:events:509:28) at eventHandlers.computed (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/follow-redirects/index.js:56:24) at ClientRequest.emit (node:events:509:28) at emitErrorEvent (node:_http_client:109:11) at TLSSocket.socketErrorListener (node:_http_client:593:5) at TLSSocket.emit (node:events:509:28) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) at Axios.request (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:5110:41) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) { isAxiosError: true, code: EAI_AGAIN, config: { transitional: [Object], adapter: [Array], transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: XSRF-TOKEN, xsrfHeaderName: X-XSRF-TOKEN, maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [Object [AxiosHeaders]], method: post, url: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal, data: {app_id:cli_a9781508f0389bc9,app_secret:HG1anWFcDaeg0YxKKMeLVfZoiDNTlDIj}, allowAbsoluteUrls: true }, request: Writable { _events: [Object], _writableState: [WritableState], _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 81, _requestBodyBuffers: [Array], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _headerFilter: /^(?:Authorization|Proxy-Authorization|Cookie)$/i, _currentRequest: [ClientRequest], _currentUrl: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal, _timeout: null, Symbol(shapeMode): true, Symbol(kCapture): false }, cause: Error: getaddrinfo EAI_AGAIN open.feishu.cn at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) { errno: -3001, code: EAI_AGAIN, syscall: getaddrinfo, hostname: open.feishu.cn } } ] │ ◇ Feishu connection test ─────────────────────────────────────────────────────────────────╮ │ Connection failed: Cannot destructure property tenant_access_token of (intermediate │ │ value) as it is undefined. │ ├──────────────────────────────────────────────────────────────────────────────────────────╯ │ ◇ Which Feishu domain? │ Feishu (feishu.cn) - China │ ◇ Group chat policy — which groups can interact with the bot? │ Open — any group (requires mention) │ ◇ Group sender allowlist — which users can trigger the bot in allowed groups? (user open_ids) │ ou_xxxxx, ou_yyyyy [info]: [ client ready ] [error]: [ AxiosError: getaddrinfo EAI_AGAIN open.feishu.cn at AxiosError.from (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:962:24) at RedirectableRequest.handleRequestError (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:3794:29) at RedirectableRequest.emit (node:events:521:24) at eventHandlers.computed (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/follow-redirects/index.js:56:24) at ClientRequest.emit (node:events:509:28) at emitErrorEvent (node:_http_client:109:11) at TLSSocket.socketErrorListener (node:_http_client:593:5) at TLSSocket.emit (node:events:509:28) at emitErrorNT (node:internal/streams/destroy:170:8) at emitErrorCloseNT (node:internal/streams/destroy:129:3) at process.processTicksAndRejections (node:internal/process/task_queues:90:21) at Axios.request (/home/yoyo/.openclaw/extensions/feishu-openclaw-plugin/node_modules/axios/dist/node/axios.cjs:5110:41) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) { isAxiosError: true, code: EAI_AGAIN, config: { transitional: [Object], adapter: [Array], transformRequest: [Array], transformResponse: [Array], timeout: 0, xsrfCookieName: XSRF-TOKEN, xsrfHeaderName: X-XSRF-TOKEN, maxContentLength: -1, maxBodyLength: -1, env: [Object], validateStatus: [Function: validateStatus], headers: [Object [AxiosHeaders]], method: post, url: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal, data: {app_id:cli_a9781508f0389bc9,app_secret:HG1anWFcDaeg0YxKKMeLVfZoiDNTlDIj}, allowAbsoluteUrls: true }, request: Writable { _events: [Object], _writableState: [WritableState], _maxListeners: undefined, _options: [Object], _ended: true, _ending: true, _redirectCount: 0, _redirects: [], _requestBodyLength: 81, _requestBodyBuffers: [Array], _eventsCount: 3, _onNativeResponse: [Function (anonymous)], _headerFilter: /^(?:Authorization|Proxy-Authorization|Cookie)$/i, _currentRequest: [ClientRequest], _currentUrl: https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal, _timeout: null, Symbol(shapeMode): true, Symbol(kCapture): false }, cause: Error: getaddrinfo EAI_AGAIN open.feishu.cn at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:122:26) { errno: -3001, code: EAI_AGAIN, syscall: getaddrinfo, hostname: open.feishu.cn } } ] │ ◇ 已选通道 ─────────────────────────────────────────────────╮ │ Feishu — 飞书/Lark enterprise messaging. 文档: │ │ feishu │ ├────────────────────────────────────────────────────────────╯ Updated ~/.openclaw/openclaw.json 工作区正常~/.openclaw/workspace 会话正常~/.openclaw/agents/main/sessions │ ◇ 技能状态 ──────────╮ │ 符合条件60 │ │ 缺少需求0 │ │ 被允许列表阻止0 │ ├─────────────────────╯ │ ◆ 现在配置技能推荐 │ ● Yes / ○ No ◇ 技能安装的首选节点管理器 │ npm │ ◇ 钩子 ───────────────────────────────────────────╮ │ 钩子让您能够在代理命令发出时自动执行操作。 │ │ 例如在您发出/new时将会话上下文保存到内存中。 │ │ │ │ 了解更多https://docs.clawd.bot/hooks │ ├──────────────────────────────────────────────────╯ │ ◇ 启用钩子 │ session-memory │ ◇ 钩子已配置 ─────────────────────────╮ │ 启用了 1 个钩子session-memory │ │ │ │ 您可以稍后使用以下命令管理钩子 │ │ openclaw-cn hooks list │ │ openclaw-cn hooks enable name │ │ openclaw-cn hooks disable name │ ├──────────────────────────────────────╯ Config overwrite: /home/yoyo/.openclaw/openclaw.json (sha256 c4150b73f75908cb5df04a2e7fab064e977393650cdbaededd581aa50561dd7a - b5f28d43472ae78ecc4738ead540dd8704ea622b75062b2b6123b72b1bb45413, backup/home/yoyo/.openclaw/openclaw.json.bak) │ ◇ Systemd ────────────────────────────────────────────────────────────────────────────────╮ │ Linux installs use a systemd user service by default. Without lingering, systemd stops │ │ the user session on logout/idle and kills the Gateway. │ │ Enabling lingering now (may require sudo; writes /var/lib/systemd/linger). │ ├──────────────────────────────────────────────────────────────────────────────────────────╯ │ ◇ Systemd ─────────────────────────────╮ │ Enabled systemd lingering for yoyo. │ ├───────────────────────────────────────╯ │ ◇ Gateway service runtime ───────────────────╮ │ 快速开始为网关服务使用Node稳定支持。 │ ├─────────────────────────────────────────────╯ │ ◒ Installing Gateway service… Installed systemd service: /home/yoyo/.config/systemd/user/openclaw-gateway.service ◇ 网关服务已安装。 │ ◇ Feishu: failed (unknown) - API error: app do not have bot Agents: main (default) Heartbeat interval: 30m (main) Session store (main): /home/yoyo/.openclaw/agents/main/sessions/sessions.json (0 entries) │ ◇ 可选应用 ───────────────────╮ │ 为额外功能添加节点 │ │ - macOS应用系统通知 │ │ - iOS应用相机/画布 │ │ - Android应用相机/画布 │ ├──────────────────────────────╯ │ ◇ 控制界面 ─────────────────────────────────────────────────────────────────────────────────╮ │ 网页界面http://127.0.0.1:18789/ │ │ 网页界面带令牌http://127.0.0.1:18789/?token715fd255d3d676d61869631c42d5e6e2943cad │ │ da2db7a562 │ │ 网关WSws://127.0.0.1:18789 │ │ 网关可访问 │ │ 文档https://docs.clawd.bot/web/control-ui │ ├────────────────────────────────────────────────────────────────────────────────────────────╯ │ ◇ 启动TUI最佳选项 ────────────────────╮ │ 这是定义性的操作使您的智能体成为您的。 │ │ 请慢慢来。 │ │ 您告诉它的越多体验就会越好。 │ │ 我们将发送醒来吧我的朋友 │ ├────────────────────────────────────────────╯ │ ◇ 令牌 ──────────────────────────────────────────────────────────────────────────────╮ │ 网关令牌网关控制界面的共享认证。 │ │ 存储在~/.openclaw/openclaw.jsongateway.auth.token或OPENCLAW_GATEWAY_TOKEN。 │ │ 网页界面在此浏览器的localStorage中存储副本clawdbot.control.settings.v1。 │ │ 随时获取带令牌的链接openclaw-cn dashboard --no-open │ ├─────────────────────────────────────────────────────────────────────────────────────╯ │ ◇ 您想如何孵化您的机器人 │ 在TUI中孵化推荐 │ ◇ 工作区备份 ────────────────────────────────────────────╮ │ 备份您的智能体工作区。 │ │ 文档https://docs.clawd.bot/concepts/agent-workspace │ ├─────────────────────────────────────────────────────────╯ │ ◇ 安全 ──────────────────────────────────────────────────────────────────────────────╮ │ 在您的计算机上运行智能体是有风险的——加强您的设置https://docs.clawd.bot/security │ ├─────────────────────────────────────────────────────────────────────────────────────╯ │ ◇ 网络搜索可选 ───────────────────────────────────────────────╮ │ 如果希望您的智能体能够搜索网络则需要API密钥。 │ │ │ │ Clawdbot使用Brave Search作为web_search工具。没有Brave Search │ │ API密钥网络搜索将无法工作。 │ │ │ │ 交互式设置 │ │ - 运行openclaw-cn configure --section web │ │ - 启用web_search并粘贴您的Brave Search API密钥 │ │ │ │ 替代方案在网关环境中设置BRAVE_API_KEY无需更改配置。 │ │ 文档https://docs.clawd.bot/tools/web │ ├──────────────────────────────────────────────────────────────────╯ │ ◇ 接下来 ─────────────────────────────────────────────────────╮ │ 接下来https://clawd.bot/showcase人们正在构建什么。 │ ├──────────────────────────────────────────────────────────────╯ │ └ 安装引导完成。使用上面的带令牌仪表盘链接控制Clawdbot。 openclaw-cn tui - ws://127.0.0.1:18789 - agent main - session main session agent:main:main Wake up, my friend! Hey! I just came online. Fresh workspace, no memories yet — blank slate. So... who are you? What do I call you? And while were at it — I need a name, a vibe, an identity. Ive got ideas, but Id rather figure this out together. What kind of assistant do you want hanging around?