feat(config): add plugin_load_timeout_ms and safe_hook_creation experimental flags

This commit is contained in:
YeonGyu-Kim
2026-02-07 13:32:51 +09:00
parent f9742ddfca
commit 1ae7d7d67e
2 changed files with 61 additions and 0 deletions
+4
View File
@@ -268,6 +268,10 @@ export const ExperimentalConfigSchema = z.object({
dynamic_context_pruning: DynamicContextPruningConfigSchema.optional(),
/** Enable experimental task system for Todowrite disabler hook */
task_system: z.boolean().optional(),
/** Timeout in ms for loadAllPluginComponents during config handler init (default: 10000, min: 1000) */
plugin_load_timeout_ms: z.number().min(1000).optional(),
/** Wrap hook creation in try/catch to prevent one failing hook from crashing the plugin (default: true at call site) */
safe_hook_creation: z.boolean().optional(),
})
export const SkillSourceSchema = z.union([