Skip to content

Review fixes for #1: help text, SDK pin, http(s)-only sign-in URL - #2

Merged
zchpeter merged 0 commit into
byt-10055-pure-proxyfrom
review-fixes-help-sdk-pin-url-scheme
Nov 24, 2026
Merged

zchpeter merged 0 commit into
byt-10055-pure-proxyfrom
review-fixes-help-sdk-pin-url-scheme

Conversation

@adela-bytebase

Copy link
Copy Markdown
Collaborator

Stacked on #1 (targets byt-10055-pure-proxy, not main). Items 1-4 from the review comment:

  1. --help: sign-in starts when the server starts, not on the first tool call.
  2. --help and README: status shows the instance and the stored sign-ins; it has no tool list.
  3. Pin @modelcontextprotocol/sdk to 1.32.2 (package.json and the lockfile's root entry), because server.ts relies on the private _oninitialize and _requestMessageId.
  4. openInBrowser hands only http(s) URLs to the OS. Anything else is logged and not opened; the URL is still printed to stderr as before.

Not included: item 5 (502/503/504 in the startup retry) changes the D5 retry rule in the design, and items 6-7 need a decision.

Checked locally: build, --help output, and the config and smoke tests (7 pass). The sessions tests were not run locally; CI runs them here. No test covers the new scheme check, since the tests run with the browser disabled.

🤖 Generated with Claude Code

@zchpeter zchpeter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, and green. I am stacking #1 on this commit so the follow-ups (items 5–7) do not conflict with the openInBrowser change. That folds this PR into the branch. Two things I will add on #1: the logout help line still says "Forget every sign-in"; it now revokes first ("Revoke and forget every sign-in stored for the instance", as in the README). And the scheme check moves into a pure browserCommand(url, platform), so a unit test covers it and the Windows fix together.

@zchpeter
zchpeter merged commit 57546e8 into byt-10055-pure-proxy Nov 24, 2026
2 checks passed
@adela-bytebase
adela-bytebase deleted the review-fixes-help-sdk-pin-url-scheme branch November 24, 2026 09:53
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.

2 participants