Skip to content

fix(server): align connect route checks - #58258

Open
opencode-agent[bot] wants to merge 1 commit into
v1from
v1-align-connect-route-checks
Open

opencode-agent[bot] wants to merge 1 commit into
v1from
v1-align-connect-route-checks

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

N/A

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Cleans up PTY, persistent PTY, and pairing connect route handling by sharing registered route definitions and removing duplicate path matching.

Downstream checks now use the route selected by the HTTP router.

How did you verify your code works?

  • Ran the server fetch and process tests
  • Ran the PTY and persistent PTY tests
  • Ran protocol and server typechecks
  • Regenerated the client
  • Ran bun run check
  • Manually verified terminal creation, connection, input, and output using the local standalone TUI

Screenshots / recordings

N/A — no UI changes.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant