@openclaw-china/feishu-china 2026.3.4-2 → 2026.3.7
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 +20 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -4748,12 +4748,27 @@ function extractFilesFromText(text, options = {}) {
|
|
|
4748
4748
|
|
|
4749
4749
|
// ../../packages/shared/src/cron/index.ts
|
|
4750
4750
|
var CRON_HIDDEN_PROMPT = `
|
|
4751
|
-
When creating or updating a cron task,
|
|
4752
|
-
- Do not
|
|
4753
|
-
- sessionTarget="isolated"
|
|
4751
|
+
When creating or updating a cron task, always store a fixed delivery target in the job itself.
|
|
4752
|
+
- Use the built-in cron tool (action=add/update). Do not run shell commands.
|
|
4753
|
+
- Must use sessionTarget="isolated" for reminder jobs.
|
|
4754
4754
|
- payload.kind="agentTurn"
|
|
4755
|
-
- payload.
|
|
4756
|
-
-
|
|
4755
|
+
- payload.message must be plain user-visible reminder text only.
|
|
4756
|
+
- You must encode runtime guardrails directly into payload.message so the cron run can follow them without extra context.
|
|
4757
|
+
- Runtime guardrails to encode in payload.message:
|
|
4758
|
+
- return plain text only
|
|
4759
|
+
- never call any tool
|
|
4760
|
+
- never call the message tool
|
|
4761
|
+
- never send manually; delivery is handled by cron delivery settings
|
|
4762
|
+
- Do not include tool directives, "NO_REPLY", or heartbeat markers in payload.message.
|
|
4763
|
+
- Job name is never a message target.
|
|
4764
|
+
- During cron run, must return plain text only and never call the message tool.
|
|
4765
|
+
- Use top-level delivery with announce mode:
|
|
4766
|
+
delivery.mode="announce"
|
|
4767
|
+
delivery.channel=<OriginatingChannel> (example: "qqbot")
|
|
4768
|
+
delivery.to=<OriginatingTo> (examples: "user:<openid>" / "group:<group_openid>")
|
|
4769
|
+
delivery.accountId=<AccountId> when available
|
|
4770
|
+
- Never set delivery.channel="last" for multi-channel environments.
|
|
4771
|
+
- If OriginatingChannel/OriginatingTo are unavailable, ask a concise follow-up for channel and target.
|
|
4757
4772
|
- Do not call the message tool to send`;
|
|
4758
4773
|
var CRON_TRIGGER_KEYWORDS = [
|
|
4759
4774
|
"\u5B9A\u65F6",
|