gm-oc 2.0.1065 → 2.0.1066

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/install.js CHANGED
@@ -36,7 +36,6 @@ function install() {
36
36
  const ocDir = path.join(projectRoot, '.opencode', 'plugins', 'gm-oc');
37
37
  const sourceDir = __dirname;
38
38
  safeCopyDirectory(path.join(sourceDir, 'agents'), path.join(ocDir, 'agents'));
39
- safeCopyDirectory(path.join(sourceDir, 'hooks'), path.join(ocDir, 'hooks'));
40
39
  safeCopyDirectory(path.join(sourceDir, 'bin'), path.join(ocDir, 'bin'));
41
40
  safeCopyDirectory(path.join(sourceDir, 'skills'), path.join(ocDir, 'skills'));
42
41
  safeCopyDirectory(path.join(sourceDir, 'lang'), path.join(ocDir, 'lang'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-oc",
3
- "version": "2.0.1065",
3
+ "version": "2.0.1066",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/hooks/hooks.json DELETED
@@ -1,46 +0,0 @@
1
- {
2
- "description": "Hooks for gm OpenCode extension",
3
- "hooks": {
4
- "tool.execute.before": [
5
- {
6
- "matcher": "*",
7
- "hooks": [
8
- {
9
- "type": "command",
10
- "command": "node ${OC_PLUGIN_ROOT}/bin/plugkit.js hook pre-tool-use",
11
- "timeout": 3600
12
- }
13
- ]
14
- }
15
- ],
16
- "message.updated": [
17
- {
18
- "matcher": "*",
19
- "hooks": [
20
- {
21
- "type": "command",
22
- "command": "node ${OC_PLUGIN_ROOT}/bin/plugkit.js hook prompt-submit",
23
- "timeout": 60000
24
- }
25
- ]
26
- }
27
- ],
28
- "session.closing": [
29
- {
30
- "matcher": "*",
31
- "hooks": [
32
- {
33
- "type": "command",
34
- "command": "node ${OC_PLUGIN_ROOT}/bin/plugkit.js hook stop",
35
- "timeout": 300000
36
- },
37
- {
38
- "type": "command",
39
- "command": "node ${OC_PLUGIN_ROOT}/bin/plugkit.js hook stop-git",
40
- "timeout": 60000
41
- }
42
- ]
43
- }
44
- ]
45
- }
46
- }
@@ -1,43 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "description": "Hook spec for gm OpenCode extension",
4
- "envVar": "OC_PLUGIN_ROOT",
5
- "plugkitInvoker": "node",
6
- "events": [
7
- {
8
- "eventKey": "tool.execute.before",
9
- "commands": [
10
- {
11
- "kind": "plugkit",
12
- "subcommand": "pre-tool-use",
13
- "timeout": 3600
14
- }
15
- ]
16
- },
17
- {
18
- "eventKey": "message.updated",
19
- "commands": [
20
- {
21
- "kind": "plugkit",
22
- "subcommand": "prompt-submit",
23
- "timeout": 60000
24
- }
25
- ]
26
- },
27
- {
28
- "eventKey": "session.closing",
29
- "commands": [
30
- {
31
- "kind": "plugkit",
32
- "subcommand": "stop",
33
- "timeout": 300000
34
- },
35
- {
36
- "kind": "plugkit",
37
- "subcommand": "stop-git",
38
- "timeout": 60000
39
- }
40
- ]
41
- }
42
- ]
43
- }