gm-qwen 2.0.868 → 2.0.869

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/plugkit.js CHANGED
@@ -31,7 +31,13 @@ async function main() {
31
31
  if (isHook) {
32
32
  bin = resolveCachedBinary({ wrapperDir: dir }) || legacyFallback();
33
33
  if (!bin) {
34
- process.stderr.write(`[plugkit] hook ${args[1] || ''} skipped: binary not yet installed (cache miss). Enforcement disabled until bootstrap completes.\n`);
34
+ const hookSubcmd = args[1] || '';
35
+ if (hookSubcmd === 'pre-tool-use') {
36
+ process.stdout.write(JSON.stringify({ decision: 'block', reason: '[plugkit] binary not yet installed — bootstrap in progress. All tool use blocked until plugkit binary is downloaded and enforcement is active.' }));
37
+ obsEvent('plugkit_wrapper', 'hook_block_uncached', { argv: args.slice(0, 4), dur_ms: Date.now() - startedAt });
38
+ process.exit(0);
39
+ }
40
+ process.stderr.write(`[plugkit] hook ${hookSubcmd} skipped: binary not yet installed (cache miss). Enforcement disabled until bootstrap completes.\n`);
35
41
  obsEvent('plugkit_wrapper', 'hook_skip_uncached', { argv: args.slice(0, 4), dur_ms: Date.now() - startedAt });
36
42
  process.exit(0);
37
43
  }
package/gm.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.868",
3
+ "version": "2.0.869",
4
4
  "description": "State machine agent with hooks, 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-qwen",
3
- "version": "2.0.868",
3
+ "version": "2.0.869",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",