@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 CHANGED
@@ -17193,7 +17193,9 @@ async function handleReadChat(h, args) {
17193
17193
  nativeMessages,
17194
17194
  ptyMessages: returnedMessages
17195
17195
  });
17196
- if (nativeHistory.source === "provider-native" && nativeMessages.length > 0 && nativeHistoryCoverage !== "partial" && nativeHistoryCoverage !== "unavailable" && safeMapping && freshEnough) {
17196
+ const nativeUsableForChatMessages = nativeHistory.source === "provider-native" && nativeMessages.length > 0 && nativeHistoryCoverage !== "partial" && nativeHistoryCoverage !== "unavailable" && safeMapping;
17197
+ const allowStaleNativeChatMessages = adapter.cliType === "antigravity-cli" && nativeUsableForChatMessages;
17198
+ if (nativeUsableForChatMessages && (freshEnough || allowStaleNativeChatMessages)) {
17197
17199
  selectedMessages = finalizeStreamingMessagesWhenIdle(nativeMessages, returnedStatus);
17198
17200
  selectedProviderSessionId = historyProviderSessionId || providerSessionId;
17199
17201
  selectedTranscriptAuthority = "provider";