UNPKG

@code-yeongyu/senpi

Version:

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

23 lines • 864 B
export declare const PIPED_STDIN_GRACE_MS = 2000; export interface PipedStdin { readonly isTTY?: boolean; readonly fd?: number; setEncoding(encoding: BufferEncoding): unknown; on(event: "data", listener: (chunk: string) => void): unknown; on(event: "end", listener: () => void): unknown; off(event: "data", listener: (chunk: string) => void): unknown; off(event: "end", listener: () => void): unknown; resume(): unknown; pause(): unknown; unref?(): unknown; } export interface ReadPipedStdinOptions { hasPromptArgument: boolean; forceRead: boolean; stdin?: PipedStdin; graceMs?: number; isRegularFile?: (stdin: PipedStdin) => boolean; onSkip?: () => void; } export declare function readPipedStdin(options: ReadPipedStdinOptions): Promise<string | undefined>; //# sourceMappingURL=piped-stdin.d.ts.map