@signetai/connector-gemini 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 +6 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -22034,7 +22034,7 @@ function defaultDiscordDesktopCachePath2() {
22034
22034
  return resolve42(process.env.XDG_CONFIG_HOME || resolve42(homedir42(), ".config"), "discord");
22035
22035
  }
22036
22036
  }
22037
- var IDENTITY_MODES = ["managed", "passthrough", "off"];
22037
+ var IDENTITY_MODES = ["managed", "off"];
22038
22038
  var IDENTITY_FILES2 = {
22039
22039
  agents: {
22040
22040
  path: "AGENTS.md",
@@ -22108,14 +22108,17 @@ function readRecord(value) {
22108
22108
  function isIdentityMode(value) {
22109
22109
  return typeof value === "string" && IDENTITY_MODES.includes(value);
22110
22110
  }
22111
+ function isResolvedIdentityMode(value) {
22112
+ return isIdentityMode(value) || value === "passthrough";
22113
+ }
22111
22114
  function resolveIdentityModeFromConfig(config) {
22112
22115
  const root = readRecord(config);
22113
22116
  const capabilities = readRecord(root.capabilities);
22114
22117
  const capabilityIdentity = readRecord(capabilities.identity);
22115
- if (isIdentityMode(capabilityIdentity.mode))
22118
+ if (isResolvedIdentityMode(capabilityIdentity.mode))
22116
22119
  return capabilityIdentity.mode;
22117
22120
  const identity = readRecord(root.identity);
22118
- if (isIdentityMode(identity.mode))
22121
+ if (isResolvedIdentityMode(identity.mode))
22119
22122
  return identity.mode;
22120
22123
  if (identity.enabled === false)
22121
22124
  return "off";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signetai/connector-gemini",
3
- "version": "0.155.2",
3
+ "version": "0.156.0",
4
4
  "description": "Signet connector for Gemini CLI",
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",