hedgequantx 2.6.112 → 2.6.113
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/package.json +1 -1
- package/src/menus/ai-agent.js +8 -1
package/package.json
CHANGED
package/src/menus/ai-agent.js
CHANGED
|
@@ -1042,7 +1042,14 @@ const setupProxyOAuth = async (provider, config) => {
|
|
|
1042
1042
|
console.log(chalk.gray(' (The page showing http://localhost:54545/callback?code=...)'));
|
|
1043
1043
|
console.log();
|
|
1044
1044
|
|
|
1045
|
-
|
|
1045
|
+
// Use inquirer directly for reliable input on VPS
|
|
1046
|
+
const inquirer = require('inquirer');
|
|
1047
|
+
const { callbackUrl } = await inquirer.prompt([{
|
|
1048
|
+
type: 'input',
|
|
1049
|
+
name: 'callbackUrl',
|
|
1050
|
+
message: 'Callback URL:',
|
|
1051
|
+
prefix: ' '
|
|
1052
|
+
}]);
|
|
1046
1053
|
|
|
1047
1054
|
if (callbackUrl && callbackUrl.trim()) {
|
|
1048
1055
|
const submitSpinner = ora({ text: 'Submitting callback...', color: 'cyan' }).start();
|