UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

7 lines (6 loc) • 625 B
/** The delegation factory's mint: `result`'s `details` object is a refusal before any child ran. Returns `result` as it is. */ export declare function notStartedResult<T extends object>(result: T): T; /** An engine copy's carry: the engine's `copy` of a receipted object holds the receipt too. Anything else carries nothing. */ export declare function carryNotStartedReceipt(original: unknown, copy: unknown): void; /** Is `result` one of the delegation tool's refusals before any child ran — by the receipt on its `details` object alone? */ export declare function isNotStartedDelegationResult(result: unknown): boolean;