Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
Hide Windows child process windows
wyte3688b3d2753
diff --git a/bin/orkas-pkg.cjs b/bin/orkas-pkg.cjsindex 838a0440..2a7b8847 100644--- a/bin/orkas-pkg.cjs+++ b/bin/orkas-pkg.cjs@@ -183,6 +183,7 @@ function run(cmd, args, opts) {env: { ...process.env, ...((opts && opts.env) || {}) },// npm/pip/git progress goes to our stderr so the bash tool surfaces it.stdio: ['ignore', 'pipe', 'inherit'],+ windowsHide: true,});if (res.error) {if (res.error.code === 'ENOENT') {diff --git a/bin/run-skill.cjs b/bin/run-skill.cjsindex e913f20f..13039443 100755--- a/bin/run-skill.cjs+++ b/bin/run-skill.cjs@@ -551,6 +551,7 @@ function trySpawn(cmd, argv, skillDir, skillId, fatalOnEnoent = false) {child = spawn(cmd, argv, {stdio: 'inherit',env: { ...process.env, ORKAS_SKILL_ID: skillId, ORKAS_SKILL_DIR: skillDir },+ windowsHide: true,});} catch (e) {if (fatalOnEnoent) die(76, `failed to spawn ${cmd}: ${e && e.message}`);diff --git a/src/main/features/generation_reference_assets.ts b/src/main/features/generation_reference_assets.tsindex 7236bd4c..2d22e53d 100644--- a/src/main/features/generation_reference_assets.ts+++ b/src/main/features/generation_reference_assets.ts@@ -306,7 +306,7 @@ function runFfmpeg(): Promise<void> {return new Promise((resolve, reject) => {try { throwIfAborted(opts.signal); } catch (err) { reject(err); return; }- const child = spawn(cmd, args, { stdio: ['ignore', 'ignore', 'pipe'] });+ const child = spawn(cmd, args, { stdio: ['ignore', 'ignore', 'pipe'], windowsHide: true });let stderr = '';let settled = false;const started = Date.now();diff --git a/test/main/util/orkas-pkg.test.ts b/test/main/util/orkas-pkg.test.tsindex 2f4a44f8..be87cde6 100644--- a/test/main/util/orkas-pkg.test.ts+++ b/test/main/util/orkas-pkg.test.ts@@ -109,6 +109,15 @@ afterEach(() => {fs.rmSync(tmpDir, { recursive: true, force: true });});+describe('orkas-pkg.cjs source invariants', () => {+ it('hides dependency subprocess windows on Windows', () => {+ const source = fs.readFileSync(path.join(process.cwd(), 'bin', 'orkas-pkg.cjs'), 'utf8');+ const body = source.match(/function run\(cmd, args, opts\) \{[\s\S]*?\n\}/)?.[0] ?? '';++ expect(body).toContain('windowsHide: true');+ });+});+describe.skipIf(!gitAvailable)('orkas-pkg.cjs', () => {it('installs a skill-shaped repo verbatim and records skill roots', () => {const repo = makeRepo('skillpack', {diff --git a/test/main/util/run-skill.test.ts b/test/main/util/run-skill.test.tsindex 46f2e671..935eabb9 100644--- a/test/main/util/run-skill.test.ts+++ b/test/main/util/run-skill.test.ts@@ -58,6 +58,13 @@ describe('run-skill.cjs', () => {expect(body.indexOf('findOnPath')).toBeLessThan(body.indexOf('const roots'));});+ it('hides spawned script windows on Windows', () => {+ const source = fs.readFileSync(path.join(process.cwd(), 'bin', 'run-skill.cjs'), 'utf8');+ const body = source.match(/function trySpawn\([\s\S]*?\n\}/)?.[0] ?? '';++ expect(body).toContain('windowsHide: true');+ });+it('resolves marketplace scripts by SKILL.md display name when dir id differs', () => {writeMarketplaceSkill('252af214f470', 'social-fetch', 'fetch');