@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 764 B
TypeScript
/**
* What a predecessor sends about a routed session is parsed here, not trusted structurally: a version-skewed
* generation's row is relayed to clients and its park drives a local reopen (cwd, profile, retention).
*/
import { type HandoverParkedEntry } from "./host-handover-parked.ts";
import type { RpcSessionRow } from "./session-registry-types.ts";
export declare function isRoutedSessionRow(value: unknown): value is RpcSessionRow;
/** The routed attach's `routeRow` / `routePark`: each is kept only when it has the shape its reader needs. */
export declare function routedAttachExtras(data: Readonly<Record<string, unknown>>): {
readonly row?: RpcSessionRow;
readonly park?: HandoverParkedEntry;
};
//# sourceMappingURL=predecessor-wire.d.ts.map