LocalSkillSource class
Filesystem-backed SkillSource, unsupported on Web.
- Implemented types
Constructors
- LocalSkillSource(String skillsBasePath)
- Creates an unsupported local source on Web.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skillsBasePath → String
-
Directory containing skill subdirectories.
final
Methods
-
listFrontmatters(
) → Future< Map< String, Frontmatter> > -
Lists all available skill frontmatter keyed by skill name.
override
-
listResources(
String skillName, String resourceDirectory) → Future< List< String> > -
Lists resource paths under
resourceDirectory, relative to the skill.override -
loadFrontmatter(
String skillName) → Future< Frontmatter> -
Loads frontmatter for
skillName.override -
loadInstructions(
String skillName) → Future< String> -
Loads the instruction body from
SKILL.mdforskillName.override -
loadResource(
String skillName, String resourcePath) → Future< List< int> > -
Loads one resource as raw bytes, relative to the skill directory.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited