UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

8 lines • 738 B
import type { ExtensionAPI, ExtensionContext, ToolCallEvent } from "../../types.ts"; import { type DispatchAuthorizer, type DispatchIdentity } from "./dispatch.ts"; type IdentityForInput = (input: Record<string, unknown>) => DispatchIdentity | undefined; export declare function registerDispatchIdentity(parameters: object, identity: IdentityForInput): void; export declare function getDispatchIdentity(parameters: object, input: Record<string, unknown>): DispatchIdentity | undefined; export declare function prepareMcpDispatchApproval(pi: Pick<ExtensionAPI, "getAllTools">, event: ToolCallEvent, ctx: ExtensionContext, authorizer: DispatchAuthorizer): (() => void) | undefined; export {}; //# sourceMappingURL=dispatch-metadata.d.ts.map