gm-skill 2.0.1427 → 2.0.1429

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.
@@ -1 +1 @@
1
- 0.1.571
1
+ 0.1.572
@@ -1 +1 @@
1
- 2b87e1e0e1f787ba10321b7590e5a35c3d404906db02c2834559a62d06676e3b plugkit.wasm
1
+ 10119fafd5525a5bbde626fcde68fa5f73105853a830323d7b84d1df3ffc6753 plugkit.wasm
package/gm-plugkit/cli.js CHANGED
@@ -54,12 +54,20 @@ function killStaleWatchers() {
54
54
  }
55
55
  const diskMtime = fs.statSync(wrapperPath).mtimeMs;
56
56
  const diskWasmVersion = readDiskWasmVersion();
57
+ let localStatus = null;
58
+ try {
59
+ const localStatusPath = path.join(process.cwd(), '.gm', 'exec-spool', '.status.json');
60
+ if (fs.existsSync(localStatusPath)) localStatus = JSON.parse(fs.readFileSync(localStatusPath, 'utf-8'));
61
+ } catch (_) { localStatus = null; }
57
62
  const stale = [];
58
63
  const fresh = [];
59
64
  function consider(pid, startedMs) {
60
65
  const reasons = [];
61
66
  if (startedMs < diskMtime) reasons.push('wrapper-mtime');
62
- const instV = readWatcherInstanceVersion(pid);
67
+ let instV = readWatcherInstanceVersion(pid);
68
+ if (!instV && localStatus && localStatus.pid === pid) {
69
+ instV = localStatus.instance_version || localStatus.version || null;
70
+ }
63
71
  if (diskWasmVersion && instV && instV !== diskWasmVersion) reasons.push(`wasm-drift:${instV}->${diskWasmVersion}`);
64
72
  if (reasons.length > 0) stale.push({ pid, started_ms: startedMs, instance_version: instV, reasons });
65
73
  else fresh.push({ pid, started_ms: startedMs, instance_version: instV });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1427",
3
+ "version": "2.0.1429",
4
4
  "description": "Bootstrap and daemon-spawn tool for gm plugkit binary. Downloads the correct platform binary, verifies SHA256, and starts the spool watcher daemon. Includes plugkit-wasm-wrapper for WASM-based spool watching.",
5
5
  "main": "index.js",
6
6
  "bin": {
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1427",
3
+ "version": "2.0.1429",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "plugkitVersion": "0.1.571"
20
+ "plugkitVersion": "0.1.572"
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1427",
3
+ "version": "2.0.1429",
4
4
  "description": "Canonical universal harness — AI-native software engineering via skill-driven orchestration; bootstraps plugkit for task execution and session isolation. Install in any AI coding agent host.",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",