• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 18464004164

13 Oct 2025 11:16AM UTC coverage: 46.642% (+0.06%) from 46.58%
18464004164

push

github

web-flow
Update middleware documentation with missing middleware (#2161)

* Update middleware documentation with missing middleware

This commit updates the middleware.md documentation to include all
currently implemented middleware components that were previously
undocumented or only partially documented.

Changes:
- Add documentation for Tool Filter Middleware (tool-filter)
- Add documentation for Tool Call Filter Middleware (tool-call-filter)
- Add documentation for Telemetry Middleware (telemetry)
- Add documentation for Token Exchange Middleware (tokenexchange)
- Update middleware execution order with all 8 middleware components
- Update GetSupportedMiddlewareFactories example with complete list
- Add note about Token Exchange middleware not being registered in
  the factory map despite being fully implemented
- Correct Audit Middleware location reference from auditor.go to
  middleware.go

The documentation now accurately reflects the current state of the
codebase and provides complete information about all available
middleware components.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Clarify tool mapping middleware documentation

Address review feedback by clarifying that tool filtering and tool
override are two features implemented through two complementary
middleware components working together. Update documentation to focus
on functionality rather than implementation details.

Changes:
- Consolidate tool filter and tool call filter into single "Tool
  Mapping Middleware" section
- Explain that both components work in tandem to ensure consistency
  between tool discovery and execution
- Update section numbering for remaining middleware components

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update docs/middleware.md

Co-authored-by: Michelangelo Mori <328978+blkt@users.noreply.github.com>

---------

Co-authored-by... (continued)

17437 of 37385 relevant lines covered (46.64%)

16.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.62
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc