@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 677 B
TypeScript
import type { RouterContext } from "./session-router-context.ts";
/**
* The connection that offers to continue this session on another computer: the earliest-attached one that
* advertised `session_relocation` in its own `set_client_info` (docs/rpc.md). Only it is asked and only it may answer.
*/
export declare function relocationConnection(host: RouterContext, sessionId: string): string | undefined;
/** `connection` no longer attaches to `sessionId`: its attach order and what it offered the session end. */
export declare function connectionLeft(host: RouterContext, sessionId: string, connection: string): void;
//# sourceMappingURL=session-router-relocation.d.ts.map