@adhdev/daemon-core 0.9.82-rc.104 → 0.9.82-rc.106
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 +8 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/providers/cli-provider-instance.ts +10 -1
package/dist/index.mjs
CHANGED
|
@@ -19808,6 +19808,13 @@ var CliProviderInstance = class {
|
|
|
19808
19808
|
}
|
|
19809
19809
|
const mergedMessages = this.mergeConversationMessages(parsedMessages);
|
|
19810
19810
|
const canonicalBackedHistory = this.syncCanonicalSavedHistoryIfNeeded();
|
|
19811
|
+
const statusMessages = canonicalBackedHistory && this.lastPersistedHistoryMessages.length > 0 ? this.lastPersistedHistoryMessages.map((message) => ({
|
|
19812
|
+
role: message.role,
|
|
19813
|
+
content: message.content,
|
|
19814
|
+
kind: message.kind,
|
|
19815
|
+
senderName: message.senderName,
|
|
19816
|
+
receivedAt: message.receivedAt
|
|
19817
|
+
})) : mergedMessages;
|
|
19811
19818
|
const dirName = this.workingDir.split("/").filter(Boolean).pop() || "session";
|
|
19812
19819
|
const parsedChatStatus = typeof parsedStatus?.status === "string" && parsedStatus.status.trim() ? parsedStatus.status.trim() : void 0;
|
|
19813
19820
|
const suppressStaleParsedBusyStatus = this.shouldSuppressStaleParsedBusyStatus(parsedStatus, adapterStatus);
|
|
@@ -19859,7 +19866,7 @@ var CliProviderInstance = class {
|
|
|
19859
19866
|
id: activeChatId,
|
|
19860
19867
|
title: parsedStatus?.title || dirName,
|
|
19861
19868
|
status: activeChatStatus,
|
|
19862
|
-
messages:
|
|
19869
|
+
messages: statusMessages,
|
|
19863
19870
|
activeModal: autoApproveActive ? null : parsedStatus?.activeModal ?? adapterStatus.activeModal,
|
|
19864
19871
|
inputContent: ""
|
|
19865
19872
|
},
|