@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/session-host-core",
3
- "version": "0.8.95",
3
+ "version": "0.8.96",
4
4
  "description": "ADHDev local session host core \u2014 session registry, protocol, buffers",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.8.95",
3
+ "version": "0.8.96",
4
4
  "description": "ADHDev daemon core \u2014 CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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, 200, this.providerSessionId);
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, 200, this.providerSessionId);
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,