@adhdev/daemon-core 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 +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.js
CHANGED
|
@@ -20067,6 +20067,13 @@ var CliProviderInstance = class {
|
|
|
20067
20067
|
}
|
|
20068
20068
|
const mergedMessages = this.mergeConversationMessages(parsedMessages);
|
|
20069
20069
|
const canonicalBackedHistory = this.syncCanonicalSavedHistoryIfNeeded();
|
|
20070
|
+
const statusMessages = canonicalBackedHistory && this.lastPersistedHistoryMessages.length > 0 ? this.lastPersistedHistoryMessages.map((message) => ({
|
|
20071
|
+
role: message.role,
|
|
20072
|
+
content: message.content,
|
|
20073
|
+
kind: message.kind,
|
|
20074
|
+
senderName: message.senderName,
|
|
20075
|
+
receivedAt: message.receivedAt
|
|
20076
|
+
})) : mergedMessages;
|
|
20070
20077
|
const dirName = this.workingDir.split("/").filter(Boolean).pop() || "session";
|
|
20071
20078
|
const parsedChatStatus = typeof parsedStatus?.status === "string" && parsedStatus.status.trim() ? parsedStatus.status.trim() : void 0;
|
|
20072
20079
|
const suppressStaleParsedBusyStatus = this.shouldSuppressStaleParsedBusyStatus(parsedStatus, adapterStatus);
|
|
@@ -20118,7 +20125,7 @@ var CliProviderInstance = class {
|
|
|
20118
20125
|
id: activeChatId,
|
|
20119
20126
|
title: parsedStatus?.title || dirName,
|
|
20120
20127
|
status: activeChatStatus,
|
|
20121
|
-
messages:
|
|
20128
|
+
messages: statusMessages,
|
|
20122
20129
|
activeModal: autoApproveActive ? null : parsedStatus?.activeModal ?? adapterStatus.activeModal,
|
|
20123
20130
|
inputContent: ""
|
|
20124
20131
|
},
|