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

feat: resolve the active server from the only live tool session - #7

Merged
gavinying merged 1 commit into
mainfrom
wot-active-server
Nov 13, 2026
Merged

gavinying merged 1 commit into
mainfrom
wot-active-server

Conversation

@gavinying

Copy link
Copy Markdown
Contributor

Without MODIOHUB_URL the tools used to target the default server even when the only live login was made against another one (for example staging), so uploads and Workspace reads prompted a futile sign-in against the wrong server.

active_server() keeps MODIOHUB_URL authoritative, then the default when it has a live session, then the only stored server with a live session, else the default. Releases as 0.6.0a2; consumers pin it in their own repositories.

@gavinying
gavinying merged commit 7c2d9d4 into main Nov 13, 2026
5 checks passed
@gavinying
gavinying deleted the wot-active-server branch November 13, 2026 07:19
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