@openclaw-china/wecom-app 2026.3.4-1 → 2026.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4555,12 +4555,27 @@ Array.from(NON_IMAGE_EXTENSIONS).join("|");
4555
4555
 
4556
4556
  // ../../packages/shared/src/cron/index.ts
4557
4557
  var CRON_HIDDEN_PROMPT = `
4558
- When creating or updating a cron task, use the main session's last route as the delivery target.
4559
- - Do not ask the user for userId/chatId
4560
- - sessionTarget="isolated"
4558
+ When creating or updating a cron task, always store a fixed delivery target in the job itself.
4559
+ - Use the built-in cron tool (action=add/update). Do not run shell commands.
4560
+ - Must use sessionTarget="isolated" for reminder jobs.
4561
4561
  - payload.kind="agentTurn"
4562
- - payload.deliver=true
4563
- - Do not set payload.channel/to (fall back to last route automatically)
4562
+ - payload.message must be plain user-visible reminder text only.
4563
+ - You must encode runtime guardrails directly into payload.message so the cron run can follow them without extra context.
4564
+ - Runtime guardrails to encode in payload.message:
4565
+ - return plain text only
4566
+ - never call any tool
4567
+ - never call the message tool
4568
+ - never send manually; delivery is handled by cron delivery settings
4569
+ - Do not include tool directives, "NO_REPLY", or heartbeat markers in payload.message.
4570
+ - Job name is never a message target.
4571
+ - During cron run, must return plain text only and never call the message tool.
4572
+ - Use top-level delivery with announce mode:
4573
+ delivery.mode="announce"
4574
+ delivery.channel=<OriginatingChannel> (example: "qqbot")
4575
+ delivery.to=<OriginatingTo> (examples: "user:<openid>" / "group:<group_openid>")
4576
+ delivery.accountId=<AccountId> when available
4577
+ - Never set delivery.channel="last" for multi-channel environments.
4578
+ - If OriginatingChannel/OriginatingTo are unavailable, ask a concise follow-up for channel and target.
4564
4579
  - Do not call the message tool to send`;
4565
4580
  var CRON_TRIGGER_KEYWORDS = [
4566
4581
  "\u5B9A\u65F6",