NousResearch/hermes-agent

macOS PTY handle leak and cleanup fixes

Cluster 128942 · apps/desktop. Data as of

1 open item. Fix merged in #128949 on 3 Oct 2026. Check it covers your case.

The short answer

0open issues
1open PR
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #128949. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #128949. That is separate from the fix event.
Still open
0 issues and 1 PR.

A bug report and two fixes addressing PTY/terminal handle leaks on macOS desktop, covering both normal shell exit and renderer crash scenarios.

Open issues0

No open issues.

Open PRs1

  • PR#128943fix(desktop): reap terminal PTYs after renderer crashes

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #128949 fix(desktop): release terminal PTY handle on shell exit

    merged to main

    files: apps/desktop/electron/terminal-ipc.ts, apps/desktop/electron/terminal-pty-dispose.test.ts, apps/desktop/src/app/right-sidebar/terminal/use-terminal-session.ts

Closed issues · 1
  • Closed#128942Desktop (macOS): Hermes app leaks /dev/ptmx handles until the Mac can't allocate any PTY — all terminal apps die (openpty: Device not configured)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
apps/desktop
Merged PRs
#128949
Closed issues
1
Attempts
0 PRs closed without merging
Fix link checked
3 Oct 2026

For your agent

The same facts, typed.