UNPKG

@code-yeongyu/senpi

Version:

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

9 lines • 554 B
import { type ToolChildMessage } from "./protocol.ts"; export declare const TOOL_CHILD_MESSAGE_TYPES: readonly string[]; export declare const isRefId: (value: unknown) => value is string; /** * Boundary check for a decoded frame: a known `type`, every required field of the right kind, no unknown field. * An unknown field is refused rather than ignored, so a `trace` frame can never smuggle a result, proof or tick. */ export declare function isToolChildMessage(value: unknown): value is ToolChildMessage; //# sourceMappingURL=protocol-guard.d.ts.map