gm-cc 2.0.1065 → 2.0.1067

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.1065",
7
+ "version": "2.0.1067",
8
8
  "metadata": {
9
9
  "description": "State machine agent with hooks, skills, and automated git enforcement"
10
10
  },
package/AGENTS.md CHANGED
@@ -2,10 +2,14 @@
2
2
 
3
3
  ## Technical Notes
4
4
 
5
- Hook response format: `{"decision":"allow|block","reason":"text"}` with exit code 0.
5
+ Dispatch via file-spool markers (not hooks):
6
+ - .gm/prd.yml — orchestration state
7
+ - .gm/mutables.yml — unknown resolution tracking
8
+ - .gm/needs-gm — marks when PRD requires orchestration run
9
+ - .gm/gm-fired-<id> — marks orchestration completion per session
6
10
 
7
11
  Tool names for this platform: `bash` → `Bash`, `write` → `Write`, `glob` → `Glob`, `grep` → `Grep`, `search` → `Search`
8
12
 
9
- When filtering transcript history by sessionId, use: `if (sessionId && entry.sessionId === sessionId)`
13
+ Session isolation: use SESSION_ID env var for per-session resource cleanup.
10
14
 
11
15
  Verification file `.gm-stop-verified` is auto-added to .gitignore and tracks session completion state.
package/install.js CHANGED
@@ -71,7 +71,6 @@ function install() {
71
71
  const claudeDir = path.join(projectRoot, '.claude');
72
72
  const sourceDir = __dirname.replace(/[\/]scripts$/, '');
73
73
  safeCopyDirectoryFull(path.join(sourceDir, 'agents'), path.join(claudeDir, 'agents'));
74
- safeCopyDirectoryFull(path.join(sourceDir, 'hooks'), path.join(claudeDir, 'hooks'));
75
74
  safeCopyFile(path.join(sourceDir, '.mcp.json'), path.join(claudeDir, '.mcp.json'));
76
75
  updateGitignore(projectRoot);
77
76
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-cc",
3
- "version": "2.0.1065",
3
+ "version": "2.0.1067",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
@@ -28,6 +28,7 @@
28
28
  "hooks/",
29
29
  "scripts/",
30
30
  "skills/",
31
+ "lang/",
31
32
  ".github/",
32
33
  ".mcp.json",
33
34
  ".claude-plugin/",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.1065",
3
+ "version": "2.0.1067",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",
package/hooks/hooks.json DELETED
@@ -1,53 +0,0 @@
1
- {
2
- "description": "Hooks for gm Claude Code extension",
3
- "hooks": {
4
- "PreToolUse": [
5
- {
6
- "matcher": "*",
7
- "hooks": [
8
- {
9
- "type": "command",
10
- "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook pre-tool-use",
11
- "timeout": 3600
12
- }
13
- ]
14
- }
15
- ],
16
- "PostToolUse": [
17
- {
18
- "matcher": "*",
19
- "hooks": [
20
- {
21
- "type": "command",
22
- "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook post-tool-use",
23
- "timeout": 35000
24
- }
25
- ]
26
- }
27
- ],
28
- "SessionStart": [
29
- {
30
- "matcher": "*",
31
- "hooks": [
32
- {
33
- "type": "command",
34
- "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook session-start",
35
- "timeout": 180000
36
- }
37
- ]
38
- }
39
- ],
40
- "UserPromptSubmit": [
41
- {
42
- "matcher": "*",
43
- "hooks": [
44
- {
45
- "type": "command",
46
- "command": "node ${CLAUDE_PLUGIN_ROOT}/bin/plugkit.js hook prompt-submit",
47
- "timeout": 60000
48
- }
49
- ]
50
- }
51
- ]
52
- }
53
- }
@@ -1,48 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "description": "Hook spec for gm Claude Code extension",
4
- "envVar": "CLAUDE_PLUGIN_ROOT",
5
- "plugkitInvoker": "node",
6
- "events": [
7
- {
8
- "eventKey": "PreToolUse",
9
- "commands": [
10
- {
11
- "kind": "plugkit",
12
- "subcommand": "pre-tool-use",
13
- "timeout": 3600
14
- }
15
- ]
16
- },
17
- {
18
- "eventKey": "PostToolUse",
19
- "commands": [
20
- {
21
- "kind": "plugkit",
22
- "subcommand": "post-tool-use",
23
- "timeout": 35000
24
- }
25
- ]
26
- },
27
- {
28
- "eventKey": "SessionStart",
29
- "commands": [
30
- {
31
- "kind": "plugkit",
32
- "subcommand": "session-start",
33
- "timeout": 180000
34
- }
35
- ]
36
- },
37
- {
38
- "eventKey": "UserPromptSubmit",
39
- "commands": [
40
- {
41
- "kind": "plugkit",
42
- "subcommand": "prompt-submit",
43
- "timeout": 60000
44
- }
45
- ]
46
- }
47
- ]
48
- }