@kya-os/mcp-i 1.6.3-canary.clientinfo.20251126124133 → 1.6.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.
@@ -130,6 +130,12 @@
130
130
  * MIT Licensed
131
131
  */
132
132
 
133
+ /*!
134
+ * media-typer
135
+ * Copyright(c) 2014-2017 Douglas Christopher Wilson
136
+ * MIT Licensed
137
+ */
138
+
133
139
  /*!
134
140
  * merge-descriptors
135
141
  * Copyright(c) 2014 Jonathan Ong
@@ -78,6 +78,7 @@ class SessionManager {
78
78
  const sessionId = this.generateSessionId();
79
79
  const clientInfo = this.buildClientInfo(request);
80
80
  // Create session context
81
+ // Phase 5: Sessions start anonymous until OAuth completes
81
82
  const session = {
82
83
  sessionId,
83
84
  audience: request.audience,
@@ -86,6 +87,7 @@ class SessionManager {
86
87
  createdAt: now,
87
88
  lastActivity: now,
88
89
  ttlMinutes: this.config.sessionTtlMinutes,
90
+ identityState: "anonymous", // Phase 5: Anonymous until OAuth
89
91
  agentDid: request.agentDid, // Pass through agent DID for delegation verification
90
92
  ...(this.config.serverDid && { serverDid: this.config.serverDid }), // Include server DID if provided
91
93
  ...(clientInfo && { clientInfo }),