@getpipher/armory-fleet 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpipher/armory-fleet",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "private": false,
5
5
  "description": "The armory suite's subagent orchestrator for the pi coding agent — a cross-harness, superpowers-native fleet where every agent is armory-native from birth.",
6
6
  "license": "MIT",
@@ -117,6 +117,9 @@ export class Scheduler {
117
117
 
118
118
  start(): boolean {
119
119
  if (this.running) return true;
120
+ // Ensure the lock file's parent dir exists (fresh projects have no `.pi/fleet/` yet;
121
+ // persist() only runs on register(), so start() must self-sufficient the dir first).
122
+ mkdirSync(dirname(this.opts.lockPath), { recursive: true });
120
123
  if (!this.pidLock.acquire(this.opts.lockPath)) return false;
121
124
  this.running = true;
122
125
  for (const id of this.schedules.keys()) this.arm(id);
@@ -5,8 +5,8 @@
5
5
  - **Version:** 1.1.1 (latest 1.x — dependency-free; later versions pull in `luxon`)
6
6
  - **License:** MIT (see upstream LICENSE)
7
7
  - **Vendored on:** 2026-07-24
8
- - **Vendored surface:** `lib/` (4 files: `parser.js`, `expression.js`, `date.js`, `number.js` — CommonJS, all-relative `require()`s, zero runtime deps)
9
- - **Frozen:** do NOT edit files under `lib/`. To upgrade, replace `lib/` + update this NOTICE (version + date). Note: v2+ adds `luxon` as a runtime dep — vendoring those would require also vendoring luxon; v1.1.1 is intentionally dep-free.
8
+ - **Vendored surface:** `lib/` (4 files: `parser.js`, `expression.js`, `date.js`, `number.js` — CommonJS, all-relative `require()`s, zero runtime deps) + `package.json` (`{"type":"commonjs"}`) scoping the dir as CJS so Node's loader treats the `.js` files as CommonJS despite the package root's `"type": "module"`.
9
+ - **Frozen:** do NOT edit files under `lib/`. To upgrade, replace `lib/` + update this NOTICE (version + date). Note: v2+ adds `luxon` as a runtime dep — vendoring those would require also vendoring luxon; v1.1.1 is intentionally dep-free. The `package.json` scope file is NOT part of the upstream lib — it's our CJS-in-ESM interop shim; keep it across upgrades.
10
10
 
11
11
  ## Why vendored (per SPEC-5a §9, Q9=A)
12
12
  cron expression parsing is commodity plumbing (DST, month-length, DOW/DOM OR-semantics, Feb 29).
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "commonjs"
3
+ }