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

feat: define the tool session credentials file and modiohub references (POLL-02b) - #5

Merged
gavinying merged 1 commit into
mainfrom
poll-02b-credentials
Nov 12, 2026
Merged

gavinying merged 1 commit into
mainfrom
poll-02b-credentials

Conversation

@gavinying

Copy link
Copy Markdown
Contributor

POLL-02b: the tool session credentials file and modiohub: references.

  • modpoll_wot.session defines where a ModioHub tool session token is kept (~/.config/modiohub/credentials.json, mode 0600, one entry per server, MODIOHUB_TOKEN and MODIOHUB_URL from the environment) and parses modiohub:<id>@<version>. It makes no request, so modpoll-wot stays offline; modpoll and modsim each implement the login flow and share the file.
  • Version 0.5.0a1.

Verified: mise run test (114 passed, 14 new); modpoll and modsim branches were run against the built wheel, end to end against a local ModioHub site.

🤖 Generated with Claude Code

…s (POLL-02b)

Tools share one login through a private credentials file keyed by server, with
MODIOHUB_TOKEN taking precedence. The module only reads and writes the file and
parses modiohub:<id>@<version>; signing in stays with each tool. Version 0.5.0a1.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@gavinying
gavinying merged commit 6b5d045 into main Nov 12, 2026
5 checks passed
@gavinying
gavinying deleted the poll-02b-credentials branch November 12, 2026 12:23
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