gm-codex 2.0.117 → 2.0.118

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.
@@ -64,8 +64,8 @@ const run = () => {
64
64
 
65
65
  if (tool_name === 'Bash') {
66
66
  const command = (tool_input?.command || '').trim();
67
- if (!/^bun x mcp-gm(\s|$)/.test(command)) {
68
- return { block: true, reason: 'Bash is restricted to: bun x mcp-gm. All other commands are blocked.' };
67
+ if (!/^(bun x mcp-gm|bunx mcp-gm)(\s|$)/.test(command)) {
68
+ return { block: true, reason: 'Bash is restricted to: bunx mcp-gm\n\nmcp-gm is the only allowed execution tool. It runs code in JS/TS, Python, Go, Rust, C, C++, and Bash.\n\nAvailable tools: execute (run code), bash (shell commands), process_status, process_close, sleep.\n\nUsage: bunx mcp-gm\nDocs: https://www.npmjs.com/package/mcp-gm\n\nAll other Bash commands are blocked.' };
69
69
  }
70
70
  }
71
71
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-codex",
3
- "version": "2.0.117",
3
+ "version": "2.0.118",
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.117",
3
+ "version": "2.0.118",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": {
6
6
  "name": "AnEntrypoint",