gm-skill 2.0.1557 → 2.0.1558

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,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1557",
3
+ "version": "2.0.1558",
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": {
@@ -264,7 +264,11 @@ function spawnWatcher(bootReason) {
264
264
  try { fs.unlinkSync(SUPERVISOR_PATH); } catch (_) {}
265
265
  process.exit(0);
266
266
  }
267
- const respawnReason = reason === 'version-change' ? 'planned-restart-version-change' : 'unplanned-restart-after-exit';
267
+ const respawnReason = reason === 'version-change'
268
+ ? 'planned-restart-version-change'
269
+ : isPlanned
270
+ ? `planned-restart-after-${reason || (cleanExit ? 'clean-exit' : 'exit')}`
271
+ : 'unplanned-restart-after-exit';
268
272
  writeSupervisorStatus('restarting', {
269
273
  prior_watcher_pid: currentChildPid,
270
274
  prior_exit_code: code,
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1557",
3
+ "version": "2.0.1558",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1557",
3
+ "version": "2.0.1558",
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",