@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
13 lines • 902 B
TypeScript
/**
* Writes what the delegated-connection gate decided instead of dispatching (senpi#5632, senpi#4249 R-1b d1/d2).
* A private presenter outcome goes through the private write (`writeMcpFormReply`) and never the control queue, so
* it keeps the private shape's promise: no event queue, snapshot, mirror or replay.
*/
import { type DelegationResponse, type DelegationVerdict } from "./delegation-wire.ts";
import type { SessionEventWriter } from "./session-event-writer.ts";
/** A host-mode record whose `relayExec` is not a positive safe integer is refused, never dispatched (#307). */
export declare function relayExecRefusal(record: unknown): DelegationResponse;
export declare function answerDelegation(writer: SessionEventWriter, verdict: Exclude<DelegationVerdict, {
readonly kind: "pass" | "machine_op";
}>, record: unknown): Promise<void>;
//# sourceMappingURL=delegated-answer.d.ts.map