@signetai/connector-hermes-agent 0.147.2 → 0.147.3
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.d.ts.map +1 -1
- package/dist/index.js +25 -2
- package/package.json +3 -3
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAoDjG,MAAM,WAAW,qBAAqB;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,kBAAkB;IAClC,QAAQ,CAAC,EAAE,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,SAAS,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,SAAS,qBAAqB,EAAE,CAAC;IAClD,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAmoBD,qBAAa,oBAAqB,SAAQ,aAAa;IACtD,QAAQ,CAAC,IAAI,kBAAkB;IAC/B,QAAQ,CAAC,SAAS,kBAAkB;IAEpC,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,aAAa;IAIrB,aAAa,IAAI,MAAM;IAIjB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAoLjD,SAAS,IAAI,OAAO,CAAC,eAAe,CAAC;IAuD3C,WAAW,IAAI,OAAO;IAQhB,QAAQ,IAAI,OAAO,CAAC,kBAAkB,CAAC;CAS7C;AAED,wBAAsB,yBAAyB,CAAC,IAAI,CAAC,EAAE;IACtD,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;CAC5B,GAAG,OAAO,CAAC,kBAAkB,CAAC,CAuG9B;AAED,wBAAgB,eAAe,IAAI,oBAAoB,CAEtD;AAED,eAAe,oBAAoB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -21863,6 +21863,12 @@ function getPluginSourceDir() {
|
|
|
21863
21863
|
const fromSrc = join4(__dirname3, "..", "..", "hermes-plugin");
|
|
21864
21864
|
if (existsSync2(fromSrc))
|
|
21865
21865
|
return fromSrc;
|
|
21866
|
+
const connectorAssetsDir = process.env.SIGNET_CONNECTOR_ASSETS_DIR?.trim();
|
|
21867
|
+
if (connectorAssetsDir) {
|
|
21868
|
+
const fromEmbeddedAssets = join4(connectorAssetsDir, "hermes-agent", "hermes-plugin");
|
|
21869
|
+
if (existsSync2(fromEmbeddedAssets))
|
|
21870
|
+
return fromEmbeddedAssets;
|
|
21871
|
+
}
|
|
21866
21872
|
const signetDir = process.env.SIGNET_DIR?.trim();
|
|
21867
21873
|
if (signetDir) {
|
|
21868
21874
|
const fromConnectors = join4(signetDir, "runtime", "connectors", "hermes-agent", "hermes-plugin");
|
|
@@ -22210,6 +22216,9 @@ function getConnectorPackageJsonPath() {
|
|
|
22210
22216
|
return candidates.find((candidate) => existsSync2(candidate)) ?? null;
|
|
22211
22217
|
}
|
|
22212
22218
|
function getConnectorVersion() {
|
|
22219
|
+
const runtimeVersion = process.env.SIGNET_VERSION?.trim();
|
|
22220
|
+
if (runtimeVersion)
|
|
22221
|
+
return runtimeVersion;
|
|
22213
22222
|
const packageJsonPath = getConnectorPackageJsonPath();
|
|
22214
22223
|
if (!packageJsonPath)
|
|
22215
22224
|
return "unknown";
|
|
@@ -22628,10 +22637,24 @@ async function diagnoseHermesIntegration(opts) {
|
|
|
22628
22637
|
const repoPluginDir = hermesRepo ? getRepoPluginTargetDir(hermesRepo) : null;
|
|
22629
22638
|
const checks = [];
|
|
22630
22639
|
const warnings = [];
|
|
22631
|
-
|
|
22632
|
-
|
|
22640
|
+
let pluginSourceDir = null;
|
|
22641
|
+
let pluginSourceError = null;
|
|
22642
|
+
try {
|
|
22643
|
+
pluginSourceDir = getPluginSourceDir();
|
|
22644
|
+
} catch (error) {
|
|
22645
|
+
pluginSourceError = error instanceof Error ? error.message : String(error);
|
|
22646
|
+
}
|
|
22647
|
+
const userPluginCurrent = pluginSourceDir !== null && pluginLooksCurrent(userPluginDir);
|
|
22648
|
+
const repoPluginCurrent = pluginSourceDir !== null && repoPluginDir ? pluginLooksCurrent(repoPluginDir) : false;
|
|
22633
22649
|
const probe = hermesRepo ? probeHermesProvider(hermesRepo) : userPluginCurrent ? { ok: true, toolNames: REQUIRED_TOOL_NAMES, error: null } : { ok: false, toolNames: [], error: "Hermes repo not found and user plugin is missing or stale" };
|
|
22634
22650
|
const daemon = await checkDaemon(daemonUrl);
|
|
22651
|
+
checks.push({
|
|
22652
|
+
id: "plugin-source",
|
|
22653
|
+
label: "Bundled Hermes plugin source",
|
|
22654
|
+
ok: pluginSourceDir !== null,
|
|
22655
|
+
detail: pluginSourceDir ?? pluginSourceError ?? "Cannot find hermes-plugin directory in connector package",
|
|
22656
|
+
fix: pluginSourceDir ? undefined : "Reinstall Signet from a release that includes Hermes connector assets."
|
|
22657
|
+
});
|
|
22635
22658
|
checks.push({
|
|
22636
22659
|
id: "daemon-health",
|
|
22637
22660
|
label: "Signet daemon",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signetai/connector-hermes-agent",
|
|
3
|
-
"version": "0.147.
|
|
3
|
+
"version": "0.147.3",
|
|
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.147.
|
|
29
|
-
"@signetai/core": "0.147.
|
|
28
|
+
"@signetai/connector-base": "0.147.3",
|
|
29
|
+
"@signetai/core": "0.147.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "^22.0.0",
|