UNPKG

@code-yeongyu/senpi

Version:

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

11 lines • 644 B
import { RpcSessionRegistry } from "./session-registry.js"; /** * The registry a session worker runs its one session in. The worker owns its isolate's event * loop, so the session file loads in one synchronous pass: slicing it (senpi#3518) only helps * a loop that other sessions share, and a worker blocked in a native read is what the host's * quarantine and ownership rules are built to handle. */ export function createSessionWorkerRegistry(agentDir, createRuntime) { return new RpcSessionRegistry({ agentDir, createRuntime, sessionFileLoad: "blocking", workerIsolate: true }); } //# sourceMappingURL=session-worker-registry.js.map