@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 703 B
TypeScript
import type { Tool } from "@earendil-works/pi-ai";
import { type SdkBoundary } from "./sdk-boundary.ts";
type CustomToolsMcpServer = ReturnType<SdkBoundary["createSdkMcpServer"]>;
export declare function denyCustomToolExecution(): Promise<{
content: {
type: "text";
text: string;
}[];
isError: boolean;
}>;
/**
* Exposes senpi-only tools to Claude Code's planner. The SDK handler is deliberately
* unusable: senpi receives the matching streamed tool call and executes it itself.
*/
export declare function buildCustomToolServers(customTools: readonly Tool[]): Promise<Record<string, CustomToolsMcpServer> | undefined>;
export {};
//# sourceMappingURL=custom-tools.d.ts.map