gm-skill 2.0.1490 → 2.0.1491

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.1490",
3
+ "version": "2.0.1491",
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": {
@@ -145,15 +145,18 @@ function spawnWatcher(bootReason) {
145
145
  const reason = shutdownReason && shutdownReason.reason;
146
146
  const idleClean = reason === 'idle';
147
147
  const lockRejected = code === 75;
148
- const plannedReasons = new Set(['idle', 'sigterm', 'version-change', 'wrapper-change', 'peer-stale-takeover', 'external-planned']);
149
- const isPlanned = plannedReasons.has(reason) || lockRejected;
148
+ const cleanExit = code === 0;
149
+ const plannedReasons = new Set(['idle', 'sigterm', 'version-change', 'wrapper-change', 'peer-stale-takeover', 'external-planned', 'process-exit']);
150
+ const isPlanned = plannedReasons.has(reason) || lockRejected || cleanExit;
150
151
  const eventName = idleClean
151
152
  ? 'supervisor.watcher-exited-idle'
152
153
  : reason === 'version-change'
153
154
  ? 'supervisor.watcher-exited-for-update'
154
155
  : lockRejected
155
156
  ? 'supervisor.watcher-exited-lock-rejected'
156
- : 'supervisor.watcher-exited-unexpectedly';
157
+ : cleanExit
158
+ ? 'supervisor.watcher-exited-clean'
159
+ : 'supervisor.watcher-exited-unexpectedly';
157
160
  logEvent(eventName, {
158
161
  watcher_pid: currentChildPid,
159
162
  exit_code: code,
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1490",
3
+ "version": "2.0.1491",
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.1490",
3
+ "version": "2.0.1491",
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",