open-agents-ai 0.184.60 → 0.184.61

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49450,15 +49450,20 @@ async function showCohereDashboard(ctx) {
49450
49450
  }
49451
49451
  }
49452
49452
  async function showModelPicker(ctx, local = false) {
49453
+ const BRAILLE_CYCLE = ["\u2800", "\u2840", "\u28C0", "\u28C4", "\u28E4", "\u28E6", "\u28F6", "\u28F7", "\u28FF", "\u28F7", "\u28F6", "\u28E6", "\u28E4", "\u28C4", "\u28C0", "\u2840"];
49454
+ let spinFrame = 0;
49455
+ const spinTimer = setInterval(() => {
49456
+ process.stdout.write(`\r ${c2.cyan("\u25CF")} Loading models ${c2.cyan(BRAILLE_CYCLE[spinFrame++ % BRAILLE_CYCLE.length])}`);
49457
+ }, 80);
49453
49458
  try {
49454
- const BRAILLE_CYCLE = ["\u2800", "\u2840", "\u28C0", "\u28C4", "\u28E4", "\u28E6", "\u28F6", "\u28F7", "\u28FF", "\u28F7", "\u28F6", "\u28E6", "\u28E4", "\u28C4", "\u28C0", "\u2840"];
49455
- let spinFrame = 0;
49456
- const spinTimer = setInterval(() => {
49457
- process.stdout.write(`\r ${c2.cyan("\u25CF")} Loading models ${c2.cyan(BRAILLE_CYCLE[spinFrame++ % BRAILLE_CYCLE.length])}`);
49458
- }, 80);
49459
- const models = await fetchModels(ctx.config.backendUrl, ctx.config.apiKey);
49460
- clearInterval(spinTimer);
49461
- process.stdout.write(`\r ${c2.green("\u2714")} ${models.length} models loaded${" ".repeat(20)}
49459
+ let models;
49460
+ try {
49461
+ models = await fetchModels(ctx.config.backendUrl, ctx.config.apiKey);
49462
+ } finally {
49463
+ clearInterval(spinTimer);
49464
+ process.stdout.write(`\r${" ".repeat(40)}\r`);
49465
+ }
49466
+ process.stdout.write(` ${c2.green("\u2714")} ${models.length} models loaded
49462
49467
  `);
49463
49468
  if (models.length === 0) {
49464
49469
  renderWarning("No models found.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.60",
3
+ "version": "0.184.61",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",