Skip to content

Variable: ContextRulesServiceSubjects

Makaio Framework


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

const ContextRulesServiceSubjects: BusSubjects<FlatSubjectDefinitions<"contextRules", { changed: ZodObject<{ changeType: ZodEnum<{ created: "created"; deleted: "deleted"; updated: "updated"; }>; current: ZodNullable<ZodObject<{ projectId: ZodNullable<ZodString>; scope: ZodEnum<{ global: "global"; project: "project"; session: "session"; }>; sessionId: ZodNullable<ZodString>; }, $strict>>; previous: ZodNullable<ZodObject<{ projectId: ZodNullable<ZodString>; scope: ZodEnum<{ global: "global"; project: "project"; session: "session"; }>; sessionId: ZodNullable<ZodString>; }, $strict>>; ruleId: ZodString; timestamp: ZodNumber; }, $strict>; resolve: { request: ZodObject<{ adapterId: ZodOptional<ZodString>; agentId: ZodOptional<ZodString>; cwd: ZodOptional<ZodString>; sessionId: ZodOptional<ZodString>; }, $strict>; response: ZodObject<{ files: ZodObject<{[key: string]: ZodOptional<ZodArray<ZodObject<…, …>>>; }, $strict>; snapshot: ZodObject<{ adapterId: ZodOptional<ZodString>; agentId: ZodOptional<ZodString>; cwd: ZodOptional<ZodString>; sessionId: ZodOptional<ZodString>; }, $catchall<ZodUnknown>>; turnContext: ZodRecord<ZodString, ZodArray<ZodObject<{ action: ZodType<…, …, …>; id: ZodString; name: ZodString; priority: ZodNumber; renderedContent: ZodString; }, $strict>>>; }, $strict>; }; }>, "contextRules"> = ContextRulesServiceNamespace.subjects

Defined in: ../../../packages/services/core/src/context-rules/service-namespace.ts:32

Typed subjects for the context-rules service namespace.