@sassoftware/sas-score-mcp-serverjs 0.4.1-5 → 0.4.1-6
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.
package/cli.js
CHANGED
|
@@ -354,6 +354,8 @@ console.error('[Note] appEnvBase is', JSON.stringify(appEnvBase, null,2));
|
|
|
354
354
|
// creat a dummy sessionId for stdio since there is only one session and transport in that case, and tools need a sessionId to access the appEnvBase and contexts
|
|
355
355
|
let sessionId = randomUUID();
|
|
356
356
|
sessionCache.set(sessionId, appEnvBase);
|
|
357
|
+
sessionCache.set('currentId', sessionId);
|
|
358
|
+
|
|
357
359
|
if (mcpType === 'stdio') {
|
|
358
360
|
console.error('[Note] Setting up stdio transport with sessionId:', sessionId);
|
|
359
361
|
console.error('[Note] Used in setting up tools and some persistence(not all).');
|
package/package.json
CHANGED