gm-kilo 2.0.512 → 2.0.514

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/bin/plugkit.js CHANGED
@@ -18,5 +18,5 @@ if (platform === 'win32') {
18
18
  bin = path.join(dir, arch === 'arm64' || arch === 'aarch64' ? 'plugkit-linux-arm64' : 'plugkit-linux-x64');
19
19
  }
20
20
 
21
- const result = spawnSync(bin, process.argv.slice(2), { stdio: 'inherit' });
21
+ const result = spawnSync(bin, process.argv.slice(2), { stdio: 'inherit', windowsHide: true });
22
22
  process.exit(result.status ?? 1);
package/gm-kilo.mjs CHANGED
@@ -15,7 +15,7 @@ function runPlugkit(args) {
15
15
  const bin = join(__dirname, '..', 'bin', 'plugkit.js');
16
16
  if (!existsSync(bin)) return '';
17
17
  try {
18
- const r = spawnSync('node', [bin, ...args], { encoding: 'utf-8', timeout: 15000 });
18
+ const r = spawnSync('node', [bin, ...args], { encoding: 'utf-8', timeout: 15000, windowsHide: true });
19
19
  return (r.stdout || '').trim() || (r.stderr || '').trim();
20
20
  } catch(e) { return ''; }
21
21
  }
@@ -45,7 +45,7 @@ function tryLangPlugin(lang, code, cwd) {
45
45
 
46
46
  function runExecSync(rawLang, code, cwd) {
47
47
  const lang = LANG_ALIASES[rawLang] || rawLang || 'nodejs';
48
- const opts = { encoding: 'utf-8', timeout: 30000, ...(cwd && { cwd }) };
48
+ const opts = { encoding: 'utf-8', timeout: 30000, windowsHide: true, ...(cwd && { cwd }) };
49
49
  const out = (r) => { const o = (r.stdout||'').trimEnd(), e = stripFooter(r.stderr||'').trimEnd(); return o && e ? o+'\n[stderr]\n'+e : o||e||'(no output)'; };
50
50
  if (lang === 'codesearch' || lang === 'search') return runPlugkit(['search', '--path', cwd || process.cwd(), code.trim()]);
51
51
  if (lang === 'runner') return runPlugkit(['runner', code.trim()]);
package/lang/browser.js CHANGED
@@ -24,7 +24,7 @@ module.exports = {
24
24
  try {
25
25
  fsSync.writeFileSync(tmp, code, 'utf-8');
26
26
  const plugkit = findPlugkit();
27
- const opts = { encoding: 'utf-8', timeout: 120000, ...(cwd && { cwd }) };
27
+ const opts = { encoding: 'utf-8', timeout: 120000, windowsHide: true, ...(cwd && { cwd }) };
28
28
  const r = spawnSync(plugkit, ['exec', '--lang', 'browser', '--file', tmp], opts);
29
29
  const out = (r.stdout || '').trimEnd();
30
30
  const err = (r.stderr || '').trimEnd();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gm-kilo",
3
- "version": "2.0.512",
3
+ "version": "2.0.514",
4
4
  "description": "State machine agent with hooks, skills, and automated git enforcement",
5
5
  "author": "AnEntrypoint",
6
6
  "license": "MIT",