AgentInvocationHub class final
In-process link. Executes through IntentCallNativeBridge and records every invoke. observe records a call some other adapter already ran.
- Implemented types
Constructors
- AgentInvocationHub({required IntentCallNativeBridge bridge, AgentRegistry? registry})
- AgentInvocationHub.bindRegistry({required AgentRegistry registry, required IntentCallAuthorizationPolicy policy})
-
factory
Properties
- bridge → IntentCallNativeBridge
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registry → AgentRegistry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
) → Future< void> -
invoke(
IntentCallInvocationEnvelope envelope) → Future< AgentResult> -
override
-
listTools(
) → List< Map< String, Object?> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observe(
{required IntentCallInvocationEnvelope envelope, required AgentResult result}) → void -
toString(
) → String -
A string representation of this object.
inherited
-
watch(
) → Stream< AgentCallObservation> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited