UNPKG

@code-yeongyu/senpi

Version:

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

18 lines • 877 B
import type { McpSettings } from "../config-schema.ts"; import type { McpMappedContentBlock } from "../expose/schema-compat.ts"; export interface McpOutputGuardOptions { readonly agentDir?: string; /** Owner of spill files for one MCP service/session. */ readonly artifacts?: McpOutputArtifacts; readonly server: string; readonly outputGuard?: McpSettings["outputGuard"]; } /** Tracks the output artifacts owned by one MCP service. */ export declare class McpOutputArtifacts { #private; track(path: string): void; cleanup(): Promise<void>; } export declare function applyMcpOutputGuard(content: readonly McpMappedContentBlock[], options: McpOutputGuardOptions): Promise<readonly McpMappedContentBlock[]>; export declare function cleanupMcpOutputArtifacts(artifacts?: McpOutputArtifacts): Promise<void>; //# sourceMappingURL=output-guard.d.ts.map