feat(skills): enable watcher wiring through daemon lifecycle

This commit is contained in:
William Valentin
2026-02-12 17:18:22 -08:00
parent 95091cc198
commit b773e2bbf3
6 changed files with 171 additions and 9 deletions
+9
View File
@@ -101,6 +101,13 @@ const hooksSchema = z.object({
silent: z.array(z.string()).default([]),
}).default({});
const skillsLoadSchema = z.object({
/** Enable filesystem watcher for automatic skill reload detection. */
watch: z.boolean().default(false),
/** Debounce window for batched watcher events. */
watch_debounce_ms: z.number().min(10).max(10_000).default(250),
}).default({});
const skillsSchema = z.object({
/** Directory for user-created workspace skills. */
workspace_dir: z.string().optional(),
@@ -108,6 +115,8 @@ const skillsSchema = z.object({
managed_dir: z.string().optional(),
/** Directory for bundled skills shipped with Flynn. */
bundled_dir: z.string().optional(),
/** Skills watcher settings. */
load: skillsLoadSchema,
}).default({});
const mcpServerSchema = z.object({