UNPKG

life

Version:

Life.js is the first fullstack framework to build agentic web applications. It is minimal, extensible, and typesafe. Well, everything you love.

24 lines (21 loc) 1 kB
import * as LIFE_SERVER_BUILD_PATH from 'LIFE_SERVER_BUILD_PATH'; import { z } from 'zod'; import { a as agentServerConfig } from '../../config-n67P8tNt.mjs'; import { A as AgentDefinition, O as OperationResult } from '../../types-DcmGusfD.mjs'; import 'zod/v4/core'; import 'type-fest'; type Mode = "LIFE_BUILD_MODE"; type ActualServerBuild = typeof LIFE_SERVER_BUILD_PATH; declare const defaultBuild: { readonly "Run `life dev` to see your agents here.": { readonly definition: AgentDefinition; readonly globalConfigs: z.input<typeof agentServerConfig.schema>[]; readonly sha: ""; }; }; type ServerBuild = Mode extends "production" ? Awaited<ActualServerBuild>["default"] extends never ? Awaited<ActualServerBuild> : Awaited<ActualServerBuild>["default"] : typeof defaultBuild; declare function importServerBuild(options: { projectDirectory: string; noCache: boolean; }): Promise<OperationResult<ServerBuild>>; export { type ServerBuild, importServerBuild };