Test how the platform's / reads Accept, and keep one MCP protocol constant
Before adoption: this commit came in with the history the project adopted, so no landing records it.
- home.test.ts: each Accept a client sends picks HTML or Markdown as the header's qualities say (none, */*, a browser's full header, q-values either way, text/plain beside text/html, q=0). Seen red by planting `>` for `>=` in wantsMarkdown. - home.test.ts: on a host with no web app, the Markdown is frontLlms without a webUrl, so the platform's Option-to-optional hand-off is held. - MCP_PROTOCOL is exported from @repo/agent-kit/host-doc and home.ts imports it, so the page and the Markdown cannot name different versions. - Docstrings on rangesOf and qualityOf now say what they compute (all ranges; the highest quality among the named types).
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+51 added−7 removed
- tests:+47 added−0 removed
- other:+4 added−7 removed