gm-gc 2.0.32 → 2.0.34

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "homepage": "https://github.com/AnEntrypoint/gm",
package/hooks/hooks.json CHANGED
@@ -3,35 +3,55 @@
3
3
  "hooks": {
4
4
  "BeforeTool": [
5
5
  {
6
- "type": "command",
7
- "command": "node ${extensionPath}/hooks/pre-tool-use-hook.js",
8
- "timeout": 3600
6
+ "matcher": "*",
7
+ "hooks": [
8
+ {
9
+ "type": "command",
10
+ "command": "node ${extensionPath}/hooks/pre-tool-use-hook.js",
11
+ "timeout": 3600
12
+ }
13
+ ]
9
14
  }
10
15
  ],
11
16
  "SessionStart": [
12
17
  {
13
- "type": "command",
14
- "command": "node ${extensionPath}/hooks/session-start-hook.js",
15
- "timeout": 10000
18
+ "matcher": "*",
19
+ "hooks": [
20
+ {
21
+ "type": "command",
22
+ "command": "node ${extensionPath}/hooks/session-start-hook.js",
23
+ "timeout": 10000
24
+ }
25
+ ]
16
26
  }
17
27
  ],
18
28
  "BeforeAgent": [
19
29
  {
20
- "type": "command",
21
- "command": "node ${extensionPath}/hooks/prompt-submit-hook.js",
22
- "timeout": 3600
30
+ "matcher": "*",
31
+ "hooks": [
32
+ {
33
+ "type": "command",
34
+ "command": "node ${extensionPath}/hooks/prompt-submit-hook.js",
35
+ "timeout": 3600
36
+ }
37
+ ]
23
38
  }
24
39
  ],
25
40
  "SessionEnd": [
26
41
  {
27
- "type": "command",
28
- "command": "node ${extensionPath}/hooks/stop-hook.js",
29
- "timeout": 300000
30
- },
31
- {
32
- "type": "command",
33
- "command": "node ${extensionPath}/hooks/stop-hook-git.js",
34
- "timeout": 60000
42
+ "matcher": "*",
43
+ "hooks": [
44
+ {
45
+ "type": "command",
46
+ "command": "node ${extensionPath}/hooks/stop-hook.js",
47
+ "timeout": 300000
48
+ },
49
+ {
50
+ "type": "command",
51
+ "command": "node ${extensionPath}/hooks/stop-hook-git.js",
52
+ "timeout": 60000
53
+ }
54
+ ]
35
55
  }
36
56
  ]
37
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-gc",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",