Expand description
Filesystem watcher for skill hot-reload.
Monitors a skills directory for file changes and triggers a full
SkillService::refresh() only from retained filesystem events.
Structs§
- Skill
File Watcher - Watches a skills directory and owns the event-processing task that refreshes
its skill service. The task belongs to
scope; dropping a caller only asks it to stop, whileSelf::closeretains and awaits its acknowledgement.
Functions§
- start_
skill_ watcher - Start watching the given skills directory with compatibility standalone
ownership. Trusted hosts should call
SkillFileWatcher::new_in_scope.