@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/dist/index.mjs CHANGED
@@ -13202,7 +13202,7 @@ ${effect.notification.body || ""}`.trim();
13202
13202
  const rebuilt = rebuildHermesSavedHistoryFromCanonicalSession(this.providerSessionId);
13203
13203
  if (!rebuilt) return false;
13204
13204
  this.lastCanonicalHermesSyncMtimeMs = stat.mtimeMs;
13205
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
13205
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
13206
13206
  this.lastPersistedHistoryMessages = restoredHistory.messages.map((message) => ({
13207
13207
  role: message.role,
13208
13208
  content: message.content,
@@ -13219,7 +13219,7 @@ ${effect.notification.body || ""}`.trim();
13219
13219
  if (!this.providerSessionId) return;
13220
13220
  this.syncCanonicalHermesSavedHistoryIfNeeded();
13221
13221
  this.historyWriter.compactHistorySession(this.type, this.providerSessionId);
13222
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
13222
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
13223
13223
  this.historyWriter.seedSessionHistory(
13224
13224
  this.type,
13225
13225
  restoredHistory.messages,