@adhdev/daemon-standalone 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/dist/index.js CHANGED
@@ -41093,7 +41093,7 @@ ${effect.notification.body || ""}`.trim();
41093
41093
  const rebuilt = rebuildHermesSavedHistoryFromCanonicalSession(this.providerSessionId);
41094
41094
  if (!rebuilt) return false;
41095
41095
  this.lastCanonicalHermesSyncMtimeMs = stat4.mtimeMs;
41096
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
41096
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
41097
41097
  this.lastPersistedHistoryMessages = restoredHistory.messages.map((message) => ({
41098
41098
  role: message.role,
41099
41099
  content: message.content,
@@ -41110,7 +41110,7 @@ ${effect.notification.body || ""}`.trim();
41110
41110
  if (!this.providerSessionId) return;
41111
41111
  this.syncCanonicalHermesSavedHistoryIfNeeded();
41112
41112
  this.historyWriter.compactHistorySession(this.type, this.providerSessionId);
41113
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
41113
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
41114
41114
  this.historyWriter.seedSessionHistory(
41115
41115
  this.type,
41116
41116
  restoredHistory.messages,