Clear session links no carry-over made, at boot
Sessions from v0.2.8 and earlier were linked to the one before them by every rollover and New session, so production threads offered "Show the previous session" (and prompts read summaries) for sessions nothing was carried from. A link is kept only when the session opens with a message carried from that session. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -10,6 +10,7 @@ import fileIngest from "./file-ingest";
|
||||
import liveRelay from "./live-relay";
|
||||
import enableForeignKeys from "./functions/backend/db/enable-foreign-keys";
|
||||
import migrateBotTypes from "./functions/backend/db/bot-types/migrate-bot-types";
|
||||
import clearImplicitSessionLinks from "./functions/backend/db/bot-sessions/clear-implicit-session-links";
|
||||
import handleComputerProxy from "./functions/server/computers/handle-computer-proxy";
|
||||
import handlePwaFile from "./functions/server/pwa/handle-pwa-file";
|
||||
import handleInstallIconFile from "./functions/server/pwa/handle-install-icon-file";
|
||||
@@ -34,6 +35,9 @@ await enableForeignKeys();
|
||||
await migrateBotTypes().catch((error) =>
|
||||
logError({ title: "Could not migrate bot types", error }).catch(() => {}),
|
||||
);
|
||||
await clearImplicitSessionLinks().catch((error) =>
|
||||
logError({ title: "Could not clear implicit session links", error }).catch(() => {}),
|
||||
);
|
||||
await bunext.bunextInit();
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user