gm-skill 2.0.1372 → 2.0.1373
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 +9 -1
- 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.1373",
|
|
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": {
|
|
@@ -345,7 +345,15 @@ function readCurrentSess() {
|
|
|
345
345
|
} catch (_) {}
|
|
346
346
|
}
|
|
347
347
|
__sessCache.readAt = now;
|
|
348
|
-
|
|
348
|
+
let resolved = found || process.env.CLAUDE_SESSION_ID || process.env.GM_SESSION_ID || '';
|
|
349
|
+
if (!resolved) {
|
|
350
|
+
if (!__sessCache.syntheticSess) {
|
|
351
|
+
const cwdHash = require('crypto').createHash('sha1').update(process.cwd()).digest('hex').slice(0, 8);
|
|
352
|
+
__sessCache.syntheticSess = `cwd-${cwdHash}-pid${process.pid}`;
|
|
353
|
+
}
|
|
354
|
+
resolved = __sessCache.syntheticSess;
|
|
355
|
+
}
|
|
356
|
+
__sessCache.value = resolved;
|
|
349
357
|
return __sessCache.value;
|
|
350
358
|
}
|
|
351
359
|
|
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.1373",
|
|
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",
|