Skip to content

Variable: MemoryLoadScopedOutputSchema ​

ts
const MemoryLoadScopedOutputSchema: ZodObject<{
  lessons: ZodArray<ZodObject<{
     context: ZodOptional<ZodArray<ZodString>>;
     createdAt: ZodISODateTime;
     id: ZodString;
     repos: ZodOptional<ZodArray<ZodString>>;
     role: ZodString;
     text: ZodString;
     type: ZodLiteral<"lesson">;
     updatedAt: ZodOptional<ZodISODateTime>;
  }, $strip>>;
  normalizedPaths: ZodArray<ZodString>;
  notes: ZodArray<ZodObject<{
     context: ZodOptional<ZodArray<ZodString>>;
     createdAt: ZodISODateTime;
     drainedOnThisRead: ZodBoolean;
     id: ZodString;
     lifecycle: ZodDiscriminatedUnion<[ZodObject<{
        mode: ZodLiteral<"persistent">;
      }, $strip>, ZodObject<{
        mode: ZodLiteral<"read-count">;
        remainingReads: ZodNumber;
      }, $strip>, ZodObject<{
        expiresAt: ZodISODateTime;
        mode: ZodLiteral<"hard-expiry">;
      }, $strip>, ZodObject<{
        expiresAt: ZodISODateTime;
        mode: ZodLiteral<"soft-expiry">;
     }, $strip>], "mode">;
     renderedText: ZodString;
     repos: ZodOptional<ZodArray<ZodString>>;
     role: ZodString;
     text: ZodString;
     type: ZodLiteral<"note">;
     updatedAt: ZodOptional<ZodISODateTime>;
  }, $strip>>;
  role: ZodString;
  rules: ZodArray<ZodObject<{
     context: ZodOptional<ZodArray<ZodString>>;
     createdAt: ZodISODateTime;
     id: ZodString;
     repos: ZodOptional<ZodArray<ZodString>>;
     role: ZodString;
     text: ZodString;
     type: ZodLiteral<"rule">;
     updatedAt: ZodOptional<ZodISODateTime>;
  }, $strip>>;
}, $strip>;

Defined in: schemas/memory-tools.schema.ts:127

Output schema for memory_load_scoped.

Released under the MIT License.