@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
11 lines • 564 B
TypeScript
import type { Attachment, Route, RouteTable } from "./predecessor-route-table.ts";
import type { RpcCommand, RpcResponse } from "./rpc-types.ts";
export type Open = Extract<RpcCommand, {
type: "open_session";
}>;
export type Attach = Extract<RpcCommand, {
type: "attach_session";
}>;
export declare function connection(table: RouteTable, route: Route, caller: string): Attachment;
export declare function attach(table: RouteTable, route: Route, caller: string, command: Open | Attach): Promise<RpcResponse>;
//# sourceMappingURL=predecessor-attach.d.ts.map