@agentmemory/agentmemory 0.7.4 → 0.7.5

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.
@@ -3739,7 +3739,7 @@ function registerAutoForgetFunction(sdk, kv) {
3739
3739
 
3740
3740
  //#endregion
3741
3741
  //#region src/version.ts
3742
- const VERSION = "0.7.4";
3742
+ const VERSION = "0.7.5";
3743
3743
 
3744
3744
  //#endregion
3745
3745
  //#region src/functions/export-import.ts
@@ -3840,7 +3840,8 @@ function registerExportImportFunction(sdk, kv) {
3840
3840
  "0.7.0",
3841
3841
  "0.7.2",
3842
3842
  "0.7.3",
3843
- "0.7.4"
3843
+ "0.7.4",
3844
+ "0.7.5"
3844
3845
  ]).has(importData.version)) return {
3845
3846
  success: false,
3846
3847
  error: `Unsupported export version: ${importData.version}`
@@ -13894,6 +13895,10 @@ function startViewerServer(port, _kv, _sdk, secret, restPort) {
13894
13895
  json(res, 502, { error: "upstream error" }, req);
13895
13896
  }
13896
13897
  });
13898
+ server.on("error", (err) => {
13899
+ if (err.code === "EADDRINUSE") console.warn(`[agentmemory] Viewer port ${port} already in use, skipping viewer.`);
13900
+ else console.error(`[agentmemory] Viewer error:`, err.message);
13901
+ });
13897
13902
  server.listen(port, "127.0.0.1", () => {
13898
13903
  console.log(`[agentmemory] Viewer: http://localhost:${port}`);
13899
13904
  });
@@ -14251,4 +14256,4 @@ main().catch((err) => {
14251
14256
 
14252
14257
  //#endregion
14253
14258
  export { };
14254
- //# sourceMappingURL=src-DP8JSXkx.mjs.map
14259
+ //# sourceMappingURL=src-Dflj3k63.mjs.map