Skip to content
This repository was archived by the owner on Nov 15, 2026. It is now read-only.

fix: print the sign-in link quietly where no browser can open, release 2.0.0a10 - #36

Merged
gavinying merged 2 commits into
v2from
login-quiet-browser
Nov 13, 2026
Merged

gavinying merged 2 commits into
v2from
login-quiet-browser

Conversation

@gavinying

Copy link
Copy Markdown
Collaborator

Quieter modsim login, and release 2.0.0a10.

  • login opens a browser only where there is a desktop (no DISPLAY/WAYLAND_DISPLAY or an SSH session: nothing is tried), discards the opener's output, treats a non-zero exit as "not opened" and then says to open the printed address. Ctrl-C while waiting is a one-line cancel (exit 130). Reported from WSL, where xdg-open printed a screen of "not found" and reported success.
  • Version 2.0.0a10.

Verified: pytest (145 passed, 5 skipped; 6 new for the opener and Ctrl-C), mypy, uv lock, generated Thing Description check.

🤖 Generated with Claude Code

gavinying and others added 2 commits November 12, 2026 23:41
A browser is tried only where there is a desktop, the opener's output is not shown, and
a failed attempt says to open the printed address. Ctrl-C while waiting is a one-line cancel.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit 8667fff into v2 Nov 13, 2026
9 of 10 checks passed
@gavinying
gavinying deleted the login-quiet-browser branch November 13, 2026 06:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant