SkillRegistry class

Registry of available skills, supporting lookup by name or alias.

Constructors

SkillRegistry()

Properties

commands → List<SkillCommand>
All registered commands.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clear() → void
Clear all registered commands.
findCommand(String name) → SkillCommand?
Find a command by name, checking aliases and case-insensitive match.
getSkillInfo() → SkillInfo
Get skill info for analytics / system prompt.
isBuiltIn(String name) → bool
Whether the given name is a built-in command.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register(SkillCommand command) → void
Register a skill command.
toString() → String
A string representation of this object.
inherited

Operators

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