orca/src/main/daemon
Pim de Jong 01bab271eb
Fix PTY config overlays being overwritten by shell startup files (#1628)
* Fix OpenCode config overlay env in PTYs

* Fix Pi agent dir overlay env in PTYs

* Restore overlay env in Windows and fallback shells

Co-authored-by: Orca <help@stably.ai>

* test(opencode): tighten overlay restore guards

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
Co-authored-by: brennanb2025 <brennankbenson@gmail.com>
2026-05-10 16:13:06 -07:00
..
fixtures
binary-frame.test.ts
binary-frame.ts
client.test.ts Improve node-pty spawn diagnostics (#1587) 2026-05-08 12:53:03 -07:00
client.ts Improve node-pty spawn diagnostics (#1587) 2026-05-08 12:53:03 -07:00
daemon-entry.test.ts
daemon-entry.ts fix(terminal): guard PTY native calls against dead-process Napi::Error crash (#916) 2026-04-22 11:16:43 -07:00
daemon-health.test.ts fix: isolate e2e daemon and onboarding state (#1606) 2026-05-08 17:45:02 -07:00
daemon-health.ts fix: isolate e2e daemon and onboarding state (#1606) 2026-05-08 17:45:02 -07:00
daemon-init.test.ts fix: isolate e2e daemon and onboarding state (#1606) 2026-05-08 17:45:02 -07:00
daemon-init.ts fix: isolate e2e daemon and onboarding state (#1606) 2026-05-08 17:45:02 -07:00
daemon-main.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
daemon-main.ts
daemon-pty-adapter.test.ts fix(terminal): close SIGKILL race for #217 + preserve scrollback on worktree sleep (#1454) 2026-05-05 19:26:44 -07:00
daemon-pty-adapter.ts fix(terminal): close SIGKILL race for #217 + preserve scrollback on worktree sleep (#1454) 2026-05-05 19:26:44 -07:00
daemon-pty-provider.test.ts fix(terminal): close SIGKILL race for #217 + preserve scrollback on worktree sleep (#1454) 2026-05-05 19:26:44 -07:00
daemon-pty-provider.ts fix(terminal): close SIGKILL race for #217 + preserve scrollback on worktree sleep (#1454) 2026-05-05 19:26:44 -07:00
daemon-pty-router.test.ts feat(settings): manage sessions panel + pid-recycling daemon guard (#1343) 2026-05-02 23:05:44 -07:00
daemon-pty-router.ts fix: pr-bug-scan findings from #1454 (#1567) 2026-05-07 23:07:38 -07:00
daemon-pty-size.ts Fix daemon shell-ready wrapper persistence (#1025) 2026-04-24 13:01:27 -07:00
daemon-server.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
daemon-server.ts feat: add PowerShell 7+ support for Windows terminals 2026-05-02 16:06:11 -07:00
daemon-spawner.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
daemon-spawner.ts fix: isolate e2e daemon and onboarding state (#1606) 2026-05-08 17:45:02 -07:00
headless-emulator.test.ts fix(term): stop daemon emulator from replying to xterm queries (#1024) 2026-04-24 14:05:42 -07:00
headless-emulator.ts feat(mobile): Expo companion app [beta] (#1245) 2026-05-04 13:08:27 -07:00
history-manager.test.ts fix(daemon): checkpoint-based history persistence to reduce memory (#1139) 2026-04-26 23:44:08 -07:00
history-manager.ts fix(daemon): checkpoint-based history persistence to reduce memory (#1139) 2026-04-26 23:44:08 -07:00
history-paths.ts
history-reader.test.ts fix(daemon): checkpoint-based history persistence to reduce memory (#1139) 2026-04-26 23:44:08 -07:00
history-reader.ts fix(daemon): checkpoint-based history persistence to reduce memory (#1139) 2026-04-26 23:44:08 -07:00
ndjson.test.ts
ndjson.ts
node-pty-error-hints.test.ts Improve node-pty spawn diagnostics (#1587) 2026-05-08 12:53:03 -07:00
node-pty-error-hints.ts Improve node-pty spawn diagnostics (#1587) 2026-05-08 12:53:03 -07:00
node-pty-fd-leak.test.ts fix: pr-bug-scan findings from #1597 (#1614) 2026-05-09 04:02:19 -07:00
post-ready-flush-gate.test.ts fix(daemon): defer startup flush past shell raw-mode switch (#1060) 2026-04-24 15:26:50 -07:00
post-ready-flush-gate.ts fix(daemon): defer startup flush past shell raw-mode switch (#1060) 2026-04-24 15:26:50 -07:00
priority-semaphore.test.ts
priority-semaphore.ts
production-launcher.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
production-launcher.ts
pty-session-id.test.ts refactor(pty): extract sessionId helper and harden daemon spawn cleanup (#1216) 2026-04-28 10:08:00 -07:00
pty-session-id.ts refactor(pty): extract sessionId helper and harden daemon spawn cleanup (#1216) 2026-04-28 10:08:00 -07:00
pty-subprocess.test.ts Fix PTY config overlays being overwritten by shell startup files (#1628) 2026-05-10 16:13:06 -07:00
pty-subprocess.ts Fix PTY config overlays being overwritten by shell startup files (#1628) 2026-05-10 16:13:06 -07:00
reattach-snapshot.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
session.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
session.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
shell-ready.test.ts Fix PTY config overlays being overwritten by shell startup files (#1628) 2026-05-10 16:13:06 -07:00
shell-ready.ts Fix PTY config overlays being overwritten by shell startup files (#1628) 2026-05-10 16:13:06 -07:00
terminal-host-startup.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
terminal-host.test.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
terminal-host.ts fix(pty): release ptmx fd on natural exit + defuse SIGHUP-to-recycled-pid (#1327) 2026-05-02 23:12:14 -07:00
types.ts Fix PTY config overlays being overwritten by shell startup files (#1628) 2026-05-10 16:13:06 -07:00
xterm-env-polyfill.ts