Repository navigation
feat: sign in to ModioHub, read Workspace Thing Models and upload reports (POLL-02b) - #133
Merged
Merged
Conversation
…orts (POLL-02b) modpoll login runs the browser authorization flow and keeps the tool session in the credentials file shared with modsim; logout forgets it. --tm modiohub:<id>@<version> reads a custom Thing Model with the login (a shared one without), checked against the SHA-256 the server states; --upload shows the full-read report and uploads it after confirmation. Needs modpoll-wot 0.5.0a1, which is not released yet. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
POLL-02b: sign in to ModioHub, read Workspace Thing Models and upload reports. Version 2.0.0a7, pinned to the released modpoll-wot 0.5.0a1.
modpoll login/logout: browser authorization (RFC 8628); the 7-day tool session is kept in the credentials file shared with modsim (MODIOHUB_TOKENandMODIOHUB_URLoverride).--tm modiohub:<id>@<version>(alias of-f): reads a custom Thing Model with the login (a shared one without); the token only goes to the server it was issued for; the download is checked against the server's SHA-256.--upload/--yes: shows the report of a full read and uploads it after confirmation.Verified:
pytest tests -m "not integration"(224 passed, 14 new),deptry,uv lock; end to end with a local ModioHub site, a real browser confirmation, modsim and this branch (login by modsim, read and upload by modpoll).🤖 Generated with Claude Code