feat(skills): enable watcher wiring through daemon lifecycle
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user