bodhi-realtime-agent / RuntimeOrchestrator
Class: RuntimeOrchestrator
Defined in: src/runtime/runtime-orchestrator.ts:106
Wires and manages the full actor graph.
Usage:
const orchestrator = new RuntimeOrchestrator(config);
await orchestrator.start();
// ... runtime operates via adapter callbacks ...
await orchestrator.stop();Constructors
Constructor
new RuntimeOrchestrator(
config):RuntimeOrchestrator
Defined in: src/runtime/runtime-orchestrator.ts:130
Parameters
config
Returns
RuntimeOrchestrator
Properties
backgroundAgentHost
readonlybackgroundAgentHost:BackgroundAgentHostActor
Defined in: src/runtime/runtime-orchestrator.ts:122
Hosts user-defined BackgroundAgents. Always constructed (even when no agents are registered) so SessionActor's fan-out envelopes have a live recipient and don't dead-letter.
clientGatewayActor
readonlyclientGatewayActor:ClientGatewayActor
Defined in: src/runtime/runtime-orchestrator.ts:126
deadLetterQueue
readonlydeadLetterQueue:DeadLetterQueue
Defined in: src/runtime/runtime-orchestrator.ts:110
mainAgentActor
readonlymainAgentActor:MainAgentActor
Defined in: src/runtime/runtime-orchestrator.ts:125
notificationActor
readonlynotificationActor:NotificationActor
Defined in: src/runtime/runtime-orchestrator.ts:115
notificationHooksObserver
readonlynotificationHooksObserver:NotificationHooksObserverActor|null
Defined in: src/runtime/runtime-orchestrator.ts:118
Built-in observability subscriber. Constructed only when an onBackgroundNotification callback is configured.
observer
readonlyobserver:RuntimeObserver
Defined in: src/runtime/runtime-orchestrator.ts:109
runtime
readonlyruntime:ActorRuntime
Defined in: src/runtime/runtime-orchestrator.ts:107
sessionActor
readonlysessionActor:SessionActor
Defined in: src/runtime/runtime-orchestrator.ts:114
subagentSupervisor
readonlysubagentSupervisor:SubagentSupervisorActor
Defined in: src/runtime/runtime-orchestrator.ts:124
supervisor
readonlysupervisor:Supervisor
Defined in: src/runtime/runtime-orchestrator.ts:108
toolRouterActor
readonlytoolRouterActor:ToolRouterActor
Defined in: src/runtime/runtime-orchestrator.ts:123
transportActor
readonlytransportActor:TransportActor
Defined in: src/runtime/runtime-orchestrator.ts:113
Accessors
isRunning
Get Signature
get isRunning():
boolean
Defined in: src/runtime/runtime-orchestrator.ts:283
Whether the orchestrator is running.
Returns
boolean
Methods
start()
start():
Promise<void>
Defined in: src/runtime/runtime-orchestrator.ts:247
Start all actors in dependency order.
Returns
Promise<void>
stop()
stop():
Promise<void>
Defined in: src/runtime/runtime-orchestrator.ts:276
Stop all actors in reverse order.
Returns
Promise<void>