

























@@ -24091,6 +24091,28 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
2409124091 description:
2409224092"Controls whether this plugin may read raw conversation content from typed hooks such as `llm_input`, `llm_output`, `before_agent_finalize`, and `agent_end`. Non-bundled plugins must opt in explicitly.",
2409324093 },
24094+ timeoutMs: {
24095+ type: "integer",
24096+ exclusiveMinimum: 0,
24097+ maximum: 600000,
24098+ title: "Plugin Hook Timeout (ms)",
24099+ description:
24100+"Default timeout in milliseconds for this plugin's typed hooks, capped at 600000. Use this to bound slow plugin hooks without changing plugin code; per-hook values in hooks.timeouts take precedence.",
24101+ },
24102+ timeouts: {
24103+ type: "object",
24104+ propertyNames: {
24105+ type: "string",
24106+ },
24107+ additionalProperties: {
24108+ type: "integer",
24109+ exclusiveMinimum: 0,
24110+ maximum: 600000,
24111+ },
24112+ title: "Plugin Hook Timeout Overrides",
24113+ description:
24114+"Per-hook timeout overrides in milliseconds keyed by typed hook name, capped at 600000. Use narrow overrides for known slow hooks such as before_prompt_build or agent_end instead of raising every hook timeout.",
24115+ },
2409424116 },
2409524117 additionalProperties: false,
2409624118 title: "Plugin Hook Policy",
@@ -28867,6 +28889,16 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
2886728889 help: "Controls whether this plugin may mutate prompts through typed hooks. Set false to block `before_prompt_build` and ignore prompt-mutating fields from legacy `before_agent_start`, while preserving legacy `modelOverride` and `providerOverride` behavior.",
2886828890 tags: ["access"],
2886928891 },
28892+"plugins.entries.*.hooks.timeoutMs": {
28893+ label: "Plugin Hook Timeout (ms)",
28894+ help: "Default timeout in milliseconds for this plugin's typed hooks, capped at 600000. Use this to bound slow plugin hooks without changing plugin code; per-hook values in hooks.timeouts take precedence.",
28895+ tags: ["performance"],
28896+ },
28897+"plugins.entries.*.hooks.timeouts": {
28898+ label: "Plugin Hook Timeout Overrides",
28899+ help: "Per-hook timeout overrides in milliseconds keyed by typed hook name, capped at 600000. Use narrow overrides for known slow hooks such as before_prompt_build or agent_end instead of raising every hook timeout.",
28900+ tags: ["performance"],
28901+ },
2887028902"plugins.entries.*.subagent": {
2887128903 label: "Plugin Subagent Policy",
2887228904 help: "Per-plugin subagent runtime controls for model override trust and allowlists. Keep this unset unless a plugin must explicitly steer subagent model selection.",
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。