@signetai/signet-memory-openclaw 0.82.7 → 0.84.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -8
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -25,9 +25,9 @@ import { fileURLToPath } from "url";
25
25
  import { homedir as homedir2 } from "os";
26
26
  import { join as join2 } from "path";
27
27
  import { createRequire as createRequire2 } from "node:module";
28
- import { existsSync as existsSync4, readFileSync as readFileSync3, statSync as statSync2 } from "node:fs";
29
- import { join as join5 } from "node:path";
30
- import { homedir as homedir4 } from "node:os";
28
+ import { existsSync as existsSync5, readFileSync as readFileSync4, statSync as statSync2 } from "node:fs";
29
+ import { join as join6 } from "node:path";
30
+ import { homedir as homedir5 } from "node:os";
31
31
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
32
32
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
33
33
  var require_identity = __commonJS((exports) => {
@@ -9070,15 +9070,15 @@ var STATIC_BUDGETS = [
9070
9070
  { file: "MEMORY.md", header: "Working Memory", budget: 1e4 }
9071
9071
  ];
9072
9072
  function readStaticIdentity(agentsDir) {
9073
- if (!existsSync4(agentsDir))
9073
+ if (!existsSync5(agentsDir))
9074
9074
  return null;
9075
9075
  const parts = [];
9076
9076
  for (const { file, header, budget } of STATIC_BUDGETS) {
9077
- const path = join5(agentsDir, file);
9078
- if (!existsSync4(path))
9077
+ const path = join6(agentsDir, file);
9078
+ if (!existsSync5(path))
9079
9079
  continue;
9080
9080
  try {
9081
- const raw = readFileSync3(path, "utf-8").trim();
9081
+ const raw = readFileSync4(path, "utf-8").trim();
9082
9082
  if (!raw)
9083
9083
  continue;
9084
9084
  const content = raw.length <= budget ? raw : `${raw.slice(0, budget)}
@@ -9097,7 +9097,7 @@ ${parts.join(`
9097
9097
  `)}`;
9098
9098
  }
9099
9099
  var AGENT_SPECIFIC = new Set(["SOUL.md", "IDENTITY.md"]);
9100
- var home = homedir4();
9100
+ var home = homedir5();
9101
9101
  var SKIP_SUBTYPES = new Set([
9102
9102
  "channel_join",
9103
9103
  "channel_leave",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/signet-memory-openclaw",
3
- "version": "0.82.7",
3
+ "version": "0.84.0",
4
4
  "description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "@sinclair/typebox": "0.34.47"
37
37
  },
38
38
  "devDependencies": {
39
- "@signet/core": "0.82.7",
39
+ "@signet/core": "0.84.0",
40
40
  "@types/node": "^22.0.0"
41
41
  },
42
42
  "peerDependencies": {