UNPKG

@code-yeongyu/senpi

Version:

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

19 lines • 968 B
import type { MrtrInputResponse } from "./elicitation.ts"; import { type McpClock } from "../wrap.ts"; export declare const MCP_TASK_EXTENSION = "io.modelcontextprotocol/tasks"; export declare const MCP_TASK_TIMEOUT_ENV = "SENPI_MCP_TASK_TIMEOUT_MS"; export declare function mcpTaskTimeoutMs(): number; /** Polling belongs to the originating request, never to the shared physical client. */ export declare function followMcpTask(initial: Record<string, unknown>, options: { clock: McpClock; signal: AbortSignal; timeoutMs: number; send: (method: string, params: Record<string, unknown>, signal?: AbortSignal) => Promise<Record<string, unknown>>; inputs: (result: Record<string, unknown>, signal: AbortSignal) => Promise<Record<string, MrtrInputResponse>>; progress: (task: { taskId: string; status: string; statusMessage?: string; }) => void; }): Promise<Record<string, unknown>>; //# sourceMappingURL=tasks.d.ts.map