gm-skill 2.0.1365 → 2.0.1366

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.1365",
3
+ "version": "2.0.1366",
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": {
@@ -2702,7 +2702,12 @@ async function runSpoolWatcher(instance, spoolDir) {
2702
2702
  try { fs.unlinkSync(UPDATE_CHECK_ERROR_MARKER); } catch (_) {}
2703
2703
  }
2704
2704
  function normalizeUpdateErrorCategory(fields) {
2705
- if (fields.status && fields.status !== 200) return `http-${fields.status}`;
2705
+ if (typeof fields.status === 'number') {
2706
+ if (fields.status === -1) return 'network';
2707
+ if (fields.status === -2) return 'network';
2708
+ if (fields.status < 0) return 'network';
2709
+ if (fields.status !== 200 && fields.status > 0) return `http-${fields.status}`;
2710
+ }
2706
2711
  const err = String(fields.error || '').toLowerCase();
2707
2712
  if (!err) return 'unknown';
2708
2713
  if (/timeout|timed out|etimedout/.test(err)) return 'network';
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1365",
3
+ "version": "2.0.1366",
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.1365",
3
+ "version": "2.0.1366",
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",