@rubytech/taskmaster 1.29.1 → 1.30.0
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/agents/tools/cron-tool.js +10 -3
- package/dist/build-info.json +3 -3
- package/dist/control-ui/assets/{index-B_QfEVs7.js → index-CkGA_2Sq.js} +543 -469
- package/dist/control-ui/assets/index-CkGA_2Sq.js.map +1 -0
- package/dist/control-ui/assets/{index-CAE6wsJy.css → index-CxVLKv6r.css} +1 -1
- package/dist/control-ui/index.html +2 -2
- package/dist/cron/normalize.js +8 -4
- package/dist/cron/parse.js +48 -7
- package/dist/cron/service/jobs.js +4 -1
- package/dist/cron/service/ops.js +16 -0
- package/dist/gateway/server-methods/whatsapp-conversations.js +41 -7
- package/dist/web/auto-reply/monitor/group-activation.js +1 -1
- package/dist/web/inbound/monitor.js +34 -3
- package/package.json +1 -1
- package/skills/event-management/references/events.md +16 -6
- package/skills/whatsapp-business/SKILL.md +47 -0
- package/skills/whatsapp-business/references/setup-guide.md +258 -0
- package/dist/control-ui/assets/index-B_QfEVs7.js.map +0 -1
|
@@ -138,7 +138,12 @@ EVENT SCHEMA (for add action):
|
|
|
138
138
|
|
|
139
139
|
SCHEDULE TYPES (schedule.kind):
|
|
140
140
|
- "at": One-shot at absolute time
|
|
141
|
-
{ "kind": "at", "atMs": <
|
|
141
|
+
{ "kind": "at", "atMs": "<ISO-datetime-string>" }
|
|
142
|
+
PREFERRED: pass atMs as an ISO 8601 string, e.g. "2026-03-11T09:00:00".
|
|
143
|
+
The system interprets timezone-naive strings in the user's configured timezone.
|
|
144
|
+
You may also pass a numeric unix-ms timestamp, but ISO strings are less error-prone.
|
|
145
|
+
IMPORTANT: atMs must be in the future. Jobs with past atMs are rejected.
|
|
146
|
+
Always call current_time first to confirm the current date and year before scheduling.
|
|
142
147
|
- "every": Recurring interval
|
|
143
148
|
{ "kind": "every", "everyMs": <interval-ms>, "anchorMs": <optional-start-ms> }
|
|
144
149
|
- "cron": Cron expression
|
|
@@ -184,9 +189,11 @@ Use jobId as the canonical identifier; id is accepted for compatibility. Use con
|
|
|
184
189
|
if (!params.job || typeof params.job !== "object") {
|
|
185
190
|
throw new Error("job required");
|
|
186
191
|
}
|
|
187
|
-
const
|
|
192
|
+
const cfg = loadConfig();
|
|
193
|
+
const userTimezone = cfg.agents?.defaults?.userTimezone;
|
|
194
|
+
const job = normalizeCronJobCreate(params.job, { userTimezone: userTimezone || undefined }) ??
|
|
195
|
+
params.job;
|
|
188
196
|
if (job && typeof job === "object" && !("agentId" in job)) {
|
|
189
|
-
const cfg = loadConfig();
|
|
190
197
|
const agentId = opts?.agentSessionKey
|
|
191
198
|
? resolveSessionAgentId({ sessionKey: opts.agentSessionKey, config: cfg })
|
|
192
199
|
: undefined;
|
package/dist/build-info.json
CHANGED