orca/config
Jinwoo Hong f0fdd3a716
Hide console windows for children of the node.exe-hosted daemon (#7486)
Since #7473 the terminal daemon runs under a standalone node.exe.
Electron's bundled Node defaults windowsHide to true; plain node.exe
defaults it to false, so every child_process call in the daemon that
does not pass the flag - the periodic PowerShell CIM process probes,
node-pty's kill-path conpty_console_list_agent fork - now allocates a
visible console, which opens and closes a Windows Terminal window on
the user's screen every few seconds.

Fix: daemon-entry installs a child_process shim (first import, before
any module captures bindings like promisify(execFile)) that defaults
windowsHide: true across spawn/exec/execFile/fork and their sync
variants, restoring the Electron default the daemon has always relied
on. Explicit windowsHide from a caller still wins. Also adds
windowsHide to node-pty's console-list agent fork in the existing
patch as defense in depth.

Verified on Windows: reproduced the flash with the rc.5 production
daemon (WindowsTerminal windows, ~3s cadence matching the CIM probe
interval, conhost spawned visible-capable "0x4"); with the shim, a
node.exe-hosted daemon's children (OpenConsole, powershell, node
helpers) all run without a visible-capable console and session kill
still works end to end.
2026-07-05 21:26:30 -07:00
..
patches Hide console windows for children of the node.exe-hosted daemon (#7486) 2026-07-05 21:26:30 -07:00
scripts fix(daemon): relocate daemon host image out of the install-dir kill zone (#7473) 2026-07-05 19:52:06 -07:00
daemon-host-node-runtime.cjs fix(daemon): relocate daemon host image out of the install-dir kill zone (#7473) 2026-07-05 19:52:06 -07:00
dev-app-update.yml
electron-builder.config.cjs fix(daemon): relocate daemon host image out of the install-dir kill zone (#7473) 2026-07-05 19:52:06 -07:00
localization-audit.md Improve localization catalog sync workflow (#5110) 2026-06-10 11:13:01 -07:00
localization-coverage-allowlist.json Add English localization infrastructure (#4995) 2026-06-09 10:43:04 -07:00
oxlint-react-doctor.json chore: gate high-signal react doctor rules 2026-05-31 22:35:15 -07:00
oxlint-switch-exhaustiveness.json chore: enforce exhaustive switch handling 2026-05-30 13:18:12 -07:00
packaged-runtime-node-modules.cjs Fix Windows bundled ConPTY packaging (#6968) 2026-06-30 18:05:38 -07:00
reliability-gates.jsonc Harden reliability gate policy and register merged terminal regression tests as gates (#7295) 2026-07-03 19:58:07 -07:00
tsconfig.cli.json Fix Codex config paths in managed runtime home (#7157) 2026-07-02 17:01:41 -07:00
tsconfig.node.json feat(telemetry): PR 2 — transport (client, validator, burst cap, IPC, build gate) (#1374) 2026-05-03 16:51:31 -07:00
tsconfig.relay.json Support agent status hooks over SSH (#1865) 2026-05-14 16:06:23 -07:00
tsconfig.tc.cli.json
tsconfig.tc.web.json Show and Filter Automation-Created Workspaces (#5697) 2026-06-18 13:05:57 -07:00
tsconfig.web.json chore: enforce exhaustive switch handling 2026-05-30 13:18:12 -07:00
vitest.config.ts chore(lint): upgrade oxlint to 1.71 + enable 7 new rules (autofixed backlog) (#6841) 2026-06-29 22:38:29 -07:00