UNPKG

@code-yeongyu/senpi

Version:

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

14 lines • 972 B
import type { ExtensionUIDialogOptions } from "./types.ts"; export type SecretInputUnavailableReason = "headless" | "client_unsupported" | "no_presenter"; /** Fixed guidance only: errors from this boundary never carry the input or an underlying cause. */ export declare class SecretInputUnavailableError extends Error { readonly code = "secret_input_unavailable"; readonly reason: SecretInputUnavailableReason; constructor(reason: SecretInputUnavailableReason); } export declare function resolveSecretInputTimeout(opts?: ExtensionUIDialogOptions): number; /** Platform timers clamp delays above 2^31-1; recheck the original deadline rather than renewing it. */ export declare function armSecretInputDeadline(deadline: number, expire: () => void): () => void; /** A secret is never normalized: unrepresentable single-line input is refused instead. */ export declare function isSecretInputValue(value: string): boolean; //# sourceMappingURL=secret-input.d.ts.map