@adhdev/daemon-standalone 0.9.82-rc.104 → 0.9.82-rc.105

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
@@ -42075,6 +42075,13 @@ ${effect.notification.body || ""}`.trim();
42075
42075
  }
42076
42076
  const mergedMessages = this.mergeConversationMessages(parsedMessages);
42077
42077
  const canonicalBackedHistory = this.syncCanonicalSavedHistoryIfNeeded();
42078
+ const statusMessages = canonicalBackedHistory && this.lastPersistedHistoryMessages.length > 0 ? this.lastPersistedHistoryMessages.map((message) => ({
42079
+ role: message.role,
42080
+ content: message.content,
42081
+ kind: message.kind,
42082
+ senderName: message.senderName,
42083
+ receivedAt: message.receivedAt
42084
+ })) : mergedMessages;
42078
42085
  const dirName = this.workingDir.split("/").filter(Boolean).pop() || "session";
42079
42086
  const parsedChatStatus = typeof parsedStatus?.status === "string" && parsedStatus.status.trim() ? parsedStatus.status.trim() : void 0;
42080
42087
  const suppressStaleParsedBusyStatus = this.shouldSuppressStaleParsedBusyStatus(parsedStatus, adapterStatus);
@@ -42126,7 +42133,7 @@ ${effect.notification.body || ""}`.trim();
42126
42133
  id: activeChatId,
42127
42134
  title: parsedStatus?.title || dirName,
42128
42135
  status: activeChatStatus,
42129
- messages: mergedMessages,
42136
+ messages: statusMessages,
42130
42137
  activeModal: autoApproveActive ? null : parsedStatus?.activeModal ?? adapterStatus.activeModal,
42131
42138
  inputContent: ""
42132
42139
  },