@signetai/signet-memory-openclaw 0.103.3 → 0.104.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.
- package/dist/index.js +6 -6
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -25,8 +25,8 @@ import { createRequire as createRequire2 } from "node:module";
|
|
|
25
25
|
import { join, dirname } from "path";
|
|
26
26
|
import { fileURLToPath } from "url";
|
|
27
27
|
import { createRequire as createRequire22 } from "node:module";
|
|
28
|
-
import { existsSync as
|
|
29
|
-
import { dirname as
|
|
28
|
+
import { existsSync as existsSync8, readFileSync as readFileSync6, readdirSync as readdirSync4, realpathSync, statSync as statSync3 } from "node:fs";
|
|
29
|
+
import { dirname as dirname5, join as join9 } from "node:path";
|
|
30
30
|
import { homedir as homedir6 } from "node:os";
|
|
31
31
|
var __create = Object.create;
|
|
32
32
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -9853,15 +9853,15 @@ function resolveSessionStartTimeoutMs(raw) {
|
|
|
9853
9853
|
return ms;
|
|
9854
9854
|
}
|
|
9855
9855
|
function readStaticIdentity(agentsDir, status = STATIC_IDENTITY_OFFLINE_STATUS) {
|
|
9856
|
-
if (!
|
|
9856
|
+
if (!existsSync8(agentsDir))
|
|
9857
9857
|
return null;
|
|
9858
9858
|
const parts = [];
|
|
9859
9859
|
for (const { file, header, budget } of STATIC_BUDGETS) {
|
|
9860
|
-
const path =
|
|
9861
|
-
if (!
|
|
9860
|
+
const path = join9(agentsDir, file);
|
|
9861
|
+
if (!existsSync8(path))
|
|
9862
9862
|
continue;
|
|
9863
9863
|
try {
|
|
9864
|
-
const raw =
|
|
9864
|
+
const raw = readFileSync6(path, "utf-8").trim();
|
|
9865
9865
|
if (!raw)
|
|
9866
9866
|
continue;
|
|
9867
9867
|
const content = raw.length <= budget ? raw : `${raw.slice(0, budget)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/signet-memory-openclaw",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.104.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.
|
|
39
|
+
"@signet/core": "0.104.0",
|
|
40
40
|
"@types/node": "^22.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|