@devness/useai 0.5.22 → 0.5.23
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/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2681,7 +2681,7 @@ var VERSION;
|
|
|
2681
2681
|
var init_version = __esm({
|
|
2682
2682
|
"../shared/dist/constants/version.js"() {
|
|
2683
2683
|
"use strict";
|
|
2684
|
-
VERSION = "0.5.
|
|
2684
|
+
VERSION = "0.5.23";
|
|
2685
2685
|
}
|
|
2686
2686
|
});
|
|
2687
2687
|
|
|
@@ -37689,11 +37689,11 @@ async function startDaemon(port) {
|
|
|
37689
37689
|
for (const [sid, active] of sessions) {
|
|
37690
37690
|
if (active.session.mcpSessionId && active.session.sessionRecordCount > 0) {
|
|
37691
37691
|
clearTimeout(active.idleTimer);
|
|
37692
|
+
sessions.delete(sid);
|
|
37692
37693
|
try {
|
|
37693
37694
|
await active.transport.close();
|
|
37694
37695
|
} catch {
|
|
37695
37696
|
}
|
|
37696
|
-
sessions.delete(sid);
|
|
37697
37697
|
} else {
|
|
37698
37698
|
await cleanupSession(sid);
|
|
37699
37699
|
}
|