UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

27 lines (26 loc) 1.29 kB
import type { DevBootProgressReporter } from "#internal/dev-boot-progress.js"; import type { DevelopmentTuiTarget } from "./target.js"; import type { TuiDisplayOptions } from "./types.js"; export type { DevelopmentTuiTarget } from "./target.js"; export interface RunDevelopmentTuiInput extends TuiDisplayOptions { /** The local server or remote URL used by this TUI session. */ readonly target: DevelopmentTuiTarget; /** * Text to seed the prompt input with after the UI launches. The buffer is * editable and is not auto-submitted — the user presses Enter to send it. * Applies to the first prompt only. */ readonly initialInput?: string; /** Reports local CLI boot phases. Omitted for remote and programmatic TUI runs. */ readonly onBootProgress?: DevBootProgressReporter; } /** * Runs the `eve dev` terminal UI against the given server URL until the * user exits. * * The configured client is handed to the runner so its subagent * child-session streams inherit the same auth. Turn-dispatch failures — * including the Vercel Deployment Protection challenge — are formatted into * the inline error region rather than crashing the command. */ export declare function runDevelopmentTui(input: RunDevelopmentTuiInput): Promise<void>;