diff --git a/packages/config-yaml/src/schemas/index.ts b/packages/config-yaml/src/schemas/index.ts index fdfdcc170..e941ec025 100644 --- a/packages/config-yaml/src/schemas/index.ts +++ b/packages/config-yaml/src/schemas/index.ts @@ -92,7 +92,7 @@ export const assistantUnrolledSchema = baseConfigYamlSchema.extend({ context: z.array(contextSchema.nullable()).optional(), data: z.array(dataSchema.nullable()).optional(), mcpServers: z.array(mcpServerSchema.nullable()).optional(), - rules: z.array(z.string().nullable()).optional(), + rules: z.array(ruleSchema.nullable()).optional(), prompts: z.array(promptSchema.nullable()).optional(), docs: z.array(docSchema.nullable()).optional(), });