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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-plugkit",
3
- "version": "2.0.1372",
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
- __sessCache.value = found || process.env.CLAUDE_SESSION_ID || process.env.GM_SESSION_ID || '';
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1372",
3
+ "version": "2.0.1373",
4
4
  "description": "Spool-dispatch orchestration engine with unified state machine, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-skill",
3
- "version": "2.0.1372",
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",