gm-gc 2.0.483 → 2.0.484

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm",
3
- "version": "2.0.483",
3
+ "version": "2.0.484",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "homepage": "https://github.com/AnEntrypoint/gm",
@@ -47,12 +47,12 @@ const run = () => {
47
47
  const plugkitJs = path.join(pluginRoot, 'bin', 'plugkit.js');
48
48
  let result;
49
49
  if (rawLang === 'browser') {
50
- result = spawnSync('node', [plugkitJs, 'exec', 'browser'], { input: code, encoding: 'utf-8', timeout: 300000 });
50
+ result = spawnSync('node', [plugkitJs, 'exec', '--lang', 'browser', code], { encoding: 'utf-8', timeout: 300000 });
51
51
  } else if (rawLang === 'codesearch') {
52
52
  const projectDir = process.env.GEMINI_PROJECT_DIR || process.cwd();
53
53
  result = spawnSync('node', [plugkitJs, 'search', '--path', projectDir, code], { encoding: 'utf-8', timeout: 60000 });
54
54
  } else {
55
- result = spawnSync('node', [plugkitJs, 'exec', rawLang], { input: code, encoding: 'utf-8', timeout: 120000 });
55
+ result = spawnSync('node', [plugkitJs, 'exec', '--lang', rawLang, code], { encoding: 'utf-8', timeout: 120000 });
56
56
  }
57
57
  const output = (result.stdout || '') + (result.stderr || '');
58
58
  return { deny: true, reason: 'exec:' + rawLang + ' output:\n\n' + output };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-gc",
3
- "version": "2.0.483",
3
+ "version": "2.0.484",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",