gm-codex 2.0.192 → 2.0.194

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 CHANGED
@@ -17,3 +17,5 @@ All work coordination, planning, execution, and verification happens through the
17
17
  All code execution uses `exec:<lang>` via the Bash tool — never direct `Bash(node ...)` or `Bash(npm ...)`.
18
18
 
19
19
  Do not use `EnterPlanMode`. Do not run code directly via Bash. Invoke `gm` skill first.
20
+
21
+ Responses to the user must be two sentences maximum, only when the user needs to know something, and in plain conversational language — no file paths, filenames, symbols, or technical identifiers.
@@ -165,13 +165,8 @@ const run = () => {
165
165
  result = spawnDirect('python3', ['-c', safeCode]);
166
166
  if (!result || result.startsWith('[spawn error:')) result = spawnDirect('python', ['-c', safeCode]);
167
167
  } else if (!lang || ['nodejs', 'typescript', 'deno'].includes(lang)) {
168
- const ext = lang === 'typescript' || lang === 'deno' ? 'ts' : 'mjs';
169
- const tmp = path.join(os.tmpdir(), `gm-exec-${Date.now()}.${ext}`);
170
168
  const wrapped = `const __result = await (async () => {\n${safeCode}\n})();\nif (__result !== undefined) { if (typeof __result === 'object') { console.log(JSON.stringify(__result, null, 2)); } else { console.log(__result); } }`;
171
- fs.writeFileSync(tmp, wrapped, 'utf-8');
172
- result = spawnDirect('bun', ['run', tmp]);
173
- try { fs.unlinkSync(tmp); } catch (e) {}
174
- if (result) result = result.split(tmp).join('<script>');
169
+ result = runWithFile(lang || 'nodejs', wrapped);
175
170
  } else if (lang === 'agent-browser') {
176
171
  result = spawnDirect('agent-browser', ['eval', '--stdin'], safeCode);
177
172
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-codex",
3
- "version": "2.0.192",
3
+ "version": "2.0.194",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",
package/plugin.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.192",
3
+ "version": "2.0.194",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",