@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
17 lines • 970 B
TypeScript
import { type PendingClaims } from "./session-registry-claims.ts";
import { type OpenRpcSession, type RpcSessionEntry, type RpcSessionLaunchProfile, type RpcSessionOpenOptions, type RpcSessionRegistryOptions } from "./session-registry-types.ts";
import { type SessionTeardownHost } from "./session-teardown.ts";
export interface RegistryOpenPort {
readonly entries: Map<string, RpcSessionEntry>;
readonly reservations: Set<string>;
readonly pendingClaims: PendingClaims;
readonly options: RpcSessionRegistryOptions;
readonly teardownHost: SessionTeardownHost;
readonly closeGraceMs: number;
now(): number;
nextHandle(): string;
validateProfile(profile: RpcSessionLaunchProfile): void;
syncRuntimeMetadata(): void;
}
export declare function openRegistrySession(host: RegistryOpenPort, requested: RpcSessionLaunchProfile, options?: RpcSessionOpenOptions): Promise<OpenRpcSession>;
//# sourceMappingURL=session-registry-open.d.ts.map