@threadbase-sh/streamer 1.41.1 → 1.41.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.
- package/dist/cli.cjs +8 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/index.cjs +8 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -147026,7 +147026,14 @@ var StreamerServer = class {
|
|
|
147026
147026
|
this.sessionStore.updateManaged(session.id, {
|
|
147027
147027
|
status: session.status,
|
|
147028
147028
|
completedAt: session.completedAt,
|
|
147029
|
-
...session.lastActivityAt != null && { lastActivityAt: session.lastActivityAt }
|
|
147029
|
+
...session.lastActivityAt != null && { lastActivityAt: session.lastActivityAt },
|
|
147030
|
+
// The runner derives this from the first user message, on its own
|
|
147031
|
+
// copy of the session. Without mirroring it here SessionStore never
|
|
147032
|
+
// learns it, so a fresh live session is served with no sessionName
|
|
147033
|
+
// even though the registry has one — the name only appeared after a
|
|
147034
|
+
// restart rebuilt the row as a stub. Guarded so a runner that has not
|
|
147035
|
+
// derived one yet cannot blank a name set by enrichResumedSessionAsync.
|
|
147036
|
+
...session.sessionName != null && { sessionName: session.sessionName }
|
|
147030
147037
|
});
|
|
147031
147038
|
this.managedSessionsRepo?.recordStatus(
|
|
147032
147039
|
session.id,
|