gm-cc 2.0.623 → 2.0.625

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.
@@ -4,7 +4,7 @@
4
4
  "name": "AnEntrypoint"
5
5
  },
6
6
  "description": "State machine agent with hooks, skills, and automated git enforcement",
7
- "version": "2.0.623",
7
+ "version": "2.0.625",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/bin/plugkit.exe CHANGED
Binary file
package/hooks/hooks.json CHANGED
@@ -18,6 +18,18 @@
18
18
  ]
19
19
  }
20
20
  ],
21
+ "PostToolUse": [
22
+ {
23
+ "matcher": "*",
24
+ "hooks": [
25
+ {
26
+ "type": "command",
27
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/post-tool-use-hook.js",
28
+ "timeout": 3000
29
+ }
30
+ ]
31
+ }
32
+ ],
21
33
  "SessionStart": [
22
34
  {
23
35
  "matcher": "*",
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+ const fs = require('fs');
3
+ let raw = '';
4
+ try { raw = fs.readFileSync(0, 'utf8'); } catch (_) {}
5
+ if (!raw.trim()) raw = process.env.CLAUDE_HOOK_INPUT || '{}';
6
+ const input = JSON.parse(raw);
7
+ const toolName = input.tool_name || input.tool_use?.name || '';
8
+ const toolOutput = input.tool_result || input.output || '';
9
+ if ((toolName === 'Bash') && toolOutput && typeof toolOutput === 'string' && toolOutput.length > 20) {
10
+ process.stdout.write(JSON.stringify({ systemMessage: 'exec: run completed. MEMORIZE CHECK: did this output resolve any prior unknown (API shape, version, behavior, env quirk, root cause, user preference)? If YES → spawn Agent(subagent_type=\'memorize\', model=\'haiku\', run_in_background=true, prompt=\'## CONTEXT TO MEMORIZE\\n<fact>\') NOW before your next tool call. One call per fact. Skipping = memory leak = bug.' }));
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.623",
3
+ "version": "2.0.625",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.623",
3
+ "version": "2.0.625",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",