UNPKG

trellis

Version:

Agentic State Engine — event-sourced causal graph with branching, decision traces, and realtime sync for AI-native applications

22 lines 1 kB
/** * Admin/TML dev layer — esbuild watch + SSE live reload. * * Pure dev path: no Vite dev server. Trellis dashboard stays the single origin. * Gated by `trellis admin --dev` or TRELLIS_UI_DEV=1. */ export declare const UI_DEV_SUBDIR = "ui-dev"; /** Bundled browser entry points (add admin-shell.ts when extracted). */ export declare const UI_DEV_ENTRIES: readonly ["tml-runtime.ts", "admin-datatable.ts", "admin-shell.ts"]; export type UiDevReloadReason = 'reload' | 'css' | 'html'; export interface UiDevHandle { outDir: string; notify: (reason: UiDevReloadReason) => void; stop: () => Promise<void>; } export declare function liveReloadClientSource(): string; export declare function uiDevOutDir(rootPath: string): string; /** * Start esbuild watch + filesystem watchers. Writes bundles to `.trellis/ui-dev/`. */ export declare function startUiDevWatch(rootPath: string, onReload: (reason: UiDevReloadReason) => void): Promise<UiDevHandle>; //# sourceMappingURL=ui-dev.d.ts.map