@adhdev/daemon-core 0.8.95 → 0.8.96
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/package.json
CHANGED
|
@@ -949,7 +949,7 @@ export class CliProviderInstance implements ProviderInstance {
|
|
|
949
949
|
const rebuilt = rebuildHermesSavedHistoryFromCanonicalSession(this.providerSessionId);
|
|
950
950
|
if (!rebuilt) return false;
|
|
951
951
|
this.lastCanonicalHermesSyncMtimeMs = stat.mtimeMs;
|
|
952
|
-
const restoredHistory = readChatHistory(this.type, 0,
|
|
952
|
+
const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
|
|
953
953
|
this.lastPersistedHistoryMessages = restoredHistory.messages.map((message) => ({
|
|
954
954
|
role: message.role,
|
|
955
955
|
content: message.content,
|
|
@@ -967,7 +967,7 @@ export class CliProviderInstance implements ProviderInstance {
|
|
|
967
967
|
if (!this.providerSessionId) return;
|
|
968
968
|
this.syncCanonicalHermesSavedHistoryIfNeeded();
|
|
969
969
|
this.historyWriter.compactHistorySession(this.type, this.providerSessionId);
|
|
970
|
-
const restoredHistory = readChatHistory(this.type, 0,
|
|
970
|
+
const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
|
|
971
971
|
this.historyWriter.seedSessionHistory(
|
|
972
972
|
this.type,
|
|
973
973
|
restoredHistory.messages,
|