@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 788 B
TypeScript
import { Duplex } from "node:stream";
import { type PresenterPrincipal } from "./mcp-presenter-enrollment.ts";
export interface LaunchOwner {
readonly stream: Duplex;
readonly principal: PresenterPrincipal;
readonly backendGeneration: string;
}
/** Only an authenticated owner can issue a fresh permit at the actual deferred launch. */
export declare class McpPresenterSuccessors {
private readonly pending;
private readonly predecessor;
private readonly nonces;
constructor(predecessor: string, nonces: Set<string>);
prepare(owner: LaunchOwner): Promise<Duplex | undefined>;
receive(stream: Duplex, value: Record<string, unknown>): boolean;
revoke(stream: Duplex): void;
dispose(): void;
}
//# sourceMappingURL=mcp-presenter-successor.d.ts.map