Repository navigation
fix(server): align connect route checks - #58258
Merged
Merged
Conversation
This was referenced Oct 28, 2026
hasso5703
added a commit
to hasso5703/alzeo
that referenced
this pull request
Oct 30, 2026
…oute it dispatches to 1.19.4 skipped the password check for a request whose path matched the pattern of the terminal's connect route and carried a ticket, leaving the ticket to that route's handler. 1.19.5 skips it only when the server dispatches the request to that handler (anomalyco/opencode#58258). It also answers a request of the TUI's worker that fails instead of leaving it waiting, updates the package of GitLab's provider, which this repo does not use, and otherwise removes unused code. Checked against 1.19.4 side by side on 2026-10-30: the overflow phrases and exclusions are the same block byte for byte, max_tokens 32,000 and 182,000 on a fake endpoint with the same headers, the same default permissions, --yolo still read as --auto, keys still masked, sessions read both ways, the Agent tab through a copy of the relay with its terminal and its phone layer, and a shell command naming an aliyuncs.com host refused under --yolo and under AGENT_AUTO's permission when a fake endpoint asked for it. On the box's FP4-Local lane both sent the same request shapes, read hello.txt with a tool and answered 7351. The x64 digest is GitHub's, checked against the download. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
N/A
Type of change
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?
bun run checkScreenshots / recordings
N/A — no UI changes.
Checklist