Skip to content

chore: bump pydantic/ty and expand README#46

Merged
lorr1 merged 2 commits into
mainfrom
chore/deps-and-readme-expand
Apr 23, 2026
Merged

chore: bump pydantic/ty and expand README#46
lorr1 merged 2 commits into
mainfrom
chore/deps-and-readme-expand

Conversation

@lorr1
Copy link
Copy Markdown
Collaborator

@lorr1 lorr1 commented Apr 23, 2026

Summary

Details

Dependency bumps

  • pydantic: >=2.12.5>=2.13.2
  • ty: >=0.0.28>=0.0.31
  • uv.lock refreshed accordingly.

README additions

  • Banner at the top making it explicit that the template does nothing useful until edited, and pointing at the Client Setup section.
  • Client Setup section: endpoint (/mcp), Authorization: Bearer header, example client JSON, and pointers to the files that own endpoint/auth config.
  • How Token Passthrough Works section: describes that TokenPassthroughMiddleware extracts but does not validate the token, shows how tools read it via get_bearer_token(), and calls out that this is not an authorization layer.
  • Using with ToolHive section linking to https://github.com/stacklok/toolhive, since this template is meant to run behind ToolHive (which handles the real token validation / policy / audit).

Test plan

  • task lint passes
  • task typecheck passes
  • task test — 11 unit tests pass, 3 integration tests skipped (server not running, expected)
  • Reviewer: skim the README render on GitHub to confirm the new sections read well

Supersedes Renovate #26 and #30.

- pydantic >=2.12.5 -> >=2.13.2 (resolves to 2.13.3)
- ty >=0.0.28 -> >=0.0.31 (resolves to 0.0.32)
- Banner at the top making it explicit that this repo is a template:
  users need to add their own tools, and those tools will need a
  client to talk to whatever backend they wrap.
- New Authentication section that defers auth to ToolHive and
  links to the ToolHive auth docs
  (https://docs.stacklok.com/toolhive/concepts/auth-framework).
  Describes token passthrough briefly (the middleware forwards the
  bearer token to tools via get_bearer_token()) but does not
  re-document it at length.
@lorr1 lorr1 force-pushed the chore/deps-and-readme-expand branch from 4dc7fc1 to e17a7a0 Compare April 23, 2026 21:13
@lorr1 lorr1 merged commit e732372 into main Apr 23, 2026
6 checks passed
@lorr1 lorr1 deleted the chore/deps-and-readme-expand branch April 23, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants