UNPKG

framework

Version:

The (AI) Framework: turnkey, zero-config AI orchestration that wraps a coding-agent CLI (Claude Code) as a black box and takes you from an idea to a running app. Vite for AI.

21 lines 1.05 kB
import type { DeployExecutor } from '@gemstack/ai-autopilot'; /** Options for {@link hostExecutor}. */ export interface HostExecutorOptions { /** Base environment for every command. Default `process.env`. */ env?: NodeJS.ProcessEnv; /** Max stdout/stderr bytes to buffer per command. Default 16 MiB. */ maxBuffer?: number; } /** * A {@link DeployExecutor} that runs shell commands on the host, in the * workspace the wrapped agent built (its `cwd`). This is what lets a real deploy * target (e.g. `cloudflareTarget`) install / build / run `wrangler` against the * code Claude Code just wrote, since the runner seam's `LocalRunner` cannot: it * mkdtemps a fresh workspace and deletes it on dispose. * * Never rejects: a non-zero exit or a spawn error resolves to an {@link ExecResult} * with the exit code and captured output, matching the runner-session contract * the deploy targets expect. */ export declare function hostExecutor(cwd: string, opts?: HostExecutorOptions): DeployExecutor; //# sourceMappingURL=host-exec.d.ts.map