@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
32 lines • 909 B
TypeScript
import type { WaitUntil } from "./terminal-wait.ts";
import type { Args } from "./wire.ts";
export type ExecArgs = Readonly<{
command: string;
cwd?: string;
yieldMs: number;
cols?: number;
rows?: number;
}>;
export type WriteStdinArgs = Readonly<{
handle: string;
data?: string;
keys?: readonly Uint8Array[];
paste: boolean;
yieldMs: number;
lastSeq?: number;
expectMs?: number;
}>;
export type WaitArgs = Readonly<{
handle: string;
yieldMs: number;
lastSeq?: number;
until?: WaitUntil;
}>;
export type KillArgs = Readonly<{
handle: string;
}>;
export declare const execCommandArgs: (a: Args) => ExecArgs;
export declare const writeStdinArgs: (a: Args) => WriteStdinArgs;
export declare const waitForCommandArgs: (a: Args) => WaitArgs;
export declare const killTerminalArgs: (a: Args) => KillArgs;
//# sourceMappingURL=terminal-args.d.ts.map