gm-kilo 2.0.115 → 2.0.116

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.
@@ -67,6 +67,9 @@ const run = () => {
67
67
  if (/\bcodebasesearch\b/.test(command) && !/^git /.test(command)) {
68
68
  return { block: true, reason: 'Use the code-search skill instead of running codebasesearch directly via Bash. Invoke it as a skill with your natural language query.' };
69
69
  }
70
+ if (/\bmcp-(?!gm\b)/.test(command) || /\bnpx\s+mcp-/.test(command) || /\bbunx\s+mcp-(?!gm\b)/.test(command)) {
71
+ return { block: true, reason: 'Only bun x mcp-gm is allowed as the MCP CLI tool. Replace with: bun x mcp-gm' };
72
+ }
70
73
  const allowed = /^(git |gh |npm |npx |bun |node |python |python3 |ruby |go |deno |tsx |ts-node |docker |sudo systemctl|systemctl |pm2 |cd |agent-browser )/.test(command);
71
74
  if (!allowed) {
72
75
  return { block: true, reason: 'Bash only allows: git, gh, node, python, bun, npx, ruby, go, deno, docker, npm, systemctl, pm2, cd. Write all logic as code and execute it via Bash (e.g. node -e "...", python -c "...", bun -e "..."). Use Read/Write/Edit for file ops. Use code-search skill for exploration.' };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-kilo",
3
- "version": "2.0.115",
3
+ "version": "2.0.116",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",