Repository navigation
docs: bring the docs in line with the /token exchange and from_tei failover - #46
Merged
vpetersson merged 1 commit intoNov 23, 2026
Conversation
…ilover - README: authentication example on a TEA 1.x host (trust.sbomify.com serves 0.4.0 only), from_tei with credentials, the --no-input, --no-color and -o/--output CLI options, TEA_AUTH as an API key, Upgrading notes for the stricter .well-known endpoint URL pattern and for pointing the CLI and conformance suite at 0.4.0 servers, and the versioning section per ADR-0002 (YY.MM.MICRO) without naming a release - docs/cli.md: the missing global options, exit code 2, discovery failover as its own section rather than an authentication method - docs/conformance.md: the CI example installs the cli extra that tea-cli needs; basic_auth is an API key on TEA 1.x - --auth / TEA_AUTH help text says it is an API key on TEA 1.x - package docstring leads with from_tei - CLAUDE.md: protocols.py, _constants.py and the /token exchange in the module map; docs/cli.md and the cut-release skill under Design Docs
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
vpetersson
approved these changes
Nov 23, 2026
Merged
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.
Follow-up to #42. The docs mostly came along with that PR, but a pass against the code on master turned up the gaps below. Docs and help text only; no version bump (that stays with the release).
README
/tokenexchange againsttrust.sbomify.com, which serves 0.4.0 only. It now usestea.example.com, and showsfrom_teiwith credentials.--no-input,--no-colorand-o/--output, plus--timeoutin the connection options, and says that TEI commands fail over between endpoints.TEA_AUTHis described as an API key on TEA 1.x; the plaintext-HTTP error coversbasic_authtoo..well-known/teadocument that lists an endpoint URL outside the schema pattern is now rejected withTeaDiscoveryError(0.5.1 accepted it and stripped a trailing slash). The CLI and conformance suite have no spec-version option, so a 0.4.0 server needs a base URL ending in/v0.4.0.YY.MM.MICROper ADR-0002, without naming a release number.docs/cli.md
2for usage errors.docs/conformance.md
tea-cliafter installing onlylibtea[conformance], which does not include the CLI. It now installslibtea[cli].basic_authis an API key on TEA 1.x; testing a 0.4.0 server needs a/v0.4.0base URL.Code (help text only)
--auth/TEA_AUTHhelp says it is an API key on TEA 1.x.from_tei.CLAUDE.md
protocols.py,_constants.pyand the/tokenexchange; Design Docs listsdocs/cli.mdand thecut-releaseskill.Checked: every option and behaviour described was confirmed against
tea-cli --helpand the code (for example,--no-inputdownloads into the current directory rather than failing).ruff check,ruff format --check,mypyandpytest(1197 passed, 95% coverage) all pass.