arcroom 0.0.2-beta → 0.0.3-beta

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/dist/agents.js CHANGED
@@ -112,7 +112,7 @@ export function opencodePlugin(entry, project, node = process.execPath) {
112
112
  import { spawnSync } from 'node:child_process';
113
113
 
114
114
  const run = (payload) => {
115
- const r = spawnSync(${JSON.stringify(node)}, ${args}, { input: JSON.stringify(payload), encoding: 'utf8' });
115
+ const r = spawnSync(${JSON.stringify(node)}, ${args}, { input: JSON.stringify(payload), encoding: 'utf8', windowsHide: true });
116
116
  try { return JSON.parse(r.stdout || '{}'); } catch { return {}; }
117
117
  };
118
118
 
package/dist/git.js CHANGED
@@ -31,6 +31,7 @@ export function git(args, opts = {}) {
31
31
  const bin = gitPath();
32
32
  if (!bin)
33
33
  return { status: null, stdout: undefined };
34
- const r = spawnSync(bin, [...SAFE, ...args], { encoding: 'utf8', ...opts });
34
+ // hooks run with no console of their own: without windowsHide each git call flashes a window on Windows
35
+ const r = spawnSync(bin, [...SAFE, ...args], { encoding: 'utf8', windowsHide: true, ...opts });
35
36
  return { status: r.status, stdout: r.stdout };
36
37
  }
package/dist/init.js CHANGED
@@ -156,9 +156,10 @@ function addLocalMcp(entry) {
156
156
  const run = (args) => claude.endsWith('.cmd') // an npm install on Windows: a batch file runs through cmd, every argument quoted
157
157
  ? spawnSync(process.env.ComSpec ?? 'cmd.exe', ['/d', '/s', '/c', `"${[claude, ...args].map((a) => `"${a}"`).join(' ')}"`], {
158
158
  windowsVerbatimArguments: true,
159
+ windowsHide: true,
159
160
  encoding: 'utf8',
160
161
  })
161
- : spawnSync(claude, args, { encoding: 'utf8' });
162
+ : spawnSync(claude, args, { encoding: 'utf8', windowsHide: true });
162
163
  run(['mcp', 'remove', '--scope', 'local', 'arcroom']); // none yet is fine
163
164
  return run(['mcp', 'add', '--scope', 'local', 'arcroom', '--', NODE, entry, 'mcp']).status === 0;
164
165
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "arcroom",
3
- "version": "0.0.2-beta",
3
+ "version": "0.0.3-beta",
4
4
  "description": "Shared team memory and run control for coding agents: Claude Code, Codex, Cursor, OpenCode",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ArcRoom AI",