@adhdev/daemon-standalone 0.9.82-rc.85 → 0.9.82-rc.87
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 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38176,7 +38176,7 @@ ${effect.notification.body || ""}`.trim();
|
|
|
38176
38176
|
}
|
|
38177
38177
|
function supportsCliNativeTranscript(providerType, provider) {
|
|
38178
38178
|
if (CLI_NATIVE_TRANSCRIPT_PROVIDERS.has(providerType)) return true;
|
|
38179
|
-
return provider?.category === "cli" && provider?.canonicalHistory
|
|
38179
|
+
return provider?.category === "cli" && isNativeSourceCanonicalHistory(provider?.canonicalHistory);
|
|
38180
38180
|
}
|
|
38181
38181
|
function hasSafeNativeHistoryMapping(args) {
|
|
38182
38182
|
const explicitSessionId = String(args.historySessionId || args.providerSessionId || "").trim();
|
|
@@ -38788,7 +38788,7 @@ ${effect.notification.body || ""}`.trim();
|
|
|
38788
38788
|
returnedMessages,
|
|
38789
38789
|
ptyStatusApprovalOnly: false
|
|
38790
38790
|
});
|
|
38791
|
-
if (supportsCliNativeTranscript(providerType, provider) && provider?.canonicalHistory
|
|
38791
|
+
if (supportsCliNativeTranscript(providerType, provider) && isNativeSourceCanonicalHistory(provider?.canonicalHistory)) {
|
|
38792
38792
|
const agentStr = provider?.type || args?.agentType || getCurrentProviderType(h, adapter.cliType);
|
|
38793
38793
|
const workspace = typeof args?.workspace === "string" ? args.workspace : typeof h.currentSession?.workspace === "string" ? h.currentSession.workspace : typeof adapter.workingDir === "string" ? adapter.workingDir : void 0;
|
|
38794
38794
|
const nativeHistoryLimit = Math.max(
|
|
@@ -38949,7 +38949,7 @@ ${effect.notification.body || ""}`.trim();
|
|
|
38949
38949
|
freshEnough: true,
|
|
38950
38950
|
ptyStatusApprovalOnly: false
|
|
38951
38951
|
});
|
|
38952
|
-
const requiresNativeSource = supportsCliNativeTranscript(agentStr, provider) && provider?.canonicalHistory
|
|
38952
|
+
const requiresNativeSource = supportsCliNativeTranscript(agentStr, provider) && isNativeSourceCanonicalHistory(provider?.canonicalHistory);
|
|
38953
38953
|
if (requiresNativeSource && !nativeSelected) {
|
|
38954
38954
|
return {
|
|
38955
38955
|
success: false,
|