@joshuaswarren/openclaw-engram 8.3.70 → 8.3.71

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.js CHANGED
@@ -144,6 +144,13 @@ function parseConfig(raw) {
144
144
  qmdColdTierEnabled: cfg.qmdColdTierEnabled === true,
145
145
  qmdColdCollection: typeof cfg.qmdColdCollection === "string" && cfg.qmdColdCollection.length > 0 ? cfg.qmdColdCollection : "openclaw-engram-cold",
146
146
  qmdColdMaxResults: typeof cfg.qmdColdMaxResults === "number" ? cfg.qmdColdMaxResults : 8,
147
+ qmdTierMigrationEnabled: cfg.qmdTierMigrationEnabled === true,
148
+ qmdTierDemotionMinAgeDays: typeof cfg.qmdTierDemotionMinAgeDays === "number" ? Math.max(0, Math.floor(cfg.qmdTierDemotionMinAgeDays)) : 14,
149
+ qmdTierDemotionValueThreshold: typeof cfg.qmdTierDemotionValueThreshold === "number" ? Math.max(0, Math.min(1, cfg.qmdTierDemotionValueThreshold)) : 0.35,
150
+ qmdTierPromotionValueThreshold: typeof cfg.qmdTierPromotionValueThreshold === "number" ? Math.max(0, Math.min(1, cfg.qmdTierPromotionValueThreshold)) : 0.7,
151
+ qmdTierParityGraphEnabled: cfg.qmdTierParityGraphEnabled !== false,
152
+ qmdTierParityHiMemEnabled: cfg.qmdTierParityHiMemEnabled !== false,
153
+ qmdTierAutoBackfillEnabled: cfg.qmdTierAutoBackfillEnabled === true,
147
154
  embeddingFallbackEnabled: cfg.embeddingFallbackEnabled !== false,
148
155
  embeddingFallbackProvider: cfg.embeddingFallbackProvider === "openai" ? "openai" : cfg.embeddingFallbackProvider === "local" ? "local" : "auto",
149
156
  qmdPath: typeof cfg.qmdPath === "string" && cfg.qmdPath.length > 0 ? cfg.qmdPath : void 0,