eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
15 lines (14 loc) • 637 B
TypeScript
import type { TaskDeliveryPolicy } from "#channel/types.js";
export interface DeliveryPolicy {
readonly allowsEmptyDelivery: boolean;
readonly instruction?: string;
}
/** Resolves one policy for both model prompting and empty-response recovery. */
export declare function resolveDeliveryPolicy(input: {
readonly hasOutputSchema: boolean;
readonly isChild: boolean;
readonly isFirstTurn: boolean;
readonly hasScheduleProvenance: boolean;
readonly taskDeliveryPolicy: TaskDeliveryPolicy | undefined;
readonly taskDeliveryPhase: "none" | "initiating" | "pending" | "settled" | undefined;
}): DeliveryPolicy;