@adhdev/daemon-core 0.9.82-rc.107 → 0.9.82-rc.109
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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/commands/chat-commands.ts +7 -1
package/dist/index.mjs
CHANGED
|
@@ -16934,7 +16934,9 @@ async function handleReadChat(h, args) {
|
|
|
16934
16934
|
nativeMessages,
|
|
16935
16935
|
ptyMessages: returnedMessages
|
|
16936
16936
|
});
|
|
16937
|
-
|
|
16937
|
+
const nativeUsableForChatMessages = nativeHistory.source === "provider-native" && nativeMessages.length > 0 && nativeHistoryCoverage !== "partial" && nativeHistoryCoverage !== "unavailable" && safeMapping;
|
|
16938
|
+
const allowStaleNativeChatMessages = adapter.cliType === "antigravity-cli" && nativeUsableForChatMessages;
|
|
16939
|
+
if (nativeUsableForChatMessages && (freshEnough || allowStaleNativeChatMessages)) {
|
|
16938
16940
|
selectedMessages = finalizeStreamingMessagesWhenIdle(nativeMessages, returnedStatus);
|
|
16939
16941
|
selectedProviderSessionId = historyProviderSessionId || providerSessionId;
|
|
16940
16942
|
selectedTranscriptAuthority = "provider";
|