fix
patch
hosted-mcp
feat/phase-2g-bundle
fix(hosted-mcp): route …/note.md/image/n before folder listing (greedy {+path})
MCP clients bind knowtation://hosted/vault/{+path} with a greedy path so …/inbox/x.md/image/0 is not .md-suffixed and was treated as folder JSON.
- Add hostedReadVaultEmbeddedImage helper; match /^(.+\.md)\/image\/(\d+)$/ in hosted-vault-note handler before note vs folder branch. - Regression test with DNS stub + fetch mock for offline CI.
Fixes fetch_mcp_resource returning application/json for image URIs on mcp.knowtation.store.
sha256:0e77a6a67392a25c0987e20beb30851c2fab75d67ddecc1b0a27452cd4f31246
sha
sha256:7eae192376fa688b23eeddf7bbe888d562361f2c2a1fe7d77656661bb85220b7
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:0e77a6a67392a25c0987e20beb30851c2fab75d67ddecc1b0a27452cd4f31246 --body "your comment"
No comments yet. Be the first to start the discussion.