@signetai/connector-forge 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 +8 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -22044,6 +22044,8 @@ function resolveSignetDaemonUrl(opts = {}) {
22044
22044
  const explicit = readEnv(env, "SIGNET_DAEMON_URL");
22045
22045
  if (explicit)
22046
22046
  return normalizeDaemonUrl(explicit, "SIGNET_DAEMON_URL");
22047
+ if (opts.configUrl)
22048
+ return normalizeDaemonUrl(opts.configUrl, "daemon.url");
22047
22049
  const host = readEnv(env, "SIGNET_HOST") ?? fallbackHost;
22048
22050
  assertPlainHost(host);
22049
22051
  const port = normalizePort(readEnv(env, "SIGNET_PORT"), fallbackPort);
@@ -22130,7 +22132,7 @@ function defaultDiscordDesktopCachePath2() {
22130
22132
  return resolve42(process.env.XDG_CONFIG_HOME || resolve42(homedir42(), ".config"), "discord");
22131
22133
  }
22132
22134
  }
22133
- var IDENTITY_MODES = ["managed", "passthrough", "off"];
22135
+ var IDENTITY_MODES = ["managed", "off"];
22134
22136
  var IDENTITY_FILES2 = {
22135
22137
  agents: {
22136
22138
  path: "AGENTS.md",
@@ -22204,14 +22206,17 @@ function readRecord(value) {
22204
22206
  function isIdentityMode(value) {
22205
22207
  return typeof value === "string" && IDENTITY_MODES.includes(value);
22206
22208
  }
22209
+ function isResolvedIdentityMode(value) {
22210
+ return isIdentityMode(value) || value === "passthrough";
22211
+ }
22207
22212
  function resolveIdentityModeFromConfig(config) {
22208
22213
  const root = readRecord(config);
22209
22214
  const capabilities = readRecord(root.capabilities);
22210
22215
  const capabilityIdentity = readRecord(capabilities.identity);
22211
- if (isIdentityMode(capabilityIdentity.mode))
22216
+ if (isResolvedIdentityMode(capabilityIdentity.mode))
22212
22217
  return capabilityIdentity.mode;
22213
22218
  const identity = readRecord(root.identity);
22214
- if (isIdentityMode(identity.mode))
22219
+ if (isResolvedIdentityMode(identity.mode))
22215
22220
  return identity.mode;
22216
22221
  if (identity.enabled === false)
22217
22222
  return "off";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-forge",
3
- "version": "0.155.2",
3
+ "version": "0.156.0",
4
4
  "description": "Signet connector for ForgeCode - installs MCP, identity, and skills integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@signetai/connector-base": "0.155.2",
28
- "@signetai/core": "0.155.2"
27
+ "@signetai/connector-base": "0.156.0",
28
+ "@signetai/core": "0.156.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/node": "^22.0.0",