gm-skill 2.0.1119 → 2.0.1120
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/gm.json +1 -1
- package/lib/skill-bootstrap.js +9 -31
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ npx gm-skill-bootstrap
|
|
|
28
28
|
|
|
29
29
|
## Version
|
|
30
30
|
|
|
31
|
-
`2.0.
|
|
31
|
+
`2.0.1120` — auto-bumped from the canonical `gm` repo. Every push to `AnEntrypoint/gm` republishes this package alongside all 15 platform packages.
|
|
32
32
|
|
|
33
33
|
## Source of truth
|
|
34
34
|
|
package/gm.json
CHANGED
package/lib/skill-bootstrap.js
CHANGED
|
@@ -15,10 +15,7 @@ const BOOTSTRAP_ERROR_FILE = path.join(os.homedir(), '.gm', 'bootstrap-error.jso
|
|
|
15
15
|
const LOG_DIR = path.join(os.homedir(), '.claude', 'gm-log');
|
|
16
16
|
|
|
17
17
|
function getPlugkitPath() {
|
|
18
|
-
|
|
19
|
-
return PLUGKIT_WASM_WRAPPER;
|
|
20
|
-
}
|
|
21
|
-
throw new Error(`plugkit WASM not found at ${PLUGKIT_WASM_PATH}`);
|
|
18
|
+
return PLUGKIT_WASM_PATH;
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
function emitBootstrapEvent(severity, message, details) {
|
|
@@ -254,34 +251,15 @@ function ensureManagedGitignore(cwd) {
|
|
|
254
251
|
async function downloadPlugkitBinary(version) {
|
|
255
252
|
const binaryName = 'plugkit.wasm';
|
|
256
253
|
const url = `https://github.com/AnEntrypoint/plugkit-bin/releases/download/v${version}/${binaryName}`;
|
|
257
|
-
|
|
258
254
|
emitBootstrapEvent('info', 'Starting WASM download', { version, url });
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
if (res.statusCode !== 200) {
|
|
268
|
-
reject(new Error(`HTTP ${res.statusCode} downloading plugkit.wasm`));
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
const chunks = [];
|
|
273
|
-
res.on('data', (chunk) => chunks.push(chunk));
|
|
274
|
-
res.on('end', () => {
|
|
275
|
-
const data = Buffer.concat(chunks);
|
|
276
|
-
emitBootstrapEvent('info', 'WASM download complete', { bytes: data.length });
|
|
277
|
-
resolve(data);
|
|
278
|
-
});
|
|
279
|
-
})
|
|
280
|
-
.on('error', (e) => {
|
|
281
|
-
emitBootstrapEvent('error', 'Download failed', { error: e.message });
|
|
282
|
-
reject(e);
|
|
283
|
-
});
|
|
284
|
-
});
|
|
255
|
+
try {
|
|
256
|
+
const buf = await httpGet(url, 30000);
|
|
257
|
+
emitBootstrapEvent('info', 'WASM download complete', { bytes: buf.length });
|
|
258
|
+
return buf;
|
|
259
|
+
} catch (e) {
|
|
260
|
+
emitBootstrapEvent('error', 'Download failed', { error: e.message });
|
|
261
|
+
throw e;
|
|
262
|
+
}
|
|
285
263
|
}
|
|
286
264
|
|
|
287
265
|
function findPlugkitWasmPids() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-skill",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1120",
|
|
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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"gm.json"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"gm-plugkit": "^2.0.
|
|
42
|
+
"gm-plugkit": "^2.0.1120"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=16.0.0"
|