botinabox 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ Format: [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). Versioning: [S
6
6
 
7
7
  ---
8
8
 
9
+ ## [0.5.1] — 2026-04-04
10
+
11
+ ### Fixed
12
+
13
+ - **cron-parser ESM import** — cron-parser v4 is CommonJS-only; fixed named import to default import (`import cronParser from "cron-parser"`).
14
+
9
15
  ## [0.5.0] — 2026-04-04
10
16
 
11
17
  ### Added
package/dist/index.js CHANGED
@@ -3439,10 +3439,10 @@ var HeartbeatScheduler = class {
3439
3439
  };
3440
3440
 
3441
3441
  // src/core/orchestrator/scheduler.ts
3442
- import { parseExpression } from "cron-parser";
3442
+ import cronParser from "cron-parser";
3443
3443
  import { v4 as uuid } from "uuid";
3444
3444
  function computeNextFire(cron, timezone, after) {
3445
- const interval = parseExpression(cron, {
3445
+ const interval = cronParser.parseExpression(cron, {
3446
3446
  currentDate: after ?? /* @__PURE__ */ new Date(),
3447
3447
  tz: timezone
3448
3448
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botinabox",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Bot in a Box — framework for building multi-agent bots",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",