adhdev 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
@@ -14183,7 +14183,7 @@ ${effect.notification.body || ""}`.trim();
14183
14183
  const rebuilt = rebuildHermesSavedHistoryFromCanonicalSession(this.providerSessionId);
14184
14184
  if (!rebuilt) return false;
14185
14185
  this.lastCanonicalHermesSyncMtimeMs = stat4.mtimeMs;
14186
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
14186
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
14187
14187
  this.lastPersistedHistoryMessages = restoredHistory.messages.map((message) => ({
14188
14188
  role: message.role,
14189
14189
  content: message.content,
@@ -14200,7 +14200,7 @@ ${effect.notification.body || ""}`.trim();
14200
14200
  if (!this.providerSessionId) return;
14201
14201
  this.syncCanonicalHermesSavedHistoryIfNeeded();
14202
14202
  this.historyWriter.compactHistorySession(this.type, this.providerSessionId);
14203
- const restoredHistory = readChatHistory(this.type, 0, 200, this.providerSessionId);
14203
+ const restoredHistory = readChatHistory(this.type, 0, Number.MAX_SAFE_INTEGER, this.providerSessionId);
14204
14204
  this.historyWriter.seedSessionHistory(
14205
14205
  this.type,
14206
14206
  restoredHistory.messages,
@@ -55097,7 +55097,7 @@ var init_adhdev_daemon = __esm({
55097
55097
  init_version();
55098
55098
  init_src();
55099
55099
  init_runtime_defaults();
55100
- pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.95" });
55100
+ pkgVersion = resolvePackageVersion({ injectedVersion: "0.8.96" });
55101
55101
  AdhdevDaemon = class _AdhdevDaemon {
55102
55102
  localHttpServer = null;
55103
55103
  localWss = null;