@adhdev/daemon-core 0.9.82-rc.108 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.82-rc.108",
3
+ "version": "0.9.82-rc.109",
4
4
  "description": "ADHDev daemon core — CDP, IDE detection, providers, command execution",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1330,7 +1330,13 @@ export async function handleReadChat(h: CommandHelpers, args: any): Promise<Comm
1330
1330
  nativeMessages,
1331
1331
  ptyMessages: returnedMessages,
1332
1332
  });
1333
- if ((nativeHistory as any).source === 'provider-native' && nativeMessages.length > 0 && nativeHistoryCoverage !== 'partial' && nativeHistoryCoverage !== 'unavailable' && safeMapping && freshEnough) {
1333
+ const nativeUsableForChatMessages = (nativeHistory as any).source === 'provider-native'
1334
+ && nativeMessages.length > 0
1335
+ && nativeHistoryCoverage !== 'partial'
1336
+ && nativeHistoryCoverage !== 'unavailable'
1337
+ && safeMapping;
1338
+ const allowStaleNativeChatMessages = adapter.cliType === 'antigravity-cli' && nativeUsableForChatMessages;
1339
+ if (nativeUsableForChatMessages && (freshEnough || allowStaleNativeChatMessages)) {
1334
1340
  selectedMessages = finalizeStreamingMessagesWhenIdle(nativeMessages, returnedStatus);
1335
1341
  selectedProviderSessionId = historyProviderSessionId || providerSessionId;
1336
1342
  selectedTranscriptAuthority = 'provider';