@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 851 B
TypeScript
import type { QueuedInputPort } from "@earendil-works/pi-agent-core";
import type { PendingInputStore } from "./pending-input-store.ts";
export interface SessionQueuedInputPortOptions {
readonly store: PendingInputStore;
readonly ownerId: string;
readonly writerGeneration: number;
readonly nextAttemptId: () => string;
}
/**
* The session's side of the agent queues (senpi#3549). Every drain reserves the identified inputs it hands to a
* turn, every consumption commits them, and every give-back releases them, each under the store's gate together
* with the native buffer change. Input the store never admitted (no client id, or a legacy id) passes through.
*/
export declare function createSessionQueuedInputPort(options: SessionQueuedInputPortOptions): QueuedInputPort;
//# sourceMappingURL=pending-input-session-port.d.ts.map