feat: add MCP code-mode namespace (#88636)

* feat: add MCP code-mode namespace

* fix: unblock mcp namespace ci gates
This commit is contained in:
Peter Steinberger
2026-05-31 15:02:19 +01:00
committed by GitHub
parent 44c65de17a
commit ec8cb8bcbf
8 changed files with 603 additions and 28 deletions

View File

@@ -40,10 +40,18 @@ export {
resetPluginToolDescriptorCache as resetPluginToolFactoryCache,
} from "./tool-descriptor-cache.js";
export type PluginToolMcpMeta = {
serverName: string;
safeServerName: string;
toolName: string;
operation: "tool" | "resources_list" | "resources_read" | "prompts_list" | "prompts_get";
};
export type PluginToolMeta = {
pluginId: string;
optional: boolean;
trustedLocalMedia?: boolean;
mcp?: PluginToolMcpMeta;
};
type PluginToolFactoryTimingResult = "array" | "error" | "null" | "single";