@signetai/signet-memory-openclaw 0.125.1 → 0.126.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 +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25,6 +25,8 @@ import { createRequire as createRequire2 } from "node:module";
|
|
|
25
25
|
import { dirname, join } from "node:path";
|
|
26
26
|
import { fileURLToPath } from "node:url";
|
|
27
27
|
import { createRequire as createRequire22 } from "node:module";
|
|
28
|
+
import { homedir as homedir3, platform as platform2 } from "node:os";
|
|
29
|
+
import { basename, dirname as dirname3, resolve as resolve3 } from "node:path";
|
|
28
30
|
import { existsSync as existsSync10, readFileSync as readFileSync8, readdirSync as readdirSync4, realpathSync, statSync as statSync4 } from "node:fs";
|
|
29
31
|
import { dirname as dirname6, join as join10 } from "node:path";
|
|
30
32
|
import { homedir as homedir7 } from "node:os";
|
|
@@ -10217,6 +10219,17 @@ var SIGNET_GIT_PROTECTED_PATHS = [
|
|
|
10217
10219
|
"memory/memories.db-journal",
|
|
10218
10220
|
`${SIGNET_SOURCE_CHECKOUT_DIRNAME}/`
|
|
10219
10221
|
];
|
|
10222
|
+
var DEFAULT_DISCORD_DESKTOP_CACHE_PATH = defaultDiscordDesktopCachePath();
|
|
10223
|
+
function defaultDiscordDesktopCachePath() {
|
|
10224
|
+
switch (platform2()) {
|
|
10225
|
+
case "darwin":
|
|
10226
|
+
return resolve3(homedir3(), "Library", "Application Support", "discord");
|
|
10227
|
+
case "win32":
|
|
10228
|
+
return resolve3(process.env.APPDATA || resolve3(homedir3(), "AppData", "Roaming"), "discord");
|
|
10229
|
+
default:
|
|
10230
|
+
return resolve3(process.env.XDG_CONFIG_HOME || resolve3(homedir3(), ".config"), "discord");
|
|
10231
|
+
}
|
|
10232
|
+
}
|
|
10220
10233
|
var IDENTITY_FILES = {
|
|
10221
10234
|
agents: {
|
|
10222
10235
|
path: "AGENTS.md",
|