/** * Confer host port. The wearing TUI already spawned the MCP servers. * This port writes the ask or returns the host's answer. It does not spawn a server. */ export interface ConferHostSeat { todoId: string; subagent: string; server: string; tool: string; args: Record; sessionId: string; prompt: string; dueReason: string | null; } export type ConferHostCall = { status: 'pending'; askPath: string; } | { status: 'answered'; text: string; }; export interface ConferHostPort { call(seat: ConferHostSeat, projectRoot: string): Promise; } export declare function conferAskPath(todoId: string, projectRoot: string): string; /** Evidence for the host model. The schema line is not a vote. */ export declare function buildHostConferEvidence(role: string, evidence: string): string; export declare class SessionConferHost implements ConferHostPort { call(seat: ConferHostSeat, projectRoot: string): Promise; } export declare class InProcessConferHost implements ConferHostPort { private readonly answers; constructor(answers: Record); call(seat: ConferHostSeat): Promise; }