openclaw/docs
M1a0 7847e67f8a
plugin-runtime: expose runHeartbeatOnce in system API (#40299)
* plugin-runtime: expose runHeartbeatOnce in system API

Plugins that enqueue system events and need the agent to deliver
responses to the originating channel currently have no way to
override the default `heartbeat.target: "none"` behaviour.

Expose `runHeartbeatOnce` in the plugin runtime `system` namespace
so plugins can trigger a single heartbeat cycle with an explicit
`heartbeat: { target: "last" }` override — the same pattern the
cron service already uses (see #28508).

Changes:
- Add `RunHeartbeatOnceOptions` type and `runHeartbeatOnce` to
  `PluginRuntimeCore.system` (types-core.ts)
- Wire the function through a thin wrapper in runtime-system.ts
- Update the test-utils plugin-runtime mock

Made-with: Cursor

* feat(plugins): expose runHeartbeatOnce in system API (#40299) (thanks @loveyana)

---------

Co-authored-by: George Zhang <georgezhangtj97@gmail.com>
2026-03-25 10:47:01 -07:00
..
.generated plugin-runtime: expose runHeartbeatOnce in system API (#40299) 2026-03-25 10:47:01 -07:00
.i18n docs(plugin-sdk): document public SDK surface 2026-03-22 08:50:48 -07:00
assets Docs: switch README logo to SVG assets (#47049) 2026-03-15 08:58:45 +01:00
automation fix: isolate session:patch hook payload (#53880) (thanks @graciegould) 2026-03-25 15:59:38 +05:30
channels fix: finish feishu open-group docs and baselines (#54058) (thanks @byungsker) 2026-03-24 23:09:04 -07:00
cli fix: land cron tz one-shot handling and prerelease config warnings (#53224) (thanks @RolfHegr) 2026-03-23 19:38:04 -07:00
concepts Plugins: enforce terminal hook decision semantics for tool/message guards (#54241) 2026-03-25 00:11:13 -05:00
debug
diagnostics
gateway test: add Open WebUI docker smoke 2026-03-25 05:28:51 -07:00
help feat(minimax): add image generation provider and trim model catalog to M2.7 (#54487) 2026-03-25 09:29:35 -07:00
images docs(feishu): Feishu docs – add verificationToken and align zh-CN with EN (openclaw#31555) thanks @xbsheng 2026-03-02 21:33:41 -06:00
install fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
ja-JP docs update web search config guidance 2026-03-18 00:00:17 -05:00
nodes refactor!: drop legacy CLAWDBOT env compatibility 2026-03-22 22:13:39 -07:00
platforms fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
plugins Plugins: enforce terminal hook decision semantics for tool/message guards (#54241) 2026-03-25 00:11:13 -05:00
providers feat(minimax): add image generation provider and trim model catalog to M2.7 (#54487) 2026-03-25 09:29:35 -07:00
reference test: add Open WebUI docker smoke 2026-03-25 05:28:51 -07:00
security docs: add missing frontmatter and title fields 2026-03-18 00:02:43 -07:00
start fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
tools chore(tts): rename VOICE_BUBBLE identifiers to OPUS and update docs 2026-03-25 10:49:21 +05:30
web feat: add /tools runtime availability view (#54088) 2026-03-24 21:09:51 -05:00
zh-CN docs(feishu): replace botName with name in config examples (#52753) 2026-03-23 23:48:33 +03:00
auth-credential-semantics.md docs: add missing frontmatter and title fields 2026-03-18 00:02:43 -07:00
brave-search.md fix(docs): deduplicate titles across 9 pages 2026-03-22 16:02:28 -07:00
ci.md fix(ci): skip docs-only preflight pnpm audit 2026-03-23 05:29:27 +00:00
date-time.md
docs.json docs: fix nav ordering, missing pages, and stale model references 2026-03-23 10:20:15 -07:00
index.md fix(runtime): support Node 22.14 installs 2026-03-25 06:22:18 -07:00
logging.md fix(docs): deduplicate titles across 9 pages 2026-03-22 16:02:28 -07:00
nav-tabs-underline.js docs(ui): add animated underline for nav tabs (#21912) 2026-02-20 09:33:46 -05:00
network.md
perplexity.md fix(docs): deduplicate titles across 9 pages 2026-03-22 16:02:28 -07:00
pi-dev.md docs: fix em-dash headings and broken links across docs 2026-03-17 23:55:46 -07:00
pi.md docs: update pi package versions to 0.61.1 2026-03-22 22:39:55 +00:00
prose.md
style.css fix(ios): force tls for non-loopback manual gateway hosts (#21969) 2026-02-20 16:28:47 +00:00
tts.md chore(tts): rename VOICE_BUBBLE identifiers to OPUS and update docs 2026-03-25 10:49:21 +05:30
vps.md docs: rename VPS to Linux Server, update provider links for moved pages 2026-03-19 13:29:39 -07:00
whatsapp-openclaw-ai-zh.jpg
whatsapp-openclaw.jpg