@adhdev/daemon-standalone 0.9.82-rc.94 → 0.9.82-rc.95
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 +11 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39209,7 +39209,7 @@ ${effect.notification.body || ""}`.trim();
|
|
|
39209
39209
|
returnedStatus: String(returnedStatus || ""),
|
|
39210
39210
|
selectedMessageSource: messageSource.selected,
|
|
39211
39211
|
messageSource,
|
|
39212
|
-
shouldPreferAdapterMessages: supportsCliNativeTranscript(providerType, provider) && messageSource.selected !== "native-history",
|
|
39212
|
+
shouldPreferAdapterMessages: supportsCliNativeTranscript(providerType, provider) && isNativeSourceCanonicalHistory(provider?.canonicalHistory) && messageSource.selected !== "native-history" && typeof messageSource.fallbackReason === "string" && messageSource.fallbackReason.startsWith("native_history_") && messageSource.fallbackReason !== "native_history_not_checked" && !(selectedTranscriptAuthority === "provider" && selectedCoverage === "full"),
|
|
39213
39213
|
parsedMsgCount: parsedRecord.messages.length,
|
|
39214
39214
|
returnedMsgCount: selectedMessages.length
|
|
39215
39215
|
},
|
|
@@ -44313,10 +44313,14 @@ ${rawInput}` : rawInput;
|
|
|
44313
44313
|
}
|
|
44314
44314
|
const subcommands = resume?.sessionIdFromSubcommand;
|
|
44315
44315
|
if (Array.isArray(subcommands) && subcommands.length > 0) {
|
|
44316
|
+
const hasResumeSubcommand = args.some((arg) => subcommands.includes(arg));
|
|
44316
44317
|
const subcommandSessionId = readSubcommandSessionId(args, subcommands);
|
|
44317
44318
|
if (subcommandSessionId) {
|
|
44318
44319
|
return { providerSessionId: subcommandSessionId, launchMode: "resume" };
|
|
44319
44320
|
}
|
|
44321
|
+
if (hasResumeSubcommand) {
|
|
44322
|
+
return { launchMode: "resume" };
|
|
44323
|
+
}
|
|
44320
44324
|
}
|
|
44321
44325
|
return { launchMode: "manual" };
|
|
44322
44326
|
}
|
|
@@ -44340,6 +44344,12 @@ ${rawInput}` : rawInput;
|
|
|
44340
44344
|
launchMode: explicit.launchMode
|
|
44341
44345
|
};
|
|
44342
44346
|
}
|
|
44347
|
+
if (explicit.launchMode === "resume") {
|
|
44348
|
+
return {
|
|
44349
|
+
cliArgs: baseArgs,
|
|
44350
|
+
launchMode: "resume"
|
|
44351
|
+
};
|
|
44352
|
+
}
|
|
44343
44353
|
if (explicit.launchMode === "manual" && hasArg(baseArgs || [], ["--session-id"])) {
|
|
44344
44354
|
return {
|
|
44345
44355
|
cliArgs: baseArgs,
|