@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/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/package.json
CHANGED
|
@@ -1330,7 +1330,13 @@ export async function handleReadChat(h: CommandHelpers, args: any): Promise<Comm
|
|
|
1330
1330
|
nativeMessages,
|
|
1331
1331
|
ptyMessages: returnedMessages,
|
|
1332
1332
|
});
|
|
1333
|
-
|
|
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';
|