Class SkillReloadedEventArgs
Event arguments for the SkillReloaded event.
public sealed class SkillReloadedEventArgs : EventArgs
- Inheritance
-
SkillReloadedEventArgs
- Inherited Members
Examples
Hot-reload notifications during local skill development:
using LMKit.Agents.Skills;
using var watcher = new SkillWatcher(@"./skills");
watcher.SkillReloaded += (s, e) =>
Console.WriteLine($"[{e.Reason}] reloaded '{e.Skill.Metadata.Name}' from {e.Path}");
watcher.Start();
Properties
- Path
Gets the path to the skill directory.
- Reason
Gets the reason for the reload.
- Skill
Gets the reloaded skill.
- Timestamp
Gets the time when the reload occurred.