@signetai/connector-hermes-agent 0.214.41 → 0.216.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.
Files changed (2) hide show
  1. package/dist/index.js +24 -24
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -19,11 +19,11 @@ import { createHash as createHash2 } from "node:crypto";
19
19
  import { createRequire as createRequire2 } from "node:module";
20
20
  import { createRequire as createRequire3 } from "node:module";
21
21
  import { homedir as homedir5 } from "node:os";
22
- import { dirname as dirname4, join as join8, resolve as resolve2 } from "node:path";
22
+ import { dirname as dirname4, join as join8, resolve as resolve3 } from "node:path";
23
23
  import { homedir as homedir6, platform as platform2 } from "node:os";
24
- import { basename, dirname as dirname5, resolve as resolve4 } from "node:path";
24
+ import { basename, dirname as dirname5, resolve as resolve5 } from "node:path";
25
25
  import { homedir as homedir10 } from "node:os";
26
- import { existsSync as existsSync14, lstatSync, mkdirSync as mkdirSync10, readdirSync as readdirSync7, symlinkSync, unlinkSync as unlinkSync2 } from "node:fs";
26
+ import { existsSync as existsSync15, lstatSync, mkdirSync as mkdirSync10, readdirSync as readdirSync7, symlinkSync, unlinkSync as unlinkSync2 } from "node:fs";
27
27
  import { join as join15 } from "node:path";
28
28
  var __create2 = Object.create;
29
29
  var __getProtoOf2 = Object.getPrototypeOf;
