@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.
package/dist/cli.mjs CHANGED
@@ -2,7 +2,7 @@
2
2
  import { i as generateId } from "./schema-Dsr_V2Wp.mjs";
3
3
  import { n as resolveAdapter, r as runAdapter } from "./connect-bmZ5eqYN.mjs";
4
4
  import { r as setBootVerbose } from "./logger-yHTcEBAI.mjs";
5
- import { t as VERSION } from "./version-C3hZKw8n.mjs";
5
+ import { t as VERSION } from "./version-BMFYFFut.mjs";
6
6
  import { execFileSync, spawn, spawnSync } from "node:child_process";
7
7
  import { closeSync, constants, existsSync, fsyncSync, mkdirSync, openSync, readFileSync, readdirSync, readlinkSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
8
8
  import { delimiter, dirname, join } from "node:path";
@@ -1175,8 +1175,8 @@ async function maybeOfferGlobalInstall() {
1175
1175
  if (runCommand(npmBin, [
1176
1176
  "install",
1177
1177
  "-g",
1178
- `@agentmemory/agentmemory@0.9.25`
1179
- ], { label: `Installing @agentmemory/agentmemory@0.9.25 globally` })) {
1178
+ `@agentmemory/agentmemory@0.9.26`
1179
+ ], { label: `Installing @agentmemory/agentmemory@0.9.26 globally` })) {
1180
1180
  p.log.success("Installed globally. `agentmemory stop` etc. will now work in new shells.");
1181
1181
  writePrefs({ skipGlobalInstall: true });
1182
1182
  } else p.log.warn("Global install failed. Try manually: npm install -g @agentmemory/agentmemory");
@@ -1548,7 +1548,7 @@ async function main() {
1548
1548
  if (firstRun || IS_RESET) await runOnboarding();
1549
1549
  if (skipEngine) {
1550
1550
  if (IS_VERBOSE) p.log.info("Skipping engine check (--no-engine)");
1551
- await import("./src-fQOMXeCp.mjs");
1551
+ await import("./src-u7kAEUC0.mjs");
1552
1552
  if (await waitForAgentmemoryReady(15e3)) {
1553
1553
  const consoleState = await ensureIiiConsole();
1554
1554
  await maybeOfferGlobalInstall();
@@ -1568,7 +1568,7 @@ async function main() {
1568
1568
  }
1569
1569
  }
1570
1570
  adoptRunningEngine();
1571
- await import("./src-fQOMXeCp.mjs");
1571
+ await import("./src-u7kAEUC0.mjs");
1572
1572
  if (await waitForAgentmemoryReady(15e3)) {
1573
1573
  const consoleState = await ensureIiiConsole();
1574
1574
  await maybeOfferGlobalInstall();
@@ -1617,7 +1617,7 @@ async function main() {
1617
1617
  process.exit(1);
1618
1618
  }
1619
1619
  s.stop("iii-engine is ready");
1620
- await import("./src-fQOMXeCp.mjs");
1620
+ await import("./src-u7kAEUC0.mjs");
1621
1621
  if (await waitForAgentmemoryReady(15e3)) {
1622
1622
  const consoleState = await ensureIiiConsole();
1623
1623
  await maybeOfferGlobalInstall();
@@ -2550,7 +2550,7 @@ async function runStop() {
2550
2550
  p.outro("Stopped. Memories persisted to disk; restart anytime with: npx @agentmemory/agentmemory");
2551
2551
  }
2552
2552
  async function runMcp() {
2553
- await import("./standalone-BzfA1zu8.mjs");
2553
+ await import("./standalone-C1yPO519.mjs");
2554
2554
  }
2555
2555
  async function runConnectCmd() {
2556
2556
  const { runConnect } = await import("./connect-bmZ5eqYN.mjs").then((n) => n.t);
package/dist/index.mjs CHANGED
@@ -2988,7 +2988,7 @@ var IndexPersistence = class {
2988
2988
  async loadShardedData(legacyKey, manifestKey, label) {
2989
2989
  const manifest = await this.readIndexValue(KV.bm25Index, manifestKey, label, "manifest");
2990
2990
  if (!manifest.ok) return null;
2991
- if (manifest.value !== null) return this.loadManifestData(manifest.value, label);
2991
+ if (manifest.value != null && typeof manifest.value === "object") return this.loadManifestData(manifest.value, label);
2992
2992
  const legacy = await this.readIndexValue(KV.bm25Index, legacyKey, label, "legacy");
2993
2993
  if (!legacy.ok) return null;
2994
2994
  if (legacy.value && typeof legacy.value === "string") return legacy.value;
@@ -6688,7 +6688,7 @@ async function findByKeyword(kv, keyword, project) {
6688
6688
  }
6689
6689
  //#endregion
6690
6690
  //#region src/version.ts
6691
- const VERSION = "0.9.25";
6691
+ const VERSION = "0.9.26";
6692
6692
  //#endregion
6693
6693
  //#region src/telemetry/setup.ts
6694
6694
  const OTEL_CONFIG = {
@@ -7313,7 +7313,8 @@ function registerExportImportFunction(sdk, kv) {
7313
7313
  "0.9.22",
7314
7314
  "0.9.23",
7315
7315
  "0.9.24",
7316
- "0.9.25"
7316
+ "0.9.25",
7317
+ "0.9.26"
7317
7318
  ]).has(importData.version)) return {
7318
7319
  success: false,
7319
7320
  error: `Unsupported export version: ${importData.version}`