@signetai/signet-memory-openclaw 0.219.6 → 0.220.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 +16 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -40,9 +40,9 @@ import { homedir as homedir5 } from "node:os";
40
40
  import { dirname as dirname4, join as join8, resolve as resolve3 } from "node:path";
41
41
  import { homedir as homedir6, platform as platform2 } from "node:os";
42
42
  import { basename, dirname as dirname5, resolve as resolve5 } from "node:path";
43
- import { existsSync as existsSync13, readFileSync as readFileSync11, readdirSync as readdirSync5, realpathSync, statSync as statSync7 } from "node:fs";
44
- import { dirname as dirname8, join as join13 } from "node:path";
45
- import { homedir as homedir10 } from "node:os";
43
+ import { existsSync as existsSync11, readFileSync as readFileSync9, realpathSync, statSync as statSync7 } from "node:fs";
44
+ import { dirname as dirname6, join as join11 } from "node:path";
45
+ import { homedir as homedir8 } from "node:os";
46
46
  var __create = Object.create;
47
47
  var __getProtoOf = Object.getPrototypeOf;
48
48
  var __defProp2 = Object.defineProperty;
@@ -18395,11 +18395,11 @@ function resolveIdentityModeFromConfig(config) {
18395
18395
  return "managed";
18396
18396
  }
18397
18397
  function loadIdentityMode(agentsDir) {
18398
- const agentYaml = join13(agentsDir, "agent.yaml");
18399
- if (!existsSync13(agentYaml))
18398
+ const agentYaml = join11(agentsDir, "agent.yaml");
18399
+ if (!existsSync11(agentYaml))
18400
18400
  return "managed";
18401
18401
  try {
18402
- return resolveIdentityModeFromConfig(parseSimpleYaml(readFileSync11(agentYaml, "utf-8")));
18402
+ return resolveIdentityModeFromConfig(parseSimpleYaml(readFileSync9(agentYaml, "utf-8")));
18403
18403
  } catch {
18404
18404
  return "managed";
18405
18405
  }
@@ -18432,11 +18432,11 @@ function identityHeaderFor(path, role) {
18432
18432
  return STATIC_HEADER_BY_FILE[filename] ?? role ?? filename.replace(/\.md$/i, "");
18433
18433
  }
18434
18434
  function resolveStartupIdentityFiles(agentsDir) {
18435
- const agentYaml = join13(agentsDir, "agent.yaml");
18436
- if (!existsSync13(agentYaml))
18435
+ const agentYaml = join11(agentsDir, "agent.yaml");
18436
+ if (!existsSync11(agentYaml))
18437
18437
  return STATIC_BUDGETS.map(({ file, budget }) => ({ path: file, budget }));
18438
18438
  try {
18439
- const config = parseSimpleYaml(readFileSync11(agentYaml, "utf-8"));
18439
+ const config = parseSimpleYaml(readFileSync9(agentYaml, "utf-8"));
18440
18440
  if (!identityModeReadsFiles(resolveIdentityModeFromConfig(config)))
18441
18441
  return [];
18442
18442
  const identity = readRecord(config.identity);
@@ -18464,17 +18464,17 @@ function resolveSessionStartTimeoutMs(raw) {
18464
18464
  return ms;
18465
18465
  }
18466
18466
  function readStaticIdentity(agentsDir, status = STATIC_IDENTITY_OFFLINE_STATUS) {
18467
- if (!existsSync13(agentsDir))
18467
+ if (!existsSync11(agentsDir))
18468
18468
  return null;
18469
18469
  if (!identityModeReadsFiles(loadIdentityMode(agentsDir)))
18470
18470
  return null;
18471
18471
  const parts = [];
18472
18472
  for (const entry of resolveStartupIdentityFiles(agentsDir)) {
18473
- const path = join13(agentsDir, entry.path);
18474
- if (!existsSync13(path))
18473
+ const path = join11(agentsDir, entry.path);
18474
+ if (!existsSync11(path))
18475
18475
  continue;
18476
18476
  try {
18477
- const raw = readFileSync11(path, "utf-8").trim();
18477
+ const raw = readFileSync9(path, "utf-8").trim();
18478
18478
  if (!raw)
18479
18479
  continue;
18480
18480
  const budget = entry.budget ?? STATIC_BUDGETS.find((candidate) => candidate.file === entry.path)?.budget ?? 4000;
@@ -18493,7 +18493,7 @@ ${parts.join(`
18493
18493
 
18494
18494
  `)}`;
18495
18495
  }
18496
- var home = homedir10();
18496
+ var home = homedir8();
18497
18497
 
18498
18498
  // ../../../libs/sdk/dist/index.js
18499
18499
  import { createRequire as createRequire23 } from "node:module";
@@ -18515,7 +18515,7 @@ import { homedir as homedir52 } from "node:os";
18515
18515
  import { dirname as dirname42, join as join82, resolve as resolve32 } from "node:path";
18516
18516
  import { homedir as homedir62, platform as platform22 } from "node:os";
18517
18517
  import { basename as basename2, dirname as dirname52, resolve as resolve52 } from "node:path";
18518
- import { homedir as homedir102 } from "node:os";
18518
+ import { homedir as homedir82 } from "node:os";
18519
18519
  var __create2 = Object.create;
18520
18520
  var __getProtoOf2 = Object.getPrototypeOf;
18521
18521
  var __defProp3 = Object.defineProperty;
@@ -36494,7 +36494,7 @@ var IDENTITY_FILES2 = {
36494
36494
  };
36495
36495
  var REQUIRED_IDENTITY_KEYS2 = Object.entries(IDENTITY_FILES2).filter(([, spec]) => !spec.optional).map(([key]) => key);
36496
36496
  var OPTIONAL_IDENTITY_KEYS2 = Object.entries(IDENTITY_FILES2).filter(([, spec]) => spec.optional).map(([key]) => key);
36497
- var home2 = homedir102();
36497
+ var home2 = homedir82();
36498
36498
  function isRecord2(value) {
36499
36499
  return typeof value === "object" && value !== null && !Array.isArray(value);
36500
36500
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/signet-memory-openclaw",
3
- "version": "0.219.6",
3
+ "version": "0.220.0",
4
4
  "description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",