@agentmemory/agentmemory 0.9.25 → 0.9.26

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.
@@ -1,6 +1,6 @@
1
1
  import { a as jaccardSimilarity, i as generateId, n as STREAM, r as fingerprintId, t as KV } from "./schema-Dsr_V2Wp.mjs";
2
2
  import { n as logger, t as bootLog } from "./logger-yHTcEBAI.mjs";
3
- import { t as VERSION } from "./version-C3hZKw8n.mjs";
3
+ import { t as VERSION } from "./version-BMFYFFut.mjs";
4
4
  import { a as isManagedImagePath, n as deleteImage, r as getMaxBytes, t as IMAGES_DIR } from "./image-store-Gpo2mgM9.mjs";
5
5
  import { r as withKeyedLock, t as getImageRefCount } from "./image-refs-C7h9L5wx.mjs";
6
6
  import { _ as loadConfig, a as getAgentId, b as loadSnapshotConfig, c as getFollowupWindowSeconds, d as isAutoCompressEnabled, f as isConsolidationEnabled, g as loadClaudeBridgeConfig, h as isGraphExtractionEnabled, i as detectLlmProviderKind, m as isDropStaleIndexEnabled, n as getVisibleTools, o as getConsolidationDecayDays, p as isContextInjectionEnabled, r as detectEmbeddingProvider, s as getEnvVar, t as getAllTools, u as isAgentScopeIsolated, v as loadEmbeddingConfig, x as loadTeamConfig, y as loadFallbackConfig } from "./tools-registry-Dzxv9iUu.mjs";
@@ -2627,7 +2627,7 @@ var IndexPersistence = class {
2627
2627
  async loadShardedData(legacyKey, manifestKey, label) {
2628
2628
  const manifest = await this.readIndexValue(KV.bm25Index, manifestKey, label, "manifest");
2629
2629
  if (!manifest.ok) return null;
2630
- if (manifest.value !== null) return this.loadManifestData(manifest.value, label);
2630
+ if (manifest.value != null && typeof manifest.value === "object") return this.loadManifestData(manifest.value, label);
2631
2631
  const legacy = await this.readIndexValue(KV.bm25Index, legacyKey, label, "legacy");
2632
2632
  if (!legacy.ok) return null;
2633
2633
  if (legacy.value && typeof legacy.value === "string") return legacy.value;
@@ -6828,7 +6828,8 @@ function registerExportImportFunction(sdk, kv) {
6828
6828
  "0.9.22",
6829
6829
  "0.9.23",
6830
6830
  "0.9.24",
6831
- "0.9.25"
6831
+ "0.9.25",
6832
+ "0.9.26"
6832
6833
  ]).has(importData.version)) return {
6833
6834
  success: false,
6834
6835
  error: `Unsupported export version: ${importData.version}`
@@ -20232,4 +20233,4 @@ main().catch((err) => {
20232
20233
  //#endregion
20233
20234
  export {};
20234
20235
 
20235
- //# sourceMappingURL=src-fQOMXeCp.mjs.map
20236
+ //# sourceMappingURL=src-u7kAEUC0.mjs.map