@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.js CHANGED
@@ -13353,7 +13353,7 @@ ${effect.notification.body || ""}`.trim();
13353
13353
  const rebuilt = rebuildHermesSavedHistoryFromCanonicalSession(this.providerSessionId);
13354
13354
  if (!rebuilt) return false;
13355
13355
  this.lastCanonicalHermesSyncMtimeMs = stat.mtimeMs;
13356
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
13356
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
13357
13357
  this.lastPersistedHistoryMessages = restoredHistory.messages.map((message) => ({
13358
13358
  role: message.role,
13359
13359
  content: message.content,
@@ -13370,7 +13370,7 @@ ${effect.notification.body || ""}`.trim();
13370
13370
  if (!this.providerSessionId) return;
13371
13371
  this.syncCanonicalHermesSavedHistoryIfNeeded();
13372
13372
  this.historyWriter.compactHistorySession(this.type, this.providerSessionId);
13373
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
13373
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
13374
13374
  this.historyWriter.seedSessionHistory(
13375
13375
  this.type,
13376
13376
  restoredHistory.messages,