mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-08 11:22:54 +00:00
feat: add MCP code-mode namespace (#88636)
* feat: add MCP code-mode namespace * fix: unblock mcp namespace ci gates
This commit is contained in:
committed by
GitHub
parent
44c65de17a
commit
ec8cb8bcbf
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user