# NousResearch/hermes-agent · WebSocket endpoint missing for remote TUI attach

## Open now

- Nothing open on GitHub.

A /api/ws endpoint was absent from APIServerAdapter, causing 404 errors when attempting remote TUI gateway attachment via HERMES_TUI_GATEWAY_URL. Members include the bug report, fixes, and a documentation correction for that environment variable.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #42162. Verify it addresses your case.
- **Recommended:** read PR #42162 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-42162`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: the share of member 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.

## Closed / duplicate issues

- #32882: TUI remote gateway attach (HERMES_TUI_GATEWAY_URL) fails with 404 — /api/ws missing from APIServerAdapter

## Prior & competing PRs

- **#32955: fix: add /api/ws WebSocket endpoint to APIServerAdapter for remote TUI attach (hardened)**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#32904`, `#32882`
- **#42162: docs(tui): correct HERMES_TUI_GATEWAY_URL — dashboard-internal, not remote-attach**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `website/docs/user-guide/tui.md`, `website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/tui.md`
- **#32904: fix: add /api/ws WebSocket endpoint to APIServerAdapter for remote TUI attach**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#32882`

## Fix status

- Merged to main in PR #42162 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-08`.
- Subsystem: `gateway`
