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

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.
@@ -206,6 +206,13 @@
206
206
  * MIT Licensed
207
207
  */
208
208
 
209
+ /*!
210
+ * router
211
+ * Copyright(c) 2013 Roman Shtylman
212
+ * Copyright(c) 2014-2022 Douglas Christopher Wilson
213
+ * MIT Licensed
214
+ */
215
+
209
216
  /*!
210
217
  * send
211
218
  * Copyright(c) 2012 TJ Holowaychuk
@@ -254,5 +261,3 @@
254
261
  */
255
262
 
256
263
  /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
257
-
258
- /** @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 }),