agent-orchestrator/packages/plugins
Priyanshu Choudhary 8dde130a0b fix(runtime-process): treat EPERM as alive in pty-host destroy probe
destroy()'s 500 ms graceful-shutdown loop probes the pty-host with
process.kill(pid, 0) and treats any throw as "process gone, clean
exit". On Windows, cross-context processes can return EPERM — the
process is alive but we lack permission to signal it. Returning
early in that case orphans the pty-host and skips killProcessTree.

Detect EPERM and break out of the wait loop so the orphan falls
through to killProcessTree. Other error codes (ESRCH etc.) still
mean the process is gone.

Reported by Copilot review on PR #1025.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 22:59:05 +05:30
..
agent-aider fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-claude-code Merge origin/main into feat/windows-platform-adapter 2026-04-29 04:37:04 +05:30
agent-codex fix(agents): use shell:true on Windows in detect() to honor PATHEXT 2026-04-27 18:49:52 +05:30
agent-cursor Merge origin/main into feat/windows-platform-adapter 2026-04-29 04:37:04 +05:30
agent-opencode Merge origin/main into feat/windows-platform-adapter 2026-04-29 04:37:04 +05:30
notifier-composio Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-desktop fix(windows): junctions/hardlinks for symlinks, WinRT toast notifier, DPI re-fit 2026-04-25 21:29:49 +05:30
notifier-discord Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-openclaw Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-slack Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-webhook Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
runtime-process fix(runtime-process): treat EPERM as alive in pty-host destroy probe 2026-04-30 22:59:05 +05:30
runtime-tmux feat(core): opt-in gh CLI tracer + scm/tracker migration (Phase A1a) (#1238) 2026-04-25 18:57:04 +05:30
scm-github fix(windows): resolve gh.exe via PATHEXT and fix path-shape test regexes 2026-04-25 21:08:21 +05:30
scm-gitlab feat(core): opt-in gh CLI tracer + scm/tracker migration (Phase A1a) (#1238) 2026-04-25 18:57:04 +05:30
terminal-iterm2 fix: model missing activity evidence explicitly (#122) 2026-04-17 19:28:56 +05:30
terminal-web fix: model missing activity evidence explicitly (#122) 2026-04-17 19:28:56 +05:30
tracker-github fix(windows): resolve gh.exe via PATHEXT and fix path-shape test regexes 2026-04-25 21:08:21 +05:30
tracker-gitlab refactor: clean up redundant requireRepo calls and nullish coalescing 2026-04-14 22:13:02 +05:30
tracker-linear Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
workspace-clone fix(windows): plugin runtime gaps + ConPTY graceful shutdown 2026-04-25 11:25:19 +05:30
workspace-worktree fix(windows): retry worktree rmSync on file-handle drain race 2026-04-29 21:17:19 +05:30