gm-cc 2.0.622 → 2.0.624
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/.claude-plugin/marketplace.json +1 -1
- package/bin/plugkit-darwin-arm64 +0 -0
- package/bin/plugkit-darwin-x64 +0 -0
- package/bin/plugkit-linux-arm64 +0 -0
- package/bin/plugkit-linux-x64 +0 -0
- package/bin/plugkit-win32-arm64.exe +0 -0
- package/bin/plugkit-win32-x64.exe +0 -0
- package/bin/plugkit.exe +0 -0
- package/hooks/hooks.json +12 -0
- package/hooks/post-tool-use-hook.js +11 -0
- package/package.json +1 -1
- package/plugin.json +1 -1
|
@@ -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.
|
|
7
|
+
"version": "2.0.624",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/bin/plugkit-darwin-arm64
CHANGED
|
Binary file
|
package/bin/plugkit-darwin-x64
CHANGED
|
Binary file
|
package/bin/plugkit-linux-arm64
CHANGED
|
Binary file
|
package/bin/plugkit-linux-x64
CHANGED
|
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