@kya-os/mcp-i 1.6.2-canary.clientinfo.20251126041014 → 1.6.2

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
@@ -200,6 +206,13 @@
200
206
  * MIT Licensed
201
207
  */
202
208
 
209
+ /*!
210
+ * router
211
+ * Copyright(c) 2013 Roman Shtylman
212
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
213
+ * MIT Licensed
214
+ */
215
+
203
216
  /*!
204
217
  * send
205
218
  * Copyright(c) 2012 TJ Holowaychuk
@@ -248,5 +261,3 @@
248
261
  */
249
262
 
250
263
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
251
-
252
- /** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
@@ -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 }),