@sema-agent/core
Version:
Stateless, task-oriented AI agent core
6 lines (5 loc) • 450 B
TypeScript
import type { Prepared } from "./contracts.js";
import type { NoticeSeatInput } from "./notice-seat-input.js";
/** The session's announced record and the leg's receipt ledger (the parked write). */
export type CapabilityWithheldRecord = Pick<Prepared, "announcedListingsRef" | "frameReceipts">;
export declare function createCapabilityWithheldScope(ids: NoticeSeatInput, announced: CapabilityWithheldRecord): <T>(fn: () => Promise<T>) => Promise<T>;