@kya-os/mcp-i 1.6.4-canary.slugfix.0 → 1.6.5

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.
@@ -11,15 +11,6 @@ exports.enableMCPIdentityCLI = enableMCPIdentityCLI;
11
11
  const identity_1 = require("../runtime/identity");
12
12
  const did_helpers_1 = require("@kya-os/mcp-i-core/utils/did-helpers");
13
13
  const kta_registration_1 = require("./kta-registration");
14
- /**
15
- * Generate a unique agent name to prevent slug collisions during registration.
16
- * Uses timestamp + random suffix for uniqueness.
17
- */
18
- function generateUniqueName() {
19
- const uniqueSuffix = Date.now().toString(36) + Math.random().toString(36).substring(2, 7);
20
- const projectName = process.env.npm_package_name || "mcpi-agent";
21
- return `${projectName}-${uniqueSuffix}`;
22
- }
23
14
  /**
24
15
  * Enable MCP Identity for CLI
25
16
  *
@@ -67,7 +58,7 @@ async function enableMCPIdentityCLI(options = {}) {
67
58
  did: identity.did,
68
59
  publicKey: identity.publicKey,
69
60
  kid: identity.kid,
70
- name: name || generateUniqueName(),
61
+ name: name || "My Agent",
71
62
  description: description || "XMCP-I agent with identity features",
72
63
  repository,
73
64
  endpoint,