system
openclaw system
Section titled “openclaw system”网关的系统级帮助程序:排队系统事件,控制心跳,并查看存在。
openclaw system event --text "Check for urgent follow-ups" --mode nowopenclaw system heartbeat enableopenclaw system heartbeat lastopenclaw system presencesystem event
Section titled “system event”在 main 会话上排队一个系统事件。下一个心跳将在提示中将其作为 System: 行注入。使用 --mode now 立即触发心跳;next-heartbeat 等待下一个预定的滴答。
标志:
--text <text>:必需的系统事件文本。--mode <mode>:now或next-heartbeat(默认)。--json:机器可读输出。
system heartbeat last|enable|disable
Section titled “system heartbeat last|enable|disable”心跳控制:
last:显示最后一次心跳事件。enable:重新开启心跳(如果它们被禁用,请使用此选项)。disable:暂停心跳。
标志:
--json:机器可读输出。
system presence
Section titled “system presence”列出网关知道的当前系统存在条目(节点、实例和类似的状态行)。
标志:
--json:机器可读输出。
- 需要一个可通过当前配置(本地或远程)访问的运行中网关。
- 系统事件是临时的,不会在重启后保留。