UNPKG

@code-yeongyu/senpi

Version:

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

20 lines • 881 B
import { serializeJsonLine } from "./jsonl.js"; import { GeneratedFramesCursor } from "./legacy-view-cursor.js"; /** Identity first, then a pageable checkpoint identity, in one installed actor barrier. */ export function admissionBaseline(reply, identity, live, routes) { return new GeneratedFramesCursor(false, async function* () { const answer = await reply; if (answer === undefined) return; yield serializeJsonLine(answer); if (live()) for (const admissionId of routes ?? [identity.admissionId]) yield serializeJsonLine({ type: "recovery_manifest", ...identity, admissionId, componentRef: identity.componentRef ?? "manifest", }); }, () => { }); } //# sourceMappingURL=compact-admission-baseline.js.map