@adhdev/daemon-core 0.9.82-rc.103 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adhdev/daemon-core",
3
- "version": "0.9.82-rc.103",
3
+ "version": "0.9.82-rc.104",
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",
@@ -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 : nativeHistorySessionId,
1320
+ historySessionId: lookup === 'workspace' ? undefined : nativeHistorySessionForMapping,
1315
1321
  providerSessionId: lookup === 'workspace' ? undefined : historyProviderSessionId || providerSessionId,
1316
1322
  workspace,
1317
1323
  nativeMessages,