UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

17 lines • 897 B
export declare const RUNTIME_MANIFEST = "runtime-manifest.json"; export type RuntimeSnapshotDecision = { readonly kind: "run-here"; } | { readonly kind: "hand-off"; readonly entryUrl: string; readonly snapshotDir: string; }; /** * Decides where a bundled CLI launch runs. A package manager deletes and rewrites the installed * package on every upgrade, so a process that keeps importing chunks from it dies at its next * lazy import (#2358). The launch instead runs from `<agentDir>/runtime/<build>-<install>`, a * snapshot taken once per build and install, and claims it so it outlives later upgrades. * A launch already running from a snapshot only claims it. Any failure keeps the old behavior. */ export declare function prepareRuntimeSnapshot(entryPath: string, packageDir: string, agentDir: string): Promise<RuntimeSnapshotDecision>; //# sourceMappingURL=enter.d.ts.map