gm-oc 2.0.329 → 2.0.331

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.
Files changed (2) hide show
  1. package/hooks/hooks.json +5 -10
  2. package/package.json +1 -1
package/hooks/hooks.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "hooks": [
8
8
  {
9
9
  "type": "command",
10
- "command": "sh ${OC_PLUGIN_ROOT}/scripts/run-hook.sh pre-tool-use",
10
+ "command": "node ${OC_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 ${OC_PLUGIN_ROOT}/scripts/bootstrap.sh",
23
- "timeout": 60000
24
- },
25
- {
26
- "type": "command",
27
- "command": "sh ${OC_PLUGIN_ROOT}/scripts/run-hook.sh session-start",
22
+ "command": "node ${OC_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": "sh ${OC_PLUGIN_ROOT}/scripts/run-hook.sh prompt-submit",
34
+ "command": "node ${OC_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": "sh ${OC_PLUGIN_ROOT}/scripts/run-hook.sh stop",
46
+ "command": "node ${OC_PLUGIN_ROOT}/bin/plugkit.js hook stop",
52
47
  "timeout": 300000
53
48
  },
54
49
  {
55
50
  "type": "command",
56
- "command": "sh ${OC_PLUGIN_ROOT}/scripts/run-hook.sh stop-git",
51
+ "command": "node ${OC_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-oc",
3
- "version": "2.0.329",
3
+ "version": "2.0.331",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",