@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 813 B
TypeScript
import type { RpcCommand, RpcResponse } from "./rpc-types.ts";
import type { RouterContext } from "./session-router-context.ts";
/**
* Host-level read routes: answered from host state alone, before any session lookup or worker forwarding.
* Moved verbatim out of session-router-routing.ts `dispatch` (senpi#4272 SR1, RULING-70 (4)).
*/
export declare function answerProtocolInfo(host: RouterContext, command: Extract<RpcCommand, {
type: "get_protocol_info";
}>): RpcResponse;
export declare function answerSubscriptionLimits(command: Extract<RpcCommand, {
type: "get_subscription_limits";
}>): RpcResponse;
export declare function answerListSessions(host: RouterContext, command: Extract<RpcCommand, {
type: "list_sessions";
}>): RpcResponse;
//# sourceMappingURL=session-router-host-reads.d.ts.map