gm-skill 2.0.1328 → 2.0.1330
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/bootstrap.js +1 -0
- package/gm-plugkit/package.json +3 -2
- package/gm-plugkit/plugkit-wasm-wrapper.js +10 -1
- package/gm.json +1 -1
- package/package.json +1 -1
package/gm-plugkit/bootstrap.js
CHANGED
|
@@ -664,6 +664,7 @@ function ensureWrapperFresh() {
|
|
|
664
664
|
function ensureSkillMdFresh() {
|
|
665
665
|
try {
|
|
666
666
|
const candidates = [
|
|
667
|
+
path.join(__dirname, 'SKILL.md'),
|
|
667
668
|
path.join(__dirname, '..', 'gm-skill', 'skills', 'gm-skill', 'SKILL.md'),
|
|
668
669
|
path.join(__dirname, '..', '..', 'gm-skill', 'skills', 'gm-skill', 'SKILL.md'),
|
|
669
670
|
path.join(__dirname, '..', 'skills', 'gm-skill', 'SKILL.md'),
|
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.1330",
|
|
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": {
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"bootstrap.js",
|
|
14
14
|
"plugkit-wasm-wrapper.js",
|
|
15
15
|
"plugkit.version",
|
|
16
|
-
"plugkit.sha256"
|
|
16
|
+
"plugkit.sha256",
|
|
17
|
+
"SKILL.md"
|
|
17
18
|
],
|
|
18
19
|
"keywords": [
|
|
19
20
|
"gm",
|
|
@@ -2458,10 +2458,19 @@ async function runSpoolWatcher(instance, spoolDir) {
|
|
|
2458
2458
|
const STATUS_PATH = path.join(spoolDir, '.status.json');
|
|
2459
2459
|
function writeStatus() {
|
|
2460
2460
|
try {
|
|
2461
|
+
const fileV = readFileVersionOnly() || null;
|
|
2462
|
+
const instV = _instanceVersionAtBoot || null;
|
|
2463
|
+
const version = instV || fileV;
|
|
2464
|
+
const drifted = !!(fileV && instV && fileV !== instV);
|
|
2461
2465
|
fs.writeFileSync(STATUS_PATH, JSON.stringify({
|
|
2462
2466
|
pid: process.pid,
|
|
2463
2467
|
ts: Date.now(),
|
|
2464
|
-
version
|
|
2468
|
+
version,
|
|
2469
|
+
instance_version: instV,
|
|
2470
|
+
file_version: fileV,
|
|
2471
|
+
version_drifted: drifted,
|
|
2472
|
+
boot_reason: _bootReason,
|
|
2473
|
+
supervisor_pid: _supervisorPid,
|
|
2465
2474
|
wrapper_sha: _ownWrapperSha12 || null,
|
|
2466
2475
|
idle_limit_ms: IDLE_LIMIT_MS,
|
|
2467
2476
|
}));
|
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.1330",
|
|
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",
|