UNPKG

@code-yeongyu/senpi

Version:

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

19 lines • 1.01 kB
import { type SnapshotFileCopier } from "./file-copier.ts"; export interface RuntimeManifest { readonly buildId: string; readonly externals: readonly string[]; } export declare class RuntimeSnapshotLayoutError extends Error { readonly packageName: string; constructor(packageName: string); } export declare const STAGING_PREFIX = ".tmp-"; /** * Builds `target` as a copy of the package that no reinstall can touch: the package itself and * every package its dependency graph reaches, with nothing linked back to the install, so an * upgrade that deletes, rewrites or re-lays-out the install (bundledDependencies on or off) never * changes what a running session loads (#2408). Built beside the target and renamed into place, * so a crash never leaves a half-built snapshot under its name. */ export declare function materializeRuntimeSnapshot(packageDir: string, target: string, manifest: RuntimeManifest, copier?: SnapshotFileCopier): Promise<void>; //# sourceMappingURL=layout.d.ts.map