@danielsimonjr/memoryjs 2.1.0 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -7283,7 +7283,7 @@ declare const UpdateEntitySchema: z.ZodObject<{
7283
7283
  published: "published";
7284
7284
  archived: "archived";
7285
7285
  }>>;
7286
- }, z.core.$strict>;
7286
+ }, z.core.$loose>;
7287
7287
  /**
7288
7288
  * Complete Relation schema with all fields.
7289
7289
  * Used for validating full relation objects including timestamps.
package/dist/index.d.ts CHANGED
@@ -7283,7 +7283,7 @@ declare const UpdateEntitySchema: z.ZodObject<{
7283
7283
  published: "published";
7284
7284
  archived: "archived";
7285
7285
  }>>;
7286
- }, z.core.$strict>;
7286
+ }, z.core.$loose>;
7287
7287
  /**
7288
7288
  * Complete Relation schema with all fields.
7289
7289
  * Used for validating full relation objects including timestamps.
package/dist/index.js CHANGED
@@ -2101,7 +2101,11 @@ var init_schemas = __esm({
2101
2101
  recordedAt: z.string().optional()
2102
2102
  })).optional(),
2103
2103
  lifecycleStatus: z.enum(["draft", "published", "archived"]).optional()
2104
- }).strict();
2104
+ // v2.1.1: subclass managers (DecisionManager, HeuristicManager, ProjectContextManager,
2105
+ // ToolAffordanceManager, ExclusionManager, ObservationDedupManager) attach domain-specific
2106
+ // record fields (decisionRecord, projectContext, heuristic, etc.) and a lastModified
2107
+ // timestamp via updateEntity(). .passthrough() admits those without per-field enumeration.
2108
+ }).passthrough();
2105
2109
  RelationSchema = z.object({
2106
2110
  from: entityNameSchema,
2107
2111
  to: entityNameSchema,