<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>OpenClaw on 青蛙小白</title><link>https://blog.frognew.com/tags/openclaw.html</link><description>Recent content in OpenClaw on 青蛙小白</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 01 Mar 2026 19:30:00 +0800</lastBuildDate><atom:link href="https://blog.frognew.com/tags/openclaw/index.xml" rel="self" type="application/rss+xml"/><item><title>OpenClaw 笔记：Agent Bootstrapping</title><link>https://blog.frognew.com/2026/03/openclaw-agent-bootstrapping-notes.html</link><pubDate>Sun, 01 Mar 2026 19:30:00 +0800</pubDate><guid>https://blog.frognew.com/2026/03/openclaw-agent-bootstrapping-notes.html</guid><description>&lt;p>agent 第一次真正跑起来时，到底发生了什么。&lt;/p>
&lt;p>OpenClaw 把这个过程叫做 &lt;strong>Bootstrapping&lt;/strong>。可以把它理解成一次“首次启动仪式”：系统会初始化工作区、收集身份信息、写入关键文件，最后把一个“刚装好但还没有人格和长期记忆入口”的 agent，变成一个能稳定长期协作的助手。&lt;/p></description></item><item><title>OpenClaw 自动化学习笔记：Cron Jobs 与 Heartbeat</title><link>https://blog.frognew.com/2026/02/openclaw-automation-cron-and-heartbeat.html</link><pubDate>Sun, 08 Feb 2026 19:45:00 +0800</pubDate><guid>https://blog.frognew.com/2026/02/openclaw-automation-cron-and-heartbeat.html</guid><description>&lt;p>在学习 OpenClaw 的过程中，自动化任务的调度是核心功能之一。OpenClaw 提供了两种主要的调度机制：&lt;strong>Cron Jobs&lt;/strong> 和 &lt;strong>Heartbeat&lt;/strong>。&lt;/p>
&lt;h2 id="1-cron-jobs-gateway-调度器">1. Cron Jobs (Gateway 调度器)&lt;/h2>
&lt;p>OpenClaw 的 Cron 系统是一个内置在 Gateway 中的调度器，用于自动化 Agent 任务。它负责持久化任务、在预定时间唤醒 Agent。&lt;/p>
&lt;h3 id="核心特性">核心特性&lt;/h3>
&lt;ul>
&lt;li>&lt;strong>运行位置&lt;/strong>: 在 Gateway 进程内部运行。&lt;/li>
&lt;li>&lt;strong>持久化&lt;/strong>:
&lt;ul>
&lt;li>任务库: 存储在 &lt;code>~/.openclaw/cron/jobs.json&lt;/code>，重启不会丢失计划。&lt;/li>
&lt;li>运行历史 (History): 存储在 &lt;code>~/.openclaw/cron/runs/&amp;lt;jobId&amp;gt;.jsonl&lt;/code>，会自动清理。&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;strong>唤醒模式&lt;/strong>: 支持立即唤醒 (&lt;code>wake now&lt;/code>) 或随心跳唤醒 (&lt;code>next heartbeat&lt;/code>)。&lt;/li>
&lt;/ul>

&lt;div class="callout callout-info">
 &lt;p>&lt;strong>📝 立即唤醒 (&lt;code>wake now&lt;/code>) 的具体含义&lt;/strong>：&lt;/p></description></item><item><title>OpenClaw 架构设计学习</title><link>https://blog.frognew.com/2026/02/openclaw-architecture-insights.html</link><pubDate>Tue, 03 Feb 2026 20:00:00 +0800</pubDate><guid>https://blog.frognew.com/2026/02/openclaw-architecture-insights.html</guid><description>&lt;p>在上一篇文章中，我们介绍了如何部署 OpenClaw。这一篇换个角度：看看它的架构。作为一个开源的本地优先 AI 助手，OpenClaw 不只是聊天机器人集成工具；它更在意可靠性、隐私，以及系统级交互能力怎么落地。本文从工程实现的角度梳理 OpenClaw 的核心架构设计。&lt;/p></description></item><item><title>OpenClaw 部署指南：打造私人 AI 助手</title><link>https://blog.frognew.com/2026/02/openclaw-deployment-guide.html</link><pubDate>Mon, 02 Feb 2026 23:00:00 +0800</pubDate><guid>https://blog.frognew.com/2026/02/openclaw-deployment-guide.html</guid><description>&lt;p>OpenClaw 是一款运行在自有设备上的&lt;strong>私人 AI 助手&lt;/strong>。它采用“本地优先”的设计理念，能够将消息、语音和视觉交互无缝集成到一个统一的系统中。不同于简单的聊天机器人，OpenClaw 作为一个全天候在线的智能中枢，可以连接 Telegram、Slack、WhatsApp 等多种通讯渠道，让用户随时随地都能与自己的 AI 助手保持连接。&lt;/p></description></item><item><title>OpenClaw Telegram Bot 无响应：IPv6 导致 fetch 失败</title><link>https://blog.frognew.com/2026/02/openclaw-telegram-bot-ipv6-fix.html</link><pubDate>Mon, 02 Feb 2026 22:00:00 +0800</pubDate><guid>https://blog.frognew.com/2026/02/openclaw-telegram-bot-ipv6-fix.html</guid><description>&lt;p>OpenClaw 配对时 Bot 没反应，日志报错：&lt;code>TypeError: fetch failed&lt;/code>。&lt;/p>
&lt;h3 id="根因ipv6-慢回退问题">根因：IPv6 慢回退问题&lt;/h3>
&lt;p>用 &lt;code>curl -v https://api.telegram.org&lt;/code> 测试发现：curl 先连 IPv6 失败，然后才回退到 IPv4 成功。&lt;/p>
&lt;p>Node.js v17+ 的原生 &lt;code>fetch&lt;/code> (undici) 对 IPv6 处理比较死板。如果 DNS 返回了 IPv6 但实际不通，它可能直接报错而不会像 curl 那样自动回退，导致请求挂掉。&lt;/p>
&lt;h3 id="解决方案">解决方案&lt;/h3>
&lt;p>强制 Node.js 优先解析 IPv4。&lt;/p></description></item></channel></rss>