hedgequantx 2.5.18 → 2.5.19
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 +7 -2
package/package.json
CHANGED
package/src/menus/ai-agent.js
CHANGED
|
@@ -46,7 +46,9 @@ const aiAgentMenu = async () => {
|
|
|
46
46
|
// List all agents
|
|
47
47
|
for (let i = 0; i < agents.length; i++) {
|
|
48
48
|
const agent = agents[i];
|
|
49
|
-
|
|
49
|
+
// Show ACTIVE marker (if single agent, it's always active)
|
|
50
|
+
const isActive = agent.isActive || agents.length === 1;
|
|
51
|
+
const activeMarker = isActive ? chalk.green(' [ACTIVE]') : '';
|
|
50
52
|
const providerColor = agent.providerId === 'anthropic' ? chalk.magenta :
|
|
51
53
|
agent.providerId === 'openai' ? chalk.green :
|
|
52
54
|
agent.providerId === 'openrouter' ? chalk.yellow : chalk.cyan;
|
|
@@ -66,7 +68,10 @@ const aiAgentMenu = async () => {
|
|
|
66
68
|
console.log(makeLine(chalk.green('[+] ADD NEW AGENT')));
|
|
67
69
|
|
|
68
70
|
if (agentCount > 0) {
|
|
69
|
-
|
|
71
|
+
// Only show SET ACTIVE if more than 1 agent
|
|
72
|
+
if (agentCount > 1) {
|
|
73
|
+
console.log(makeLine(chalk.cyan('[S] SET ACTIVE AGENT')));
|
|
74
|
+
}
|
|
70
75
|
console.log(makeLine(chalk.yellow('[M] CHANGE MODEL')));
|
|
71
76
|
console.log(makeLine(chalk.red('[R] REMOVE AGENT')));
|
|
72
77
|
if (agentCount > 1) {
|