@youdie006/prodex 0.16.14 → 0.16.15
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/cli-pro.js +6 -3
- package/package.json +1 -1
package/dist/cli-pro.js
CHANGED
|
@@ -581,10 +581,13 @@ export async function runAskProCommand(rest, io) {
|
|
|
581
581
|
// from the confirmed tab).
|
|
582
582
|
const selectionModel = explicitModel ?? browserDefaults?.model;
|
|
583
583
|
const selectionProjectNew = explicitProjectNew;
|
|
584
|
-
// A persisted default project
|
|
585
|
-
//
|
|
584
|
+
// A persisted default project APPLIES under --new-chat: since 0.16.11 a
|
|
585
|
+
// fresh chat inside the project is exactly what "--new-chat + project"
|
|
586
|
+
// produces, and the whole point of pinning a default project is that
|
|
587
|
+
// consults stop landing in the general chat list. Only --target-url
|
|
588
|
+
// (pinned tab) and --project-new suppress it.
|
|
586
589
|
const selectionProject = explicitProject ??
|
|
587
|
-
(normalizedTargetUrl || selectionProjectNew !== undefined
|
|
590
|
+
(normalizedTargetUrl || selectionProjectNew !== undefined ? undefined : browserDefaults?.project);
|
|
588
591
|
const reasoningAxisChosen = explicitProMode !== undefined || explicitEffort !== undefined;
|
|
589
592
|
const selectionProMode = explicitProMode ?? (reasoningAxisChosen ? undefined : browserDefaults?.pro_mode);
|
|
590
593
|
const selectionEffort = explicitEffort ?? (reasoningAxisChosen ? undefined : browserDefaults?.effort);
|