UNPKG

eve

Version:

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

20 lines (19 loc) 852 B
import { prewarmAppSandboxes } from "#execution/sandbox/prewarm.js"; type PrewarmAppSandboxesInput = Parameters<typeof prewarmAppSandboxes>[0]; /** * Detects whether the current build is running inside Vercel with a * stable deployment identifier. Build-time sandbox prewarm runs only * when this returns true so dev runs and one-off builds don't try to * provision templates against the platform. */ export declare function shouldPrewarmVercelBuild(): boolean; /** * Vercel build-time sandbox prewarm hook. Failures here are treated as * build failures because the same sandbox bootstrap would otherwise * break at runtime. * * Returns `true` when the prewarm ran, `false` when the current * environment is not a Vercel build. */ export declare function runVercelBuildPrewarm(input: PrewarmAppSandboxesInput): Promise<boolean>; export {};