gm-skill 2.0.1300 → 2.0.1302
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/README.md +1 -1
- package/bin/plugkit.version +1 -1
- package/bin/plugkit.wasm +0 -0
- package/bin/plugkit.wasm.sha256 +1 -1
- package/gm-plugkit/plugkit-wasm-wrapper.js +20 -0
- package/gm.json +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ An earlier generation fanned out fifteen per-platform downstream repos (gm-cc, g
|
|
|
35
35
|
|
|
36
36
|
## Version
|
|
37
37
|
|
|
38
|
-
`2.0.
|
|
38
|
+
`2.0.1302` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` (or any cascading sibling crate) republishes this package.
|
|
39
39
|
|
|
40
40
|
## Source of truth
|
|
41
41
|
|
package/bin/plugkit.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.484
|
package/bin/plugkit.wasm
CHANGED
|
Binary file
|
package/bin/plugkit.wasm.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
8b45c841f3d43e28baed5f3388b3e21238e9c368cef5b99a0e5ca8b682a5d6eb plugkit.wasm
|
|
@@ -1556,6 +1556,26 @@ function makeHostFunctions(instanceRef) {
|
|
|
1556
1556
|
return writeWasmJson(instanceRef.value, { ok: false, error: e.message });
|
|
1557
1557
|
}
|
|
1558
1558
|
},
|
|
1559
|
+
|
|
1560
|
+
host_git: (argsPtr, argsLen, cwdPtr, cwdLen) => {
|
|
1561
|
+
try {
|
|
1562
|
+
const args = readWasmStr(instanceRef.value, argsPtr, argsLen);
|
|
1563
|
+
const cwdStr = readWasmStr(instanceRef.value, cwdPtr, cwdLen);
|
|
1564
|
+
const cwd = cwdStr || process.cwd();
|
|
1565
|
+
const { execSync } = require('child_process');
|
|
1566
|
+
let stdout = '', stderr = '', exit_code = 0;
|
|
1567
|
+
try {
|
|
1568
|
+
stdout = execSync('git ' + args, { encoding: 'utf8', timeout: 30000, cwd, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
1569
|
+
} catch (e) {
|
|
1570
|
+
stdout = String((e && e.stdout) || '');
|
|
1571
|
+
stderr = String((e && e.stderr) || (e && e.message) || '');
|
|
1572
|
+
exit_code = (e && typeof e.status === 'number') ? e.status : 1;
|
|
1573
|
+
}
|
|
1574
|
+
return writeWasmJson(instanceRef.value, { stdout, stderr, exit_code });
|
|
1575
|
+
} catch (e) {
|
|
1576
|
+
return writeWasmJson(instanceRef.value, { stdout: '', stderr: String(e && e.message || e), exit_code: 1 });
|
|
1577
|
+
}
|
|
1578
|
+
},
|
|
1559
1579
|
};
|
|
1560
1580
|
}
|
|
1561
1581
|
|
package/gm.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1302",
|
|
4
4
|
"description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
|
|
5
5
|
"author": "AnEntrypoint",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,5 +17,5 @@
|
|
|
17
17
|
"publishConfig": {
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
|
-
"plugkitVersion": "0.1.
|
|
20
|
+
"plugkitVersion": "0.1.484"
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1302",
|
|
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",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"gm.json"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"gm-plugkit": "^2.0.
|
|
44
|
+
"gm-plugkit": "^2.0.1302"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=16.0.0"
|