@kya-os/mcp-i 1.2.8 → 1.2.10

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.
@@ -43,6 +43,7 @@ export interface IdentityConfig {
43
43
  environment: "development" | "production";
44
44
  devIdentityPath?: string;
45
45
  privacyMode?: boolean;
46
+ debug?: boolean;
46
47
  }
47
48
  /**
48
49
  * Error codes for identity management
@@ -40,10 +40,12 @@ class IdentityManager {
40
40
  devIdentityPath: resolvedDevIdentityPath,
41
41
  };
42
42
  // Debug: log the actual config being used
43
- console.error("[IdentityManager] Constructed with config:", {
44
- environment: this.config.environment,
45
- devIdentityPath: this.config.devIdentityPath,
46
- });
43
+ if (this.config.debug) {
44
+ console.error("[IdentityManager] Constructed with config:", {
45
+ environment: this.config.environment,
46
+ devIdentityPath: this.config.devIdentityPath,
47
+ });
48
+ }
47
49
  }
48
50
  /**
49
51
  * Load or generate agent identity