perf(mcp): reduce cold-start work

This commit is contained in:
morluto
2026-07-26 15:02:58 +00:00
parent 6d37efe8fa
commit fecddc0549
27 changed files with 1323 additions and 293 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import { TOOL_CONTRACTS } from "./toolContracts.js";
import type { TOOL_CONTRACTS } from "./toolContracts.js";
type ToolName = (typeof TOOL_CONTRACTS)[number]["name"];
+1 -1
View File
@@ -32,7 +32,7 @@ export const TOOL_KINDS = [
] as const;
/** Adapter family responsible for implementing a public MCP tool. */
type ToolKind = (typeof TOOL_KINDS)[number];
export type ToolKind = (typeof TOOL_KINDS)[number];
/** Single source of truth for a public MCP tool. */
export interface ToolContract<Name extends string = string> {