@youdie006/prodex 0.40.16 → 0.40.17
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 +15 -0
- package/package.json +1 -1
package/dist/cli-pro.js
CHANGED
|
@@ -3075,6 +3075,21 @@ export function printBrowserLoginGuide(stdout, input) {
|
|
|
3075
3075
|
: input.opened
|
|
3076
3076
|
? "Opened the dedicated Chrome window for ChatGPT."
|
|
3077
3077
|
: "Dry run: no browser was opened.");
|
|
3078
|
+
if (noInteractiveWindow && !input.opened && !input.reused) {
|
|
3079
|
+
const previewCommand = formatBrowserLoginCommand(input.sourceCli, {
|
|
3080
|
+
...input.commandOptions,
|
|
3081
|
+
profileDir: input.profileDir,
|
|
3082
|
+
port: input.port
|
|
3083
|
+
});
|
|
3084
|
+
const modeFlag = input.headless ? "--headless" : "--virtual-display";
|
|
3085
|
+
stdout("");
|
|
3086
|
+
stdout(`Next: run \`${previewCommand} ${modeFlag}\` without \`--dry-run\` to start or reuse Chrome with no visible window.`);
|
|
3087
|
+
stdout("Readiness was not checked. A real launch reuses this profile and reports any login or protection blocker; it does not switch to a visible window automatically.");
|
|
3088
|
+
stdout("");
|
|
3089
|
+
stdout(`Profile: ${input.profileDir}`);
|
|
3090
|
+
stdout(`Debug: http://127.0.0.1:${input.port}`);
|
|
3091
|
+
return;
|
|
3092
|
+
}
|
|
3078
3093
|
if (noInteractiveWindow && (input.opened || input.reused)) {
|
|
3079
3094
|
stdout("");
|
|
3080
3095
|
stdout(input.headless
|