Files
plugins/packages/chat/lib
ninon 75a1937e23 chat: rank MCP tools using the typed question (#631)
chat: an attached EPUB's text no longer decides which MCP tools are picked (#623)

The page sends the typed text as userText beside the message that has the
book in it, and the server ranks MCP tools on userText when it is there,
on content otherwise. The gateway still gets the whole book; userText is
never sent to it. page-chat 0.1.10. By ninondev (#631).

Run at cb07bd6 on mote (bun 1.4.2, temp HOME): packages/chat bun test
35 pass, 1 skip, 0 fail; scripts/check.mjs chat ok.
Broken by hand: origin/main's server.mjs, then origin/main's app.js,
each alone: the new test goes red (34 pass, 1 fail).
Not tried: the real page in magpie's window with a real EPUB and MCP server.
2026-11-02 18:55:23 +08:00
..