@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 366 B
JavaScript
export function holdAttachment(socket) {
// A host broadcasts lifecycle records to every connection; drain them so the pipe never backs up.
socket.removeAllListeners("data");
socket.resume();
socket.on("error", () => socket.destroy());
socket.unref();
return { release: () => socket.destroy() };
}
//# sourceMappingURL=host-attach-hold.js.map