Member Junction
    Preparing search index...

    Runs one agent for one task node.

    Abstracted rather than taking AgentRunner directly so the dispatcher can be unit-tested without standing up the agent framework, and so a host with a different execution strategy (a queue, a remote worker) can supply its own.

    type TaskAgentRunner = {
        EnforcesSecurityEnvelope?: boolean;
        RunAgentForTask(params: TaskAgentRunParams): Promise<TaskAgentRunResult>;
    }

    Implemented by

    Index

    Properties

    EnforcesSecurityEnvelope?: boolean

    True when the runner starts the node's run under its SecurityEnvelope: the same run scope, audience, bound parameters and taint, with the actions a tainted run may not call taken away. The dispatcher refuses a node whose envelope constrains anything when this is not true.

    Methods