fix(guidance): direct workflow errors to the scoped inventory (#13321)

* fix(guidance): direct workflow errors to the scoped inventory

* fix(mcp): type the progressive catalog registration boundary
This commit is contained in:
morluto authored and GitHub committed 2026-11-22 04:26:57 +00:00
1 parent 5b1bc26c37
commit 11a75a5c19
7 files changed
+178 -154

No files matched your search

+1 -1
View File
@@ -329,7 +329,7 @@ export class EvidenceMcpServerCore extends RequestTrackingMcpServer {
return catalog.discover(input);
},
);
const catalog = new ProgressiveToolCatalog(
const catalog: ProgressiveToolCatalog = new ProgressiveToolCatalog(
this.registrations,
adapter,
this.catalogIdentity,
+1 -1
View File
@@ -2167,7 +2167,7 @@ const SERVICE_TOOL_BINDINGS = {
guided_workflows: {
admission: "application",
value: async (input) =>
jsonValueResult(accessGuidedWorkflows(input, prompts)),
jsonValueResult(accessGuidedWorkflows(input, { contracts: prompts })),
},
})) satisfies Bind<readonly PromptContract[]>,
} as const;