docs(heartbeat): add directPolicy to config examples

This commit is contained in:
Peter Steinberger
2026-02-26 03:59:30 +01:00
parent de61e9c977
commit 4ada143794
2 changed files with 2 additions and 0 deletions

View File

@@ -273,6 +273,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
every: "30m", every: "30m",
model: "anthropic/claude-sonnet-4-5", model: "anthropic/claude-sonnet-4-5",
target: "last", target: "last",
directPolicy: "allow", // allow (default) | block
to: "+15555550123", to: "+15555550123",
prompt: "HEARTBEAT", prompt: "HEARTBEAT",
ackMaxChars: 300, ackMaxChars: 300,

View File

@@ -32,6 +32,7 @@ Example config:
heartbeat: { heartbeat: {
every: "30m", every: "30m",
target: "last", // explicit delivery to last contact (default is "none") target: "last", // explicit delivery to last contact (default is "none")
directPolicy: "allow", // default: allow direct/DM targets; set "block" to suppress
// activeHours: { start: "08:00", end: "24:00" }, // activeHours: { start: "08:00", end: "24:00" },
// includeReasoning: true, // optional: send separate `Reasoning:` message too // includeReasoning: true, // optional: send separate `Reasoning:` message too
}, },