eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
37 lines (36 loc) • 1.8 kB
TypeScript
import type { Theme } from "./theme.js";
import type { LogDisplayMode } from "./log-display-mode.js";
import type { RemoteConnectionSnapshot } from "./remote-connection.js";
import type { VercelStatusSnapshot } from "./vercel-status.js";
import type { ModelEndpointStatus } from "#shared/model-endpoint-status.js";
export interface DevBuildStatus {
readonly phase: "building" | "complete";
readonly summary: string;
}
export interface StatusLineInput {
/** Transient authored-source build state, independent of the server log filter. */
devBuild?: DevBuildStatus;
/** Resolved model slug, e.g. "anthropic/claude-sonnet-5"; absent when `/eve/v1/info` failed. */
model?: string;
/** Authored reasoning effort, rendered bold after the model id, e.g. `(xhigh)`. */
reasoning?: string;
/** True when the Gateway priority tier is on; renders a `»fast` marker. */
fastMode?: boolean;
/**
* Transient dev-TUI log-display mode shown after a Ctrl+L cycle, e.g.
* `sandbox`. Rendered as a prominent leading `logs: <mode>` segment that
* survives width degradation and can stand alone; absent once the hint times
* out.
*/
logLevel?: LogDisplayMode;
/** Model endpoint readiness: external, or AI Gateway connected/not-connected. */
endpoint?: ModelEndpointStatus;
/** Workspace-scoped Vercel state; identity absent while unlinked or still resolving. */
vercel?: VercelStatusSnapshot;
/** Remote server identity and its current connection/authentication state. */
remote?: RemoteConnectionSnapshot;
theme: Theme;
width: number;
}
/** Builds model and connection segments, preserving the remote badge at narrow widths. */
export declare function buildStatusLine(input: StatusLineInput): string | undefined;