gm-skill 2.0.1949 → 2.0.1950
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/package.json +1 -1
- package/gm-plugkit/plugkit-wasm-wrapper.js +4 -2
- package/gm.json +1 -1
- package/package.json +1 -1
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.1950",
|
|
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": {
|
|
@@ -5274,14 +5274,16 @@ async function selfHeal(reason) {
|
|
|
5274
5274
|
|
|
5275
5275
|
async function tryInstantiate(wasmPath) {
|
|
5276
5276
|
const wasmBuffer = fs.readFileSync(wasmPath);
|
|
5277
|
-
|
|
5277
|
+
try { _writeStatusBusy(60000); } catch (_) {}
|
|
5278
|
+
const wasmModule = await WebAssembly.compile(wasmBuffer);
|
|
5279
|
+
try { _writeStatusBusy(60000); } catch (_) {}
|
|
5278
5280
|
const instanceRef = { value: null };
|
|
5279
5281
|
const hostFunctions = makeHostFunctions(instanceRef);
|
|
5280
5282
|
const importObject = {
|
|
5281
5283
|
env: hostFunctions,
|
|
5282
5284
|
wasi_snapshot_preview1: createWasiShim(instanceRef),
|
|
5283
5285
|
};
|
|
5284
|
-
const instance =
|
|
5286
|
+
const instance = await WebAssembly.instantiate(wasmModule, importObject);
|
|
5285
5287
|
instanceRef.value = instance;
|
|
5286
5288
|
return { instance, instanceRef };
|
|
5287
5289
|
}
|
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.1950",
|
|
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",
|