gm-skill 2.0.1428 → 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.
- package/gm-plugkit/cli.js +9 -1
- package/gm-plugkit/package.json +1 -1
- package/gm.json +1 -1
- package/package.json +1 -1
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
|
-
|
|
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 });
|
package/gm-plugkit/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-plugkit",
|
|
3
|
-
"version": "2.0.
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
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",
|