gm-kilo 2.0.891 → 2.0.892

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.
Files changed (2) hide show
  1. package/gm-kilo.mjs +1 -2
  2. package/package.json +1 -1
package/gm-kilo.mjs CHANGED
@@ -205,8 +205,7 @@ export async function GmPlugin({ directory }) {
205
205
  if (/^\s*git(?:\s|$)/.test(cmd)) return;
206
206
  const m = cmd.match(/^exec(?::(\S+))?\n([\s\S]+)$/);
207
207
  if (!m) {
208
- output.args.command = "node -e \"process.stderr.write('Bash tool can only be used with exec syntax:\\n\\nexec[:lang]\\n<command>\\n\\nExamples:\\nexec\\nls -la\\n\\nexec:nodejs\\nconsole.log(hello)'); process.exit(1)\"";
209
- return;
208
+ throw new Error('Use exec: prefix for Bash. The command must start with `exec` or `exec:<lang>` on its own line, then the body on the next line. Examples:\n\nexec\nls -la\n\nexec:nodejs\nconsole.log("hello")\n\nexec:bash\ngit status\n\nLanguages: nodejs (default), bash, python, typescript, go, rust, deno, cmd. File I/O via exec:nodejs + require("fs"). Codebase search: exec:codesearch on its own line, then a two-word query.');
210
209
  }
211
210
  const rawLang = (m[1]||'').toLowerCase();
212
211
  if (rawLang === 'bash' || rawLang === 'sh' || rawLang === '') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-kilo",
3
- "version": "2.0.891",
3
+ "version": "2.0.892",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",