gm-skill 2.0.1449 → 2.0.1450
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 +3 -3
- 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.1450",
|
|
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": {
|
|
@@ -1203,9 +1203,9 @@ function legacyKvDir(ns) {
|
|
|
1203
1203
|
return path.join(KV_DIR, safeName(ns));
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
|
-
function kvFilePath(ns, key) {
|
|
1206
|
+
function kvFilePath(ns, key, ensureDir) {
|
|
1207
1207
|
const dir = projectKvDir(ns);
|
|
1208
|
-
fs.mkdirSync(dir, { recursive: true });
|
|
1208
|
+
if (ensureDir) fs.mkdirSync(dir, { recursive: true });
|
|
1209
1209
|
return path.join(dir, safeName(key) + '.json');
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
@@ -1534,7 +1534,7 @@ function makeHostFunctions(instanceRef) {
|
|
|
1534
1534
|
const key = readWasmStr(instanceRef.value, keyPtr, keyLen);
|
|
1535
1535
|
const val = readWasmStr(instanceRef.value, valPtr, valLen);
|
|
1536
1536
|
if (!ns || !key) return 0;
|
|
1537
|
-
fs.writeFileSync(kvFilePath(ns, key), val);
|
|
1537
|
+
fs.writeFileSync(kvFilePath(ns, key, true), val);
|
|
1538
1538
|
return 1;
|
|
1539
1539
|
} catch (e) {
|
|
1540
1540
|
return 0;
|
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.1450",
|
|
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",
|