@@ -7003,7 +7003,7 @@ var require_keyring = __commonJS2((exports, module) => {
7003
7003
  var __filename2 = "/home/runner/work/signetai/signetai/node_modules/.bun/@napi-rs+keyring@1.3.0/node_modules/@napi-rs/keyring/index.js";
7004
7004
  var { createRequire: createRequire22 } = __require("node:module");
7005
7005
  __require = createRequire22(__filename2);
7006
- var { readFileSync: readFileSync2 } = __require("node:fs");
7006
+ var { readFileSync: readFileSync3 } = __require("node:fs");
7007
7007
  var nativeBinding = null;
7008
7008
  var loadErrors = [];
7009
7009
  var isMusl = () => {
@@ -7022,7 +7022,7 @@ var require_keyring = __commonJS2((exports, module) => {
7022
7022
  var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
7023
7023
  var isMuslFromFilesystem = () => {
7024
7024
  try {
7025
- return readFileSync2("/usr/bin/ldd", "utf-8").includes("musl");
7025
+ return readFileSync3("/usr/bin/ldd", "utf-8").includes("musl");
7026
7026
  } catch {
7027
7027
  return null;
7028
7028
  }
@@ -17541,11 +17541,11 @@ var VALID_GITHUB_RESOURCE_TYPES = new Set(DEFAULT_GITHUB_RESOURCE_TYPES);
17541
17541
  function defaultDiscordDesktopCachePath() {
17542
17542
  switch (platform2()) {
17543
17543
  case "darwin":
17544
- return resolve4(homedir6(), "Library", "Application Support", "discord");
17544
+ return resolve5(homedir6(), "Library", "Application Support", "discord");
17545
17545
  case "win32":
17546
- return resolve4(process.env.APPDATA || resolve4(homedir6(), "AppData", "Roaming"), "discord");
17546
+ return resolve5(process.env.APPDATA || resolve5(homedir6(), "AppData", "Roaming"), "discord");
17547
17547
  default:
17548
- return resolve4(process.env.XDG_CONFIG_HOME || resolve4(homedir6(), ".config"), "discord");
17548
+ return resolve5(process.env.XDG_CONFIG_HOME || resolve5(homedir6(), ".config"), "discord");
17549
17549
  }
17550
17550
  }
17551
17551
  var IDENTITY_FILES = {
@@ -17613,14 +17613,14 @@ function symlinkSkills(sourceDir, targetDir, options = {}) {
17613
17613
  skipped: [],
17614
17614
  errors: []
17615
17615
  };
17616
- if (!existsSync14(sourceDir)) {
17616
+ if (!existsSync15(sourceDir)) {
17617
17617
  return result;
17618
17618
  }
17619
17619
  const targetParent = join15(targetDir, "..");
17620
- if (!existsSync14(targetParent)) {
17620
+ if (!existsSync15(targetParent)) {
17621
17621
  mkdirSync10(targetParent, { recursive: true });
17622
17622
  }
17623
- if (!existsSync14(targetDir)) {
17623
+ if (!existsSync15(targetDir)) {
17624
17624
  mkdirSync10(targetDir, { recursive: true });
17625
17625
  }
17626
17626
  let entries;
@@ -17773,18 +17773,18 @@ import { createRequire as createRequire4 } from "node:module";
17773
17773
  import { dirname as dirname3, join as join2 } from "node:path";
17774
17774
  import { fileURLToPath as fileURLToPath2 } from "node:url";
17775
17775
  import { createHash as createHash3 } from "node:crypto";
17776
- import { homedir as homedir2 } from "os";
17777
- import { join as join22 } from "path";
17776
+ import { homedir as homedir2 } from "node:os";
17777
+ import { join as join22, resolve } from "node:path";
17778
17778
  import { execFileSync as execFileSync22 } from "node:child_process";
17779
17779
  import { createHash as createHash22 } from "node:crypto";
17780
17780
  import { createRequire as createRequire22 } from "node:module";
17781
17781
  import { createRequire as createRequire32 } from "node:module";
17782
17782
  import { homedir as homedir52 } from "node:os";
17783
- import { dirname as dirname42, join as join82, resolve as resolve22 } from "node:path";
17783
+ import { dirname as dirname42, join as join82, resolve as resolve32 } from "node:path";
17784
17784
  import { homedir as homedir62, platform as platform22 } from "node:os";
17785
- import { basename as basename2, dirname as dirname52, resolve as resolve42 } from "node:path";
17785
+ import { basename as basename2, dirname as dirname52, resolve as resolve52 } from "node:path";
17786
17786
  import { execFileSync as execFileSync3 } from "node:child_process";
17787
- import { existsSync as existsSync12, readFileSync as readFileSync10, readdirSync as readdirSync5, realpathSync as realpathSync2, statSync as statSync7 } from "node:fs";
17787
+ import { existsSync as existsSync13, readFileSync as readFileSync11, readdirSync as readdirSync5, realpathSync as realpathSync2, statSync as statSync7 } from "node:fs";
17788
17788
  import { homedir as homedir9 } from "node:os";
17789
17789
  import { dirname as dirname8, join as join13 } from "node:path";
17790
17790
  import { homedir as homedir102 } from "node:os";
@@ -24766,7 +24766,7 @@ var require_keyring2 = __commonJS((exports, module) => {
24766
24766
  var __filename3 = "/home/runner/work/signetai/signetai/node_modules/.bun/@napi-rs+keyring@1.3.0/node_modules/@napi-rs/keyring/index.js";
24767
24767
  var { createRequire: createRequire23 } = __require2("node:module");
24768
24768
  __require2 = createRequire23(__filename3);
24769
- var { readFileSync: readFileSync2 } = __require2("node:fs");
24769
+ var { readFileSync: readFileSync3 } = __require2("node:fs");
24770
24770
  var nativeBinding = null;
24771
24771
  var loadErrors = [];
24772
24772
  var isMusl = () => {
@@ -24785,7 +24785,7 @@ var require_keyring2 = __commonJS((exports, module) => {
24785
24785
  var isFileMusl = (f2) => f2.includes("libc.musl-") || f2.includes("ld-musl-");
24786
24786
  var isMuslFromFilesystem = () => {
24787
24787
  try {
24788
- return readFileSync2("/usr/bin/ldd", "utf-8").includes("musl");
24788
+ return readFileSync3("/usr/bin/ldd", "utf-8").includes("musl");
24789
24789
  } catch {
24790
24790
  return null;
24791
24791
  }
@@ -35311,11 +35311,11 @@ var VALID_GITHUB_RESOURCE_TYPES2 = new Set(DEFAULT_GITHUB_RESOURCE_TYPES2);
35311
35311
  function defaultDiscordDesktopCachePath2() {
35312
35312
  switch (platform22()) {
35313
35313
  case "darwin":
35314
- return resolve42(homedir62(), "Library", "Application Support", "discord");
35314
+ return resolve52(homedir62(), "Library", "Application Support", "discord");
35315
35315
  case "win32":
35316
- return resolve42(process.env.APPDATA || resolve42(homedir62(), "AppData", "Roaming"), "discord");
35316
+ return resolve52(process.env.APPDATA || resolve52(homedir62(), "AppData", "Roaming"), "discord");
35317
35317
  default:
35318
- return resolve42(process.env.XDG_CONFIG_HOME || resolve42(homedir62(), ".config"), "discord");
35318
+ return resolve52(process.env.XDG_CONFIG_HOME || resolve52(homedir62(), ".config"), "discord");
35319
35319
  }
35320
35320
  }
35321
35321
  var IDENTITY_FILES2 = {
@@ -35394,11 +35394,11 @@ function hermesAgentCandidateDirs() {
35394
35394
  }
35395
35395
  function resolveHermesRepoPath() {
35396
35396
  const hermesRepo = process.env.HERMES_REPO?.trim();
35397
- if (hermesRepo && existsSync12(join13(hermesRepo, "plugins", "memory"))) {
35397
+ if (hermesRepo && existsSync13(join13(hermesRepo, "plugins", "memory"))) {
35398
35398
  return hermesRepo;
35399
35399
  }
35400
35400
  for (const base of hermesAgentCandidateDirs()) {
35401
- if (existsSync12(join13(base, "plugins", "memory")))
35401
+ if (existsSync13(join13(base, "plugins", "memory")))
35402
35402
  return base;
35403
35403
  }
35404
35404
  try {
@@ -35409,7 +35409,7 @@ function resolveHermesRepoPath() {
35409
35409
  }).trim();
35410
35410
  if (hermesPath) {
35411
35411
  const repoDir = dirname8(realpathSync2(hermesPath));
35412
- if (existsSync12(join13(repoDir, "plugins", "memory")))
35412
+ if (existsSync13(join13(repoDir, "plugins", "memory")))
35413
35413
  return repoDir;
35414
35414
  }
35415
35415
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-hermes-agent",
3
- "version": "0.214.41",
3
+ "version": "0.216.4",
4
4
  "description": "Signet connector for Hermes Agent — installs Signet as a pluggable memory provider",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -25,8 +25,8 @@
25
25
  "typecheck": "tsc --noEmit"
26
26
  },
27
27
  "dependencies": {
28
- "@signetai/connector-base": "0.214.41",
29
- "@signetai/core": "0.214.41"
28
+ "@signetai/connector-base": "0.216.4",
29
+ "@signetai/core": "0.216.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22.0.0",