Anchorage API reference
    Preparing search index...

    Interface StartReservationRequest

    interface StartReservationRequest {
        key: unknown;
        mintRunId: () => string;
        owner: StartReservationOwner;
        targetId: string;
        targetKind: "agent" | "workflow";
        threadId?: string;
    }
    Index

    Properties

    key: unknown
    mintRunId: () => string

    The host's own run-id mint — context.newRunId() on the run router, the thread topology's minted id on the agent surface. Run ids are server-minted and this store never generates one; it only ever stores what it is handed.

    A THUNK rather than a value so the store, not the caller, decides when an id is needed: the caller that loses the insert never uses its candidate, and a host whose mint is expensive or audited should not pay for one it throws away. (The mints in this package are pure crypto.randomUUID() derivations, so a discarded candidate costs nothing and leaks nothing.)

    targetId: string
    targetKind: "agent" | "workflow"
    threadId?: string

    Required for targetKind: 'agent', rejected for 'workflow'.