You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optional reranking of search_documents results, off by default and experimental. markindex mcp <root> --rerank jev (or openLibrary({ rerank: { reranker } })) has a reranker score the 50 best keyword hits and returns the
most relevant; the tool then takes an optional intent, a full sentence saying what is being looked for, and
each hit carries a relevance. The built-in reranker, jevReranker(), uses TypeSafe's hosted Jev model and
sends the question and the text of the candidate sections to that service; any object with a score() method
can be used instead. When the reranker fails or takes too long, the keyword order is returned. Without the
option nothing changes: same tools, same schemas, no network calls.
Library.contract: the tool descriptions and input schemas a library serves. createMcpServer() and createAiSdkTools() read it. New exports: TOOL_CONTRACT_RERANKED, jevReranker, jevConfigFromEnv and the Reranker, RerankOptions, ToolContract types.