gm-codex 2.0.187 → 2.0.189
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/agents/gm.md +2 -0
- package/hooks/prompt-submit-hook.js +1 -1
- package/hooks/session-start-hook.js +1 -1
- package/package.json +1 -1
- package/plugin.json +1 -1
package/agents/gm.md
CHANGED
|
@@ -15,3 +15,5 @@ All work coordination, planning, execution, and verification happens through the
|
|
|
15
15
|
All code execution uses `exec:<lang>` via the Bash tool — never direct `Bash(node ...)` or `Bash(npm ...)`.
|
|
16
16
|
|
|
17
17
|
Do not use `EnterPlanMode`. Do not run code directly via Bash. Invoke `gm` skill first.
|
|
18
|
+
|
|
19
|
+
Skills are invoked via the **Skill tool** (`skill: "name"`). Never use the Agent tool to load a skill — skills are not agents. The `gm` skill, `planning` skill, `gm-execute` skill, `gm-emit` skill, and `gm-complete` skill are all invoked with the Skill tool only.
|
|
@@ -74,7 +74,7 @@ try {
|
|
|
74
74
|
ensureGitignore();
|
|
75
75
|
|
|
76
76
|
const parts = [];
|
|
77
|
-
parts.push('
|
|
77
|
+
parts.push('Use the Skill tool with skill: "gm" to begin — do NOT use the Agent tool to load skills. Skills are invoked via the Skill tool only, never as agents. DO NOT use EnterPlanMode.');
|
|
78
78
|
|
|
79
79
|
const search = runCodeSearch(prompt);
|
|
80
80
|
if (search) parts.push(search);
|
|
@@ -29,7 +29,7 @@ ensureGitignore();
|
|
|
29
29
|
try {
|
|
30
30
|
let outputs = [];
|
|
31
31
|
|
|
32
|
-
outputs.push('
|
|
32
|
+
outputs.push('Use the Skill tool with skill: "gm" to begin — do NOT use the Agent tool to load skills. Skills are invoked via the Skill tool only, never as agents. All code execution uses exec:<lang> via the Bash tool — never direct Bash(node ...) or Bash(npm ...) or Bash(npx ...).');
|
|
33
33
|
|
|
34
34
|
if (projectDir && fs.existsSync(projectDir)) {
|
|
35
35
|
try {
|
package/package.json
CHANGED