Skip to content

connect: semantic relay only, remove --raw/ttyd#38

Merged
hbrooks merged 1 commit into
mainfrom
rip-raw-pty-connect
Jul 12, 2026
Merged

connect: semantic relay only, remove --raw/ttyd#38
hbrooks merged 1 commit into
mainfrom
rip-raw-pty-connect

Conversation

@hbrooks

@hbrooks hbrooks commented Jul 12, 2026

Copy link
Copy Markdown
Member

What

Removes the raw-PTY / ttyd terminal attach from agent session connect. Connect is now a semantic relay only: it renders the session's structured events and sends input as messages over the inbox — no ttyd byte bridge, no --raw.

Companion backend PR: ellipsis-dev/ellipsis#5814 (keeps /stream open across turns, removes the server-side ttyd routes/module).

Changes

  • connect.ts: removed the --raw option and runConnectRaw; the command always runs the semantic runConnect. Exported runConnect for reuse.
  • session.tsx: session start --connect now uses the semantic runConnect (was a raw ttyd attach).
  • Deleted src/lib/terminal.ts (the ttyd WebSocket byte-bridge) and its test.

Why

Raw PTY can't do multi-viewer-at-independent-sizes, ordered/attributed multi-sender, or "can't exit the session"; the semantic relay gives all three. See the backend PR / the ellipsis-internal-cli skill decision.

Validation

  • tsc --noEmit clean, tsup build success, vitest 188 tests pass.
  • No residual references to runConnectRaw / attachTerminal / ttyd / --raw.

- connect.ts: drop --raw and runConnectRaw; the action always runs the
  semantic runConnect (now exported). Remove terminal.ts import.
- session.tsx: start --connect uses semantic runConnect instead of a raw
  ttyd attach; update option/help copy.
- delete src/lib/terminal.ts and test/terminal.test.ts (ttyd byte-bridge).
@hbrooks hbrooks merged commit 132e38c into main Jul 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant