Class SkillDiscoveredEventArgs
Event arguments for the SkillDiscovered event.
public sealed class SkillDiscoveredEventArgs : EventArgs
- Inheritance
-
SkillDiscoveredEventArgs
- Inherited Members
Examples
Logging skills as they are discovered on disk:
using LMKit.Agents.Skills;
using var watcher = new SkillWatcher(@"./skills");
watcher.SkillDiscovered += (s, e) =>
Console.WriteLine($"Discovered '{e.Skill.Metadata.Name}' at {e.Path}");
watcher.Start();
Properties
- Path
Gets the path to the skill directory.
- Skill
Gets the discovered skill.
- Timestamp
Gets the time when the skill was discovered.