Skip to content

fix(opencode): Move pty connection to custom auth check on server for node-ws#21490

Closed
OpeOginni wants to merge 2 commits intoanomalyco:devfrom
OpeOginni:fix/terminal-node-auth
Closed

fix(opencode): Move pty connection to custom auth check on server for node-ws#21490
OpeOginni wants to merge 2 commits intoanomalyco:devfrom
OpeOginni:fix/terminal-node-auth

Conversation

@OpeOginni
Copy link
Copy Markdown
Contributor

@OpeOginni OpeOginni commented Apr 8, 2026

Issue for this PR

Closes #21480
Closes #21469
Closes #21440
Closes #21541

Type of change

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

What does this PR do?

  • restore working PTY websocket connectivity after the Bun -> Node websocket migration
  • scope websocket auth handling to /pty/:id/connect instead of relying on browser/webview Basic auth during upgrade

This is not the cleanest fix, but to make a small PR that does fix the issue its the best, without reverting to using the hono/bun dep.

How did you verify your code works?

Tested my dev desktop build and the terminal works as it should

Screenshots / recordings

Checklist

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

@OpeOginni OpeOginni closed this Apr 9, 2026
@OpeOginni OpeOginni deleted the fix/terminal-node-auth branch April 9, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

1 participant