gm-qwen 2.0.995 → 2.0.997

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/bin/bootstrap.js CHANGED
@@ -45,6 +45,14 @@ function writeBootstrapError(spec) {
45
45
  } catch (_) {}
46
46
  }
47
47
 
48
+ function clearBootstrapError() {
49
+ try {
50
+ const projectDir = process.env.CLAUDE_PROJECT_DIR || process.cwd();
51
+ const out = path.join(projectDir, '.gm', 'exec-spool', '.bootstrap-error.json');
52
+ fs.unlinkSync(out);
53
+ } catch (_) {}
54
+ }
55
+
48
56
  function obsEvent(subsystem, event, fields) {
49
57
  if (process.env.GM_LOG_DISABLE) return;
50
58
  try {
@@ -386,6 +394,7 @@ async function bootstrap(opts) {
386
394
  if (actualSha === expectedSha) {
387
395
  obsEvent('bootstrap', 'decision.hit', { reason: 'sha-match', version, path: finalPath });
388
396
  copyToGmTools(finalPath, wrapperDir, version);
397
+ clearBootstrapError();
389
398
  return finalPath;
390
399
  }
391
400
  log(`decision: fetch reason: cache-hit-sha-mismatch (dir=v${version} expected ${expectedSha.slice(0,12)}… got ${(actualSha||'').slice(0,12)}…)`);
@@ -400,6 +409,7 @@ async function bootstrap(opts) {
400
409
  } else {
401
410
  obsEvent('bootstrap', 'decision.hit', { reason: 'sentinel+no-sha-manifest', path: finalPath });
402
411
  copyToGmTools(finalPath, wrapperDir, version);
412
+ clearBootstrapError();
403
413
  return finalPath;
404
414
  }
405
415
  }
@@ -408,6 +418,7 @@ async function bootstrap(opts) {
408
418
  obsEvent('bootstrap', 'decision.heal', { reason: 'sha-match', path: finalPath });
409
419
  spawnDetachedRtkFetch(wrapperDir);
410
420
  copyToGmTools(finalPath, wrapperDir, version);
421
+ clearBootstrapError();
411
422
  return finalPath;
412
423
  }
413
424
 
@@ -417,12 +428,14 @@ async function bootstrap(opts) {
417
428
  if (fs.existsSync(finalPath) && fs.existsSync(okSentinel)) {
418
429
  obsEvent('bootstrap', 'decision.hit', { reason: 'lock-race-resolved', path: finalPath });
419
430
  copyToGmTools(finalPath, wrapperDir, version);
431
+ clearBootstrapError();
420
432
  return finalPath;
421
433
  }
422
434
  if (healIfShaMatches(finalPath, expectedSha, okSentinel, partialPath, 'plugkit')) {
423
435
  obsEvent('bootstrap', 'decision.heal', { reason: 'sha-match-under-lock', path: finalPath });
424
436
  spawnDetachedRtkFetch(wrapperDir);
425
437
  copyToGmTools(finalPath, wrapperDir, version);
438
+ clearBootstrapError();
426
439
  return finalPath;
427
440
  }
428
441
 
@@ -484,6 +497,7 @@ async function bootstrap(opts) {
484
497
  pruneOldVersions(root, version, readRtkVersion(wrapperDir));
485
498
  spawnDetachedRtkFetch(wrapperDir);
486
499
  copyToGmTools(finalPath, wrapperDir, version);
500
+ clearBootstrapError();
487
501
  return finalPath;
488
502
  } finally {
489
503
  releaseLock(lockPath);
@@ -1,6 +1,6 @@
1
- f8bf73b8de9302f8915238b25f96c2c088ab78a9b781a88b12fd6888a0a95c35 plugkit-win32-x64.exe
2
- 65e7b77aa3739ba94b37812ebe2e1f61f8c44b49e7ea0f42997067b3b7c8c4b2 plugkit-win32-arm64.exe
3
- 99dadd1e8bc5396e814f980542b654157d0eff3ce9c7b07e82a1f82bb823e4d3 plugkit-darwin-x64
4
- 4f2d24e661dddcdbaf7cd1fab6cebdc407ef84c8bfc302c0e24800aaad76b945 plugkit-darwin-arm64
5
- 6fee6c30891c4e3ee9a65b946621023ec58ca42fc5972b99eacf5a7a5a50900c plugkit-linux-x64
6
- 68d9a64ebb78dfcd36bb52ba089dfa42b6718c1a46456188c7dd5de2f91714d0 plugkit-linux-arm64
1
+ 62a6680d4e69bb5638401c6a49da384c724505ec81655bcf1472285c18ed36e1 plugkit-win32-x64.exe
2
+ d2207b2170f946528f8ecaf385a95e124cc068a9dff5d48f08ed62ae3fb212d3 plugkit-win32-arm64.exe
3
+ 1746f2746091c654cfd56c82e165bb4a5002b8ea33847bf6a15acef82fafd003 plugkit-darwin-x64
4
+ b506f4ff3a1a9ab9a58ba4320980eb76b8b8582fb64d6b04f247d63716ff9e1c plugkit-darwin-arm64
5
+ 9fcbd4cc768ef48a3979e1a53cbc2c3073925f540375a524d8047ae7aa2ee0cb plugkit-linux-x64
6
+ 1bfc06f1cbe120b541885e2dc6a464418f81886a1c912339a4e2a0b1381ef4e6 plugkit-linux-arm64
@@ -1 +1 @@
1
- 0.1.345
1
+ 0.1.346
package/bin/rtk.sha256 CHANGED
@@ -1,5 +1,5 @@
1
- 572c02ddaa21155d69952569262edb7327901fef480b11e6a7c1619764d6c877 rtk-win32-x64.exe
2
- c0f0dea4e581783c884f5ecf2f01ba56bdb67a6e6f1daf760c61a4ff17cca462 rtk-win32-arm64.exe
1
+ a51569822980fa028e42d9737b5b2503586f71d86dce3f5810cd50141651d882 rtk-win32-x64.exe
2
+ 655520131a484001eb2d02b3246b4dda8cb357dedbbb062f8b4c6dcffa6e4219 rtk-win32-arm64.exe
3
3
  1b1e792767ed0e1e6ca0e2f0a8de02e77b06dea2f5ae667278b94baf239fcdc3 rtk-darwin-x64
4
4
  9717978d9d6216ea50c94444e00e359479b6315a17bd48c16064b267c8b0b60d rtk-darwin-arm64
5
5
  a100d3defac54194144e5723aec57e6f286b42298c67145c8428815246c9ee56 rtk-linux-x64
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.995",
3
+ "version": "2.0.997",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -23,5 +23,5 @@
23
23
  "publishConfig": {
24
24
  "access": "public"
25
25
  },
26
- "plugkitVersion": "0.1.345"
26
+ "plugkitVersion": "0.1.346"
27
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-qwen",
3
- "version": "2.0.995",
3
+ "version": "2.0.997",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",