GadgetExecutor
Defined in: gadgets/executor.ts:55
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new GadgetExecutor(
registry,requestHumanInput?,logger?,defaultGadgetTimeoutMs?,errorFormatterOptions?,client?,mediaStore?,agentConfig?,subagentConfig?,onSubagentEvent?,tree?,parentNodeId?,baseDepth?):GadgetExecutor
Defined in: gadgets/executor.ts:60
Parameters
Section titled “Parameters”registry
Section titled “registry”requestHumanInput?
Section titled “requestHumanInput?”(question) => Promise<string>
logger?
Section titled “logger?”Logger<ILogObj>
defaultGadgetTimeoutMs?
Section titled “defaultGadgetTimeoutMs?”number
errorFormatterOptions?
Section titled “errorFormatterOptions?”ErrorFormatterOptions
client?
Section titled “client?”mediaStore?
Section titled “mediaStore?”agentConfig?
Section titled “agentConfig?”AgentContextConfig
subagentConfig?
Section titled “subagentConfig?”onSubagentEvent?
Section titled “onSubagentEvent?”(event) => void
parentNodeId?
Section titled “parentNodeId?”string | null
baseDepth?
Section titled “baseDepth?”number
Returns
Section titled “Returns”GadgetExecutor
Methods
Section titled “Methods”execute()
Section titled “execute()”execute(
call):Promise<GadgetExecutionResult>
Defined in: gadgets/executor.ts:128
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<GadgetExecutionResult>
executeAll()
Section titled “executeAll()”executeAll(
calls):Promise<GadgetExecutionResult[]>
Defined in: gadgets/executor.ts:492
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<GadgetExecutionResult[]>