@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 721 B
TypeScript
import { Type } from "typebox";
import type { ToolDefinition } from "../../../types.ts";
import type { McpToolCatalogEntry } from "../catalog.ts";
import { type McpToolDetails } from "./register.ts";
declare const ParamsSchema: Type.TObject<{
op: Type.TUnion<[Type.TLiteral<"search">, Type.TLiteral<"describe">, Type.TLiteral<"call">]>;
query: Type.TOptional<Type.TString>;
tool: Type.TOptional<Type.TString>;
args: Type.TOptional<Type.TString>;
}>;
type McpProxyTool = ToolDefinition<typeof ParamsSchema, McpToolDetails | undefined, unknown>;
export declare function createMcpProxyTool(server: string, entries: readonly McpToolCatalogEntry[]): McpProxyTool;
export {};
//# sourceMappingURL=proxy.d.ts.map