holomime 2.2.0 → 2.3.0

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/cli.js CHANGED
@@ -9077,6 +9077,40 @@ var memorySchema = z4.object({
9077
9077
  interaction_count: z4.number().int().default(0)
9078
9078
  })).default([])
9079
9079
  });
9080
+ var MemoryLevel = /* @__PURE__ */ ((MemoryLevel2) => {
9081
+ MemoryLevel2[MemoryLevel2["ABSTRACT"] = 0] = "ABSTRACT";
9082
+ MemoryLevel2[MemoryLevel2["OVERVIEW"] = 1] = "OVERVIEW";
9083
+ MemoryLevel2[MemoryLevel2["DETAIL"] = 2] = "DETAIL";
9084
+ return MemoryLevel2;
9085
+ })(MemoryLevel || {});
9086
+ var memoryNodeSchema = z4.object({
9087
+ id: z4.string(),
9088
+ category: z4.enum(["triggers", "corrections", "patterns", "trajectories"]),
9089
+ level: z4.nativeEnum(MemoryLevel).default(2 /* DETAIL */),
9090
+ abstract: z4.string(),
9091
+ // L0 text (always present)
9092
+ overview: z4.string().optional(),
9093
+ // L1 text
9094
+ fullData: z4.record(z4.unknown()).optional(),
9095
+ // L2 data
9096
+ confidence: z4.number().min(0).max(1).default(0.5),
9097
+ createdAt: z4.string().optional(),
9098
+ updatedAt: z4.string().optional()
9099
+ });
9100
+ var memoryOperationSchema = z4.object({
9101
+ type: z4.enum(["write", "edit", "delete"]),
9102
+ memoryId: z4.string().optional(),
9103
+ memoryType: z4.string(),
9104
+ data: z4.record(z4.unknown()).optional(),
9105
+ reason: z4.string()
9106
+ });
9107
+ var retrievalStepSchema = z4.object({
9108
+ step: z4.number(),
9109
+ action: z4.enum(["search", "rerank", "drill_down"]),
9110
+ candidateCount: z4.number(),
9111
+ selectedCount: z4.number(),
9112
+ elapsedMs: z4.number()
9113
+ });
9080
9114
  var STACK_FILES = {
9081
9115
  soul: "soul.md",
9082
9116
  mind: "mind.sys",