gm-cc 2.0.328 → 2.0.330

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.328",
7
+ "version": "2.0.330",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
package/hooks/hooks.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "hooks": [
8
8
  {
9
9
  "type": "command",
10
- "command": "${CLAUDE_PLUGIN_ROOT}/bin/plugkit hook pre-tool-use",
10
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook pre-tool-use",
11
11
  "timeout": 3600
12
12
  }
13
13
  ]
@@ -19,12 +19,7 @@
19
19
  "hooks": [
20
20
  {
21
21
  "type": "command",
22
- "command": "sh ${CLAUDE_PLUGIN_ROOT}/scripts/bootstrap.sh",
23
- "timeout": 60000
24
- },
25
- {
26
- "type": "command",
27
- "command": "${CLAUDE_PLUGIN_ROOT}/bin/plugkit hook session-start",
22
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook session-start",
28
23
  "timeout": 180000
29
24
  }
30
25
  ]
@@ -36,7 +31,7 @@
36
31
  "hooks": [
37
32
  {
38
33
  "type": "command",
39
- "command": "${CLAUDE_PLUGIN_ROOT}/bin/plugkit hook prompt-submit",
34
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook prompt-submit",
40
35
  "timeout": 60000
41
36
  }
42
37
  ]
@@ -48,12 +43,12 @@
48
43
  "hooks": [
49
44
  {
50
45
  "type": "command",
51
- "command": "${CLAUDE_PLUGIN_ROOT}/bin/plugkit hook stop",
46
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook stop",
52
47
  "timeout": 300000
53
48
  },
54
49
  {
55
50
  "type": "command",
56
- "command": "${CLAUDE_PLUGIN_ROOT}/bin/plugkit hook stop-git",
51
+ "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook stop-git",
57
52
  "timeout": 60000
58
53
  }
59
54
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.328",
3
+ "version": "2.0.330",
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.328",
3
+ "version": "2.0.330",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
@@ -0,0 +1,12 @@
1
+ #!/bin/sh
2
+ PLUGIN_ROOT="${CLAUDE_PLUGIN_ROOT:-${CODEX_PLUGIN_ROOT}}"
3
+ [ -z "$PLUGIN_ROOT" ] && exit 0
4
+ PLUGKIT="$PLUGIN_ROOT/bin/plugkit"
5
+ [ -f "$PLUGIN_ROOT/bin/plugkit.exe" ] && PLUGKIT="$PLUGIN_ROOT/bin/plugkit.exe"
6
+ if [ ! -f "$PLUGKIT" ]; then
7
+ sh "$PLUGIN_ROOT/scripts/bootstrap.sh"
8
+ PLUGKIT="$PLUGIN_ROOT/bin/plugkit"
9
+ [ -f "$PLUGIN_ROOT/bin/plugkit.exe" ] && PLUGKIT="$PLUGIN_ROOT/bin/plugkit.exe"
10
+ fi
11
+ [ ! -f "$PLUGKIT" ] && exit 0
12
+ "$PLUGKIT" hook "$1"