@signetai/signet-memory-openclaw 0.200.2 → 0.200.4
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 +15 -15
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -26,13 +26,13 @@ import { dirname, join } from "node:path";
|
|
|
26
26
|
import { fileURLToPath } from "node:url";
|
|
27
27
|
import { createHash } from "node:crypto";
|
|
28
28
|
import { createRequire as createRequire22 } from "node:module";
|
|
29
|
-
import { homedir as
|
|
30
|
-
import { dirname as
|
|
31
|
-
import { homedir as
|
|
32
|
-
import { basename, dirname as
|
|
33
|
-
import { existsSync as existsSync11, readFileSync as readFileSync9, readdirSync as readdirSync4, realpathSync, statSync as
|
|
34
|
-
import { dirname as
|
|
35
|
-
import { homedir as
|
|
29
|
+
import { homedir as homedir5 } from "node:os";
|
|
30
|
+
import { dirname as dirname4, join as join7, resolve as resolve2 } from "node:path";
|
|
31
|
+
import { homedir as homedir6, platform as platform2 } from "node:os";
|
|
32
|
+
import { basename, dirname as dirname5, resolve as resolve4 } from "node:path";
|
|
33
|
+
import { existsSync as existsSync11, readFileSync as readFileSync9, readdirSync as readdirSync4, realpathSync, statSync as statSync6 } from "node:fs";
|
|
34
|
+
import { dirname as dirname8, join as join12 } from "node:path";
|
|
35
|
+
import { homedir as homedir10 } from "node:os";
|
|
36
36
|
var __create = Object.create;
|
|
37
37
|
var __getProtoOf = Object.getPrototypeOf;
|
|
38
38
|
var __defProp2 = Object.defineProperty;
|
|
@@ -12743,7 +12743,7 @@ try {
|
|
|
12743
12743
|
const esmRequire = createRequire22(import.meta.url);
|
|
12744
12744
|
native = esmRequire("@signet/native");
|
|
12745
12745
|
} catch {}
|
|
12746
|
-
var GRAPHIQ_DEFAULT_INSTALL_DIR =
|
|
12746
|
+
var GRAPHIQ_DEFAULT_INSTALL_DIR = join7(homedir5(), ".local", "bin");
|
|
12747
12747
|
var SIGNET_SOURCE_CHECKOUT_DIRNAME = "signetai";
|
|
12748
12748
|
var SIGNET_GIT_ALLOWED_DIRECTORIES = ["skills", "tools", "dreaming"];
|
|
12749
12749
|
var SIGNET_GIT_PROTECTED_PATHS = [
|
|
@@ -12813,11 +12813,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
|
|
|
12813
12813
|
function defaultDiscordDesktopCachePath() {
|
|
12814
12814
|
switch (platform2()) {
|
|
12815
12815
|
case "darwin":
|
|
12816
|
-
return resolve4(
|
|
12816
|
+
return resolve4(homedir6(), "Library", "Application Support", "discord");
|
|
12817
12817
|
case "win32":
|
|
12818
|
-
return resolve4(process.env.APPDATA || resolve4(
|
|
12818
|
+
return resolve4(process.env.APPDATA || resolve4(homedir6(), "AppData", "Roaming"), "discord");
|
|
12819
12819
|
default:
|
|
12820
|
-
return resolve4(process.env.XDG_CONFIG_HOME || resolve4(
|
|
12820
|
+
return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir6(), ".config"), "discord");
|
|
12821
12821
|
}
|
|
12822
12822
|
}
|
|
12823
12823
|
var IDENTITY_MODES = ["managed", "off"];
|
|
@@ -12960,7 +12960,7 @@ function resolveIdentityModeFromConfig(config) {
|
|
|
12960
12960
|
return "managed";
|
|
12961
12961
|
}
|
|
12962
12962
|
function loadIdentityMode(agentsDir) {
|
|
12963
|
-
const agentYaml =
|
|
12963
|
+
const agentYaml = join12(agentsDir, "agent.yaml");
|
|
12964
12964
|
if (!existsSync11(agentYaml))
|
|
12965
12965
|
return "managed";
|
|
12966
12966
|
try {
|
|
@@ -12997,7 +12997,7 @@ function identityHeaderFor(path, role) {
|
|
|
12997
12997
|
return STATIC_HEADER_BY_FILE[filename] ?? role ?? filename.replace(/\.md$/i, "");
|
|
12998
12998
|
}
|
|
12999
12999
|
function resolveStartupIdentityFiles(agentsDir) {
|
|
13000
|
-
const agentYaml =
|
|
13000
|
+
const agentYaml = join12(agentsDir, "agent.yaml");
|
|
13001
13001
|
if (!existsSync11(agentYaml))
|
|
13002
13002
|
return STATIC_BUDGETS.map(({ file, budget }) => ({ path: file, budget }));
|
|
13003
13003
|
try {
|
|
@@ -13035,7 +13035,7 @@ function readStaticIdentity(agentsDir, status = STATIC_IDENTITY_OFFLINE_STATUS)
|
|
|
13035
13035
|
return null;
|
|
13036
13036
|
const parts = [];
|
|
13037
13037
|
for (const entry of resolveStartupIdentityFiles(agentsDir)) {
|
|
13038
|
-
const path =
|
|
13038
|
+
const path = join12(agentsDir, entry.path);
|
|
13039
13039
|
if (!existsSync11(path))
|
|
13040
13040
|
continue;
|
|
13041
13041
|
try {
|
|
@@ -13058,7 +13058,7 @@ ${parts.join(`
|
|
|
13058
13058
|
|
|
13059
13059
|
`)}`;
|
|
13060
13060
|
}
|
|
13061
|
-
var home =
|
|
13061
|
+
var home = homedir10();
|
|
13062
13062
|
|
|
13063
13063
|
// ../../../libs/sdk/dist/index.js
|
|
13064
13064
|
function isRecord2(value) {
|