hedgequantx 2.7.96 → 2.7.97
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
CHANGED
|
@@ -100,7 +100,7 @@ const drawProvidersTable = (providers, config, boxWidth) => {
|
|
|
100
100
|
|
|
101
101
|
// New rectangle (banner is always closed)
|
|
102
102
|
console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));
|
|
103
|
-
console.log(chalk.cyan('║') + chalk.
|
|
103
|
+
console.log(chalk.cyan('║') + chalk.cyan.bold(centerText('AI AGENTS CONFIGURATION', W)) + chalk.cyan('║'));
|
|
104
104
|
console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
|
|
105
105
|
|
|
106
106
|
const rows = Math.ceil(providers.length / 2);
|
|
@@ -122,12 +122,12 @@ const drawProvidersTable = (providers, config, boxWidth) => {
|
|
|
122
122
|
let leftCol = '';
|
|
123
123
|
if (leftP) {
|
|
124
124
|
const num = row + 1;
|
|
125
|
-
// Show
|
|
125
|
+
// Show cyan dot if provider has auth file (connected via OAuth)
|
|
126
126
|
const isConnected = connected[leftP.id] || config.providers[leftP.id]?.active;
|
|
127
|
-
const status = isConnected ? chalk.
|
|
127
|
+
const status = isConnected ? chalk.cyan('● ') : ' ';
|
|
128
128
|
const name = leftP.provider ? leftP.provider.name : leftP.name;
|
|
129
129
|
const namePadded = name.toUpperCase().padEnd(maxNameLen);
|
|
130
|
-
const content = status + chalk.
|
|
130
|
+
const content = status + chalk.yellow(`[${num}]`) + ' ' + chalk.cyan(namePadded);
|
|
131
131
|
const contentLen = 2 + 3 + 1 + maxNameLen;
|
|
132
132
|
const padR = colWidth - leftPad - contentLen;
|
|
133
133
|
leftCol = ' '.repeat(leftPad) + content + ' '.repeat(Math.max(0, padR));
|
|
@@ -140,12 +140,12 @@ const drawProvidersTable = (providers, config, boxWidth) => {
|
|
|
140
140
|
const rightColWidth = W - colWidth;
|
|
141
141
|
if (rightP) {
|
|
142
142
|
const num = row + rows + 1;
|
|
143
|
-
// Show
|
|
143
|
+
// Show cyan dot if provider has auth file (connected via OAuth)
|
|
144
144
|
const isConnected = connected[rightP.id] || config.providers[rightP.id]?.active;
|
|
145
|
-
const status = isConnected ? chalk.
|
|
145
|
+
const status = isConnected ? chalk.cyan('● ') : ' ';
|
|
146
146
|
const name = rightP.provider ? rightP.provider.name : rightP.name;
|
|
147
147
|
const namePadded = name.toUpperCase().padEnd(maxNameLen);
|
|
148
|
-
const content = status + chalk.
|
|
148
|
+
const content = status + chalk.yellow(`[${num}]`) + ' ' + chalk.cyan(namePadded);
|
|
149
149
|
const contentLen = 2 + 3 + 1 + maxNameLen;
|
|
150
150
|
const padR2 = rightColWidth - rightPad - contentLen;
|
|
151
151
|
rightCol = ' '.repeat(rightPad) + content + ' '.repeat(Math.max(0, padR2));
|