T-136: M2.1e — MCP copilot read_knowledge tool: read-only methodology cards + empirical findings / provider caveats lookup via injected ports in libs/research/src/mcp/tools/
This commit is contained in:
parent
d3a5105327
commit
9ca80bd537
1 changed files with 3 additions and 3 deletions
|
|
@ -488,9 +488,9 @@ export function createReadKnowledgeTool(options: ReadKnowledgeToolOptions): McpT
|
|||
};
|
||||
|
||||
const [rawLibrary, rawFindings, rawCaveats] = await Promise.all([
|
||||
wantLibrary ? port.listLibraryCards(libraryQuery) : Promise.resolve(null),
|
||||
wantFindings ? port.listFindings(findingQuery) : Promise.resolve(null),
|
||||
wantCaveats ? port.listProviderCaveats(caveatQuery) : Promise.resolve(null),
|
||||
(async () => (wantLibrary ? port.listLibraryCards(libraryQuery) : null))(),
|
||||
(async () => (wantFindings ? port.listFindings(findingQuery) : null))(),
|
||||
(async () => (wantCaveats ? port.listProviderCaveats(caveatQuery) : null))(),
|
||||
]);
|
||||
|
||||
const normalizedQuery =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue