@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 CHANGED
@@ -17179,8 +17179,9 @@ async function handleReadChat(h, args) {
17179
17179
  const partialReason = typeof nativeHistory?.partialReason === "string" ? nativeHistory.partialReason : void 0;
17180
17180
  const unavailableReason = typeof nativeHistory?.unavailableReason === "string" ? nativeHistory.unavailableReason : void 0;
17181
17181
  const lookup = nativeHistory.lookup === "workspace" ? "workspace" : "session";
17182
+ const nativeHistorySessionForMapping = adapter.cliType === "antigravity-cli" && historyProviderSessionId && nativeHistorySessionId && historyProviderSessionId !== nativeHistorySessionId ? void 0 : nativeHistorySessionId;
17182
17183
  const safeMapping = hasSafeNativeHistoryMapping({
17183
- historySessionId: lookup === "workspace" ? void 0 : nativeHistorySessionId,
17184
+ historySessionId: lookup === "workspace" ? void 0 : nativeHistorySessionForMapping,
17184
17185
  providerSessionId: lookup === "workspace" ? void 0 : historyProviderSessionId || providerSessionId,
17185
17186
  workspace,
17186
17187
  nativeMessages,