StreamProcessorOptions
Defined in: agent/stream-processor.ts:52
Configuration for the StreamProcessor.
Properties
Section titled “Properties”agentConfig?
Section titled “agentConfig?”
optionalagentConfig:AgentContextConfig
Defined in: agent/stream-processor.ts:87
Parent agent configuration for subagents to inherit
baseDepth?
Section titled “baseDepth?”
optionalbaseDepth:number
Defined in: agent/stream-processor.ts:106
Base depth for nodes created by this processor
client?
Section titled “client?”
optionalclient:LLMist
Defined in: agent/stream-processor.ts:81
LLMist client for ExecutionContext.llmist
defaultGadgetTimeoutMs?
Section titled “defaultGadgetTimeoutMs?”
optionaldefaultGadgetTimeoutMs:number
Defined in: agent/stream-processor.ts:78
Default gadget timeout
gadgetArgPrefix?
Section titled “gadgetArgPrefix?”
optionalgadgetArgPrefix:string
Defined in: agent/stream-processor.ts:66
Custom argument prefix for block format
gadgetEndPrefix?
Section titled “gadgetEndPrefix?”
optionalgadgetEndPrefix:string
Defined in: agent/stream-processor.ts:63
Custom gadget end prefix
gadgetStartPrefix?
Section titled “gadgetStartPrefix?”
optionalgadgetStartPrefix:string
Defined in: agent/stream-processor.ts:60
Custom gadget start prefix
hooks?
Section titled “hooks?”
optionalhooks:AgentHooks
Defined in: agent/stream-processor.ts:69
Hooks for lifecycle events
iteration
Section titled “iteration”iteration:
number
Defined in: agent/stream-processor.ts:54
Current iteration number
logger?
Section titled “logger?”
optionallogger:Logger<ILogObj>
Defined in: agent/stream-processor.ts:72
Logger instance
mediaStore?
Section titled “mediaStore?”
optionalmediaStore:MediaStore
Defined in: agent/stream-processor.ts:84
MediaStore for storing gadget media outputs
onSubagentEvent()?
Section titled “onSubagentEvent()?”
optionalonSubagentEvent: (event) =>void
Defined in: agent/stream-processor.ts:93
Callback for subagent gadgets to report subagent events to parent
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
parentNodeId?
Section titled “parentNodeId?”
optionalparentNodeId:string|null
Defined in: agent/stream-processor.ts:103
Parent node ID (for gadget nodes created by this processor)
priorCompletedInvocations?
Section titled “priorCompletedInvocations?”
optionalpriorCompletedInvocations:Set<string>
Defined in: agent/stream-processor.ts:116
Set of invocation IDs that completed in previous iterations. Used to resolve dependencies on gadgets from prior LLM responses.
priorFailedInvocations?
Section titled “priorFailedInvocations?”
optionalpriorFailedInvocations:Set<string>
Defined in: agent/stream-processor.ts:122
Set of invocation IDs that failed in previous iterations. Used to skip gadgets that depend on previously-failed gadgets.
registry
Section titled “registry”registry:
GadgetRegistry
Defined in: agent/stream-processor.ts:57
Gadget registry for execution
requestHumanInput()?
Section titled “requestHumanInput()?”
optionalrequestHumanInput: (question) =>Promise<string>
Defined in: agent/stream-processor.ts:75
Callback for requesting human input during execution
Parameters
Section titled “Parameters”question
Section titled “question”string
Returns
Section titled “Returns”Promise<string>
subagentConfig?
Section titled “subagentConfig?”
optionalsubagentConfig:SubagentConfigMap
Defined in: agent/stream-processor.ts:90
Subagent-specific configuration overrides
optionaltree:ExecutionTree
Defined in: agent/stream-processor.ts:100
Execution tree for tracking LLM calls and gadget executions