@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 707 B
TypeScript
export declare const RUNTIME_SNAPSHOT_MARKER = "runtime-snapshot.json";
export interface RuntimeSnapshotMarker {
readonly buildId: string;
readonly installPackageDir: string;
}
export declare function readRuntimeSnapshotMarker(packageRoot: string): RuntimeSnapshotMarker | undefined;
/**
* Maps a path inside a runtime snapshot to the same path inside the install it was taken from.
* Install-method detection, self-update and quarantine logic reason about where the package
* manager put the package, which a process running from its snapshot would otherwise misread.
*/
export declare function resolveInstallPath(path: string, packageRoot: string): string;
//# sourceMappingURL=marker.d.ts.map