gm-cc 2.0.279 → 2.0.281
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/.claude-plugin/marketplace.json +1 -1
- package/cli.js +0 -2
- package/package.json +1 -1
- package/plugin.json +1 -1
- package/skills/gm/SKILL.md +6 -0
- package/skills/gm-complete/SKILL.md +6 -0
- package/skills/gm-emit/SKILL.md +6 -0
- package/skills/gm-execute/SKILL.md +6 -0
|
@@ -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.
|
|
7
|
+
"version": "2.0.281",
|
|
8
8
|
"metadata": {
|
|
9
9
|
"description": "State machine agent with hooks, skills, and automated git enforcement"
|
|
10
10
|
},
|
package/cli.js
CHANGED
|
@@ -64,8 +64,6 @@ try {
|
|
|
64
64
|
fs.writeFileSync(knownMarketplacesPath, JSON.stringify(km, null, 2) + '\n');
|
|
65
65
|
} catch (e) {}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
67
|
const destPath = process.platform === 'win32' ? destDir.replace(/\\/g, '/') : destDir;
|
|
70
68
|
console.log(`✓ gm-cc ${isUpgrade ? 'upgraded' : 'installed'} to ${destPath}`);
|
|
71
69
|
console.log('Restart Claude Code to activate.');
|
package/package.json
CHANGED
package/plugin.json
CHANGED
package/skills/gm/SKILL.md
CHANGED
|
@@ -53,6 +53,12 @@ Languages: `exec:nodejs` (default) | `exec:bash` | `exec:python` | `exec:typescr
|
|
|
53
53
|
- File I/O: `exec:nodejs` with `require('fs')`
|
|
54
54
|
- Only `git` runs directly in Bash. `Bash(node/npm/npx/bun)` = violations.
|
|
55
55
|
|
|
56
|
+
**Execution efficiency — pack every run:**
|
|
57
|
+
- Combine multiple independent operations into one exec call using `Promise.allSettled` or parallel subprocess spawning
|
|
58
|
+
- Each independent idea gets its own try/catch with independent error reporting — never let one failure block another
|
|
59
|
+
- Target under 12s per exec call; split work across multiple calls only when dependencies require it
|
|
60
|
+
- Prefer a single well-structured exec that does 5 things over 5 sequential execs
|
|
61
|
+
|
|
56
62
|
**Background tasks** (auto-backgrounded after 15s):
|
|
57
63
|
```
|
|
58
64
|
exec:sleep
|
|
@@ -57,6 +57,12 @@ For browser/UI: invoke `browser` skill with real workflows. Server + client feat
|
|
|
57
57
|
|
|
58
58
|
Only git in bash directly. Background tasks: `exec:sleep\n<id>`, `exec:status\n<id>`, `exec:close\n<id>`. Runner: `exec:runner\nstart|stop|status`.
|
|
59
59
|
|
|
60
|
+
**Execution efficiency — pack every run:**
|
|
61
|
+
- Combine multiple independent operations into one exec call using `Promise.allSettled` or parallel subprocess spawning
|
|
62
|
+
- Each independent idea gets its own try/catch with independent error reporting — never let one failure block another
|
|
63
|
+
- Target under 12s per exec call; split work across multiple calls only when dependencies require it
|
|
64
|
+
- Prefer a single well-structured exec that does 5 things over 5 sequential execs
|
|
65
|
+
|
|
60
66
|
## CODEBASE EXPLORATION
|
|
61
67
|
|
|
62
68
|
```
|
package/skills/gm-emit/SKILL.md
CHANGED
|
@@ -35,6 +35,12 @@ Each gate condition is a mutable. Pre-emit run witnesses expected value. Post-em
|
|
|
35
35
|
|
|
36
36
|
Only git in bash directly. `Bash(node/npm/npx/bun)` = violations. File writes via exec:nodejs + require('fs').
|
|
37
37
|
|
|
38
|
+
**Execution efficiency — pack every run:**
|
|
39
|
+
- Combine multiple independent operations into one exec call using `Promise.allSettled` or parallel subprocess spawning
|
|
40
|
+
- Each independent idea gets its own try/catch with independent error reporting — never let one failure block another
|
|
41
|
+
- Target under 12s per exec call; split work across multiple calls only when dependencies require it
|
|
42
|
+
- Prefer a single well-structured exec that does 5 things over 5 sequential execs
|
|
43
|
+
|
|
38
44
|
## PRE-EMIT DEBUGGING (before writing any file)
|
|
39
45
|
|
|
40
46
|
1. Import actual module from disk via `exec:nodejs` — witness current on-disk behavior
|
|
@@ -33,6 +33,12 @@ Each mutable: name | expected | current | resolution method. Execute → witness
|
|
|
33
33
|
|
|
34
34
|
Lang auto-detected if omitted. `cwd` sets directory. File I/O via exec:nodejs + require('fs'). Only git in bash directly. `Bash(node/npm/npx/bun)` = violations.
|
|
35
35
|
|
|
36
|
+
**Execution efficiency — pack every run:**
|
|
37
|
+
- Combine multiple independent operations into one exec call using `Promise.allSettled` or parallel subprocess spawning
|
|
38
|
+
- Each independent idea gets its own try/catch with independent error reporting — never let one failure block another
|
|
39
|
+
- Target under 12s per exec call; split work across multiple calls only when dependencies require it
|
|
40
|
+
- Prefer a single well-structured exec that does 5 things over 5 sequential execs
|
|
41
|
+
|
|
36
42
|
**Background tasks** (auto-backgrounded when execution exceeds 15s):
|
|
37
43
|
```
|
|
38
44
|
exec:sleep
|