SkillRuntime class
Main runtime for executing skills.
Execution Pipeline (7 steps):
- Route: Select skill(s) to execute
- Build Context: Get FactGraph context if available
- Plan: Determine execution strategy
- Execute: Run procedures
- Validate: Check results against validators
- Persist: Write to FactGraph if available
- Return: Aggregate and return
Constructors
-
SkillRuntime({required SkillBundleRegistry registry, required SkillPorts ports, SkillRouter? router, List<
RuntimeHook> ? hooks})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hooks
→ List<
RuntimeHook> ? -
Hooks for observability (optional).
final
- ports → SkillPorts
-
Ports for external system access.
final
- registry → SkillBundleRegistry
-
Skill registry for looking up skills.
final
- router → SkillRouter?
-
Router for skill selection (optional).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
SkillContext context) → Future< SkillResult> - Execute a skill based on context.
-
runProcedure(
String skillId, String procedureId, SkillContext context) → Future< SkillResult> - Execute a specific procedure directly.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited