Member Junction
    Preparing search index...

    Type Alias TaskContinuationDeliverer

    Delivers a finished graph's outcome, per its continuation mode.

    Abstracted for the same reason agent execution is: the dispatcher knows when a graph has settled and what it produced, but posting into a conversation and starting a fresh agent turn are host concerns. Injecting them keeps this package free of both the conversation layer and the agent framework — a dependency on the latter would be circular, since agents submit graphs.

    A host that implements neither still gets correct behavior: the dispatcher logs the outcome and marks it delivered, so a graph never silently repeats its completion.

    type TaskContinuationDeliverer = {
        PostMessage(params: TaskContinuationParams): Promise<void>;
        Reinvoke?(params: TaskContinuationParams): Promise<void>;
    }

    Implemented by

    Index

    Methods

    • Starts the submitting agent a fresh turn carrying the outcome.

      Optional: a host with no agent framework loaded (a worker, a test) legitimately cannot do this, and the dispatcher degrades to PostMessage rather than dropping the completion.

      Parameters

      Returns Promise<void>