eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
54 lines (53 loc) • 1.77 kB
TypeScript
import { type ApplicationInspection } from "#services/inspect-application.js";
interface CliInfoLogger {
log(message: string): void;
}
/** Options accepted by {@link printApplicationInfo}. */
export interface PrintApplicationInfoOptions {
/** Emit a machine-readable JSON document instead of the human table. */
json?: boolean;
}
/** Machine-readable view of an application inspection, emitted by `eve info --json`. */
export interface ApplicationInfoJson {
appRoot: string;
agentRoot: string | null;
layout: string | null;
status: string;
diagnostics: {
errors: number;
warnings: number;
} | null;
model: string | null;
instructions: string | null;
skills: string[];
tools: string[];
channels: {
name: string;
kind: string | null;
method: string | null;
urlPath: string | null;
}[];
messaging: {
create: string;
continue: string;
stream: string;
};
artifacts: {
compiledManifest: string;
discoveryManifest: string;
diagnostics: string;
moduleMap: string;
metadata: string;
} | null;
}
/**
* Projects a structured inspection into the stable `eve info --json` contract.
* Tools and channels an agent relies on to verify setup come straight from the
* compiled manifest, so this stays in sync with what the runtime actually serves.
*/
export declare function buildApplicationInfoJson(inspection: ApplicationInspection): ApplicationInfoJson;
/**
* Writes resolved application details and the active message-route contract.
*/
export declare function printApplicationInfo(logger: CliInfoLogger, appRoot: string, options?: PrintApplicationInfoOptions): Promise<void>;
export {};