mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
fix(config): register bundledMode in zod schema and help text
Addresses review feedback: adds bundledMode to the strict plugins zod object so the config option passes validation, and adds schema.help documentation for the field.
This commit is contained in:
committed by
Peter Steinberger
parent
eef623671e
commit
81035e651b
@@ -1212,6 +1212,8 @@ export const FIELD_HELP: Record<string, string> = {
|
||||
'Select the active memory plugin by id, or "none" to disable memory plugins.',
|
||||
"plugins.slots.contextEngine":
|
||||
"Selects the active context engine plugin by id so one plugin provides context orchestration behavior.",
|
||||
"plugins.bundledMode":
|
||||
'Controls whether bundled plugins bypass plugins.allow on runtime discovery paths. "compat" (default) preserves legacy behavior where bundled provider plugins are force-loaded on every chat turn. "respect-allow" gates bundled plugins by the allowlist the same way third-party plugins are gated.',
|
||||
"plugins.entries":
|
||||
"Per-plugin settings keyed by plugin ID including enablement and plugin-specific runtime configuration payloads. Use this for scoped plugin tuning without changing global loader policy.",
|
||||
"plugins.entries.*.enabled":
|
||||
|
||||
@@ -1073,6 +1073,7 @@ export const OpenClawSchema = z
|
||||
.strict()
|
||||
.optional(),
|
||||
entries: z.record(z.string(), PluginEntrySchema).optional(),
|
||||
bundledMode: z.enum(["compat", "respect-allow"]).optional(),
|
||||
})
|
||||
.strict()
|
||||
.optional(),
|
||||
|
||||
Reference in New Issue
Block a user