RuntimeHook class abstract

Runtime hook for observability and lifecycle events.

Constructors

RuntimeHook()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

afterExecution(SkillContext context, SkillResult result) → Future<void>
Called after skill execution completes.
beforeExecution(SkillContext context) → Future<void>
Called before skill execution starts.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBudgetCheck(SkillContext context, BudgetCheckResult result) → Future<void>
Called when budget is checked.
onClaimsExtracted(SkillContext context, List claims) → Future<void>
Called when claims are extracted.
onContextBuilding(SkillContext context) → Future<void>
Called when context building phase starts.
onError(SkillContext context, Object error, StackTrace stackTrace) → Future<void>
Called when an error occurs.
onExecutionStart(SkillContext context) → Future<void>
Called when execution phase starts.
onPersistence(SkillContext context) → Future<void>
Called when persistence phase starts.
onPlanning(SkillContext context, List<String> skillIds) → Future<void>
Called when planning phase starts.
onRouting(SkillContext context) → Future<void>
Called when routing phase starts.
onStepComplete(SkillContext context, String stepId, Map<String, dynamic> output) → Future<void>
Called when a step completes.
onStepFailure(SkillContext context, String stepId, Object error) → Future<void>
Called when a step fails.
onStepStart(SkillContext context, String stepId, Map<String, dynamic> inputs) → Future<void>
Called when a step starts executing.
onValidation(SkillContext context) → Future<void>
Called when validation phase starts.
onWarning(SkillContext context, String message) → Future<void>
Called for non-fatal warnings.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited