@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 669 B
TypeScript
/**
* The foreground window is how long a bash tool call may block the model, which
* is a different concern from `timeout` — the deadline that kills the process.
* A command still running at the window is handed to a live background session
* instead of being killed, so the turn is freed without losing the work.
*/
export declare const DEFAULT_FOREGROUND_WINDOW_SECONDS = 60;
/** A wait has nothing to show in the foreground; detach it almost at once. */
export declare const SLEEP_WAIT_WINDOW_SECONDS = 5;
export declare function resolveForegroundWindowSeconds(env: Record<string, string | undefined>): number;
//# sourceMappingURL=foreground-window.d.ts.map