@moxxy/cli 0.45.0 → 0.47.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/README.md +3 -3
- package/dist/bin.js +19577 -19345
- package/dist/skills/scheduling.md +3 -1
- package/package.json +2 -2
|
@@ -34,6 +34,8 @@ Use this skill when the user wants a prompt to fire automatically — recurring
|
|
|
34
34
|
- "Every 15 minutes" → cron `*/15 * * * *`
|
|
35
35
|
- "In one hour" → `runAt: <epoch-ms now + 3_600_000>` (or ISO timestamp)
|
|
36
36
|
- "Tomorrow at 10" → `runAt: <ISO timestamp>` in the user's local zone
|
|
37
|
+
- "Every 30 minutes from 23:00 tonight until 07:00, then stop" → cron `*/30 * * * *` + `startAt: <ISO 23:00>` + `endAt: <ISO 07:00>`. Never put the start time in `runAt` next to `cron` — the call is rejected. The schedule turns itself off after `endAt`. If the window the user names is already over, say so and ask for new dates.
|
|
38
|
+
- A `runAt` more than a minute in the past is rejected too: say the time has passed and ask for a new one instead of guessing. So is a window no run of the cron falls inside: propose a longer window or a shorter step.
|
|
37
39
|
|
|
38
40
|
2. **Pick the schedule name** — slug-like (`morning-briefing`, `weekly-standup`). The user-facing name; appears in the inbox filename.
|
|
39
41
|
|
|
@@ -43,7 +45,7 @@ Use this skill when the user wants a prompt to fire automatically — recurring
|
|
|
43
45
|
- "Remind me about <X>. Call `telegram_send_message` with a short reminder."
|
|
44
46
|
- "Check the CI status of <repo>; if a build failed, call `discord_send_message` with the failing job and a one-line cause."
|
|
45
47
|
|
|
46
|
-
4. **Call `schedule_create`** with `{ name, prompt, cron | runAt, channel?, model? }`. The tool returns `nextFireIso` so you can confirm the schedule will fire when expected.
|
|
48
|
+
4. **Call `schedule_create`** with `{ name, prompt, cron | runAt, startAt?, endAt?, channel?, model? }`. The tool returns `nextFireIso` so you can confirm the schedule will fire when expected.
|
|
47
49
|
|
|
48
50
|
5. **Confirm to the user** — name, next fire time, where output goes. Offer to fire it once with `schedule_run_now` for a smoke test.
|
|
49
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moxxy/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.0",
|
|
4
4
|
"description": "moxxy command-line agent: TUI, one-shot prompts, setup, services, and API-key or installed-CLI subscription providers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"moxxy",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"undici": "^8.12.2",
|
|
51
51
|
"zod": "^4.6.6",
|
|
52
|
-
"@moxxy/sdk": "0.
|
|
52
|
+
"@moxxy/sdk": "0.47.0"
|
|
53
53
|
},
|
|
54
54
|
"optionalDependencies": {
|
|
55
55
|
"@napi-rs/keyring": "^2.1.0"
|