agent-orchestrator/packages/web/server/__tests__
i-trytoohard d0dff3b93f
fix(web): drop = prefix from set-option in mux-websocket (closes #1714) (#1715)
* fix(web): drop = prefix from set-option in mux-websocket (closes #1714)

In tmux 3.4 the `=` exact-match prefix only works with `has-session` and
`attach-session`. For `set-option`, the prefix is silently ignored, so
`mouse on` and `status off` never get applied — breaking scroll wheel in
the dashboard terminal and leaving the tmux status bar visible.

Use the bare session id for the two `set-option` calls; keep `=` on
`attach-session` where it is correct.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* refactor(web): move exactTmuxTarget next to attach-session

Address review feedback: the `=`-prefixed target is only used by
attach-session, so declare it adjacent to that call. Comment now
sits above the set-option calls it actually explains.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Prateek <karnalprateek@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 19:08:21 +05:30
..
direct-terminal-ws.integration.test.ts fix(web): bound PTY re-attach loop with grace-period counter reset (#1640) 2026-05-07 18:37:44 +05:30
mux-websocket.test.ts fix(web): drop = prefix from set-option in mux-websocket (closes #1714) (#1715) 2026-05-07 19:08:21 +05:30
server-compatibility.test.ts fix: address bugbot comments — missed renames in preflight, tests, and shell scripts 2026-04-09 16:00:31 +00:00
tmux-utils.test.ts fix(web): scope terminal tmux resolution by project (#1551) 2026-05-01 16:15:43 +05:30