@adhdev/daemon-core 0.9.82-rc.102 → 0.9.82-rc.104
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 +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -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
|
@@ -1310,8 +1310,14 @@ export async function handleReadChat(h: CommandHelpers, args: any): Promise<Comm
|
|
|
1310
1310
|
? (nativeHistory as any).unavailableReason
|
|
1311
1311
|
: undefined;
|
|
1312
1312
|
const lookup = (nativeHistory as any).lookup === 'workspace' ? 'workspace' : 'session';
|
|
1313
|
+
const nativeHistorySessionForMapping = adapter.cliType === 'antigravity-cli'
|
|
1314
|
+
&& historyProviderSessionId
|
|
1315
|
+
&& nativeHistorySessionId
|
|
1316
|
+
&& historyProviderSessionId !== nativeHistorySessionId
|
|
1317
|
+
? undefined
|
|
1318
|
+
: nativeHistorySessionId;
|
|
1313
1319
|
const safeMapping = hasSafeNativeHistoryMapping({
|
|
1314
|
-
historySessionId: lookup === 'workspace' ? undefined :
|
|
1320
|
+
historySessionId: lookup === 'workspace' ? undefined : nativeHistorySessionForMapping,
|
|
1315
1321
|
providerSessionId: lookup === 'workspace' ? undefined : historyProviderSessionId || providerSessionId,
|
|
1316
1322
|
workspace,
|
|
1317
1323
|
nativeMessages,
|