@signetai/signet-memory-openclaw 0.155.2 → 0.156.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 +6 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -11039,7 +11039,7 @@ function defaultDiscordDesktopCachePath() {
11039
11039
  return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir4(), ".config"), "discord");
11040
11040
  }
11041
11041
  }
11042
- var IDENTITY_MODES = ["managed", "passthrough", "off"];
11042
+ var IDENTITY_MODES = ["managed", "off"];
11043
11043
  var IDENTITY_FILES = {
11044
11044
  agents: {
11045
11045
  path: "AGENTS.md",
@@ -11162,14 +11162,17 @@ function readRecord(value) {
11162
11162
  function isIdentityMode(value) {
11163
11163
  return typeof value === "string" && IDENTITY_MODES.includes(value);
11164
11164
  }
11165
+ function isResolvedIdentityMode(value) {
11166
+ return isIdentityMode(value) || value === "passthrough";
11167
+ }
11165
11168
  function resolveIdentityModeFromConfig(config) {
11166
11169
  const root = readRecord(config);
11167
11170
  const capabilities = readRecord(root.capabilities);
11168
11171
  const capabilityIdentity = readRecord(capabilities.identity);
11169
- if (isIdentityMode(capabilityIdentity.mode))
11172
+ if (isResolvedIdentityMode(capabilityIdentity.mode))
11170
11173
  return capabilityIdentity.mode;
11171
11174
  const identity = readRecord(root.identity);
11172
- if (isIdentityMode(identity.mode))
11175
+ if (isResolvedIdentityMode(identity.mode))
11173
11176
  return identity.mode;
11174
11177
  if (identity.enabled === false)
11175
11178
  return "off";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/signet-memory-openclaw",
3
- "version": "0.155.2",
3
+ "version": "0.156.0",
4
4
  "description": "Signet adapter for OpenClaw — runtime plugin for AI agent memory",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",