Skip to content

Variable: ResolvedContextRulesSchema

Makaio Framework


Makaio Framework / services-core/context-rules / ResolvedContextRulesSchema

const ResolvedContextRulesSchema: ZodObject<{ files: ZodObject<{[key: string]: ZodOptional<ZodArray<ZodObject<{ action: ZodType<ContextRuleAction, ContextRuleAction, $ZodTypeInternals<ContextRuleAction, ContextRuleAction>>; id: ZodString; name: ZodString; priority: ZodNumber; renderedContent: ZodString; }, $strict>>>; }, $strict>; snapshot: ZodObject<{ adapterId: ZodOptional<ZodString>; agentId: ZodOptional<ZodString>; cwd: ZodOptional<ZodString>; sessionId: ZodOptional<ZodString>; }, $catchall<ZodUnknown>>; turnContext: ZodRecord<ZodString, ZodArray<ZodObject<{ action: ZodType<ContextRuleAction, ContextRuleAction, $ZodTypeInternals<ContextRuleAction, ContextRuleAction>>; id: ZodString; name: ZodString; priority: ZodNumber; renderedContent: ZodString; }, $strict>>>; }, $strict>

Defined in: ../../../packages/services/core/src/context-rules/schemas.ts:218

Service response schema for grouped resolved rules.