open-agents-ai 0.184.62 → 0.184.64

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 +21 -16
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -50247,6 +50247,18 @@ async function handleSponsoredEndpoint(ctx, local) {
50247
50247
  }
50248
50248
  } catch {
50249
50249
  }
50250
+ const seenNames = /* @__PURE__ */ new Map();
50251
+ const deduped = [];
50252
+ for (const sp of sponsors) {
50253
+ const existing = seenNames.get(sp.name);
50254
+ if (existing !== void 0) {
50255
+ continue;
50256
+ }
50257
+ seenNames.set(sp.name, deduped.length);
50258
+ deduped.push(sp);
50259
+ }
50260
+ sponsors.length = 0;
50261
+ sponsors.push(...deduped);
50250
50262
  process.stdout.write("\n");
50251
50263
  if (sponsors.length === 0) {
50252
50264
  renderInfo("No sponsored endpoints found on the nexus mesh.");
@@ -52741,7 +52753,7 @@ function createDefaultBanner(version = "0.120.0") {
52741
52753
  const x = r * 7 + c3 * 13 + frame * 3 + 37;
52742
52754
  return (x * x * 31 + x * 17 + 59) % 97 / 97;
52743
52755
  };
52744
- const frameCount = 12;
52756
+ const frameCount = 8;
52745
52757
  const frames = [];
52746
52758
  for (let f = 0; f < frameCount; f++) {
52747
52759
  const grid = [];
@@ -52793,7 +52805,7 @@ function createDefaultBanner(version = "0.120.0") {
52793
52805
  }
52794
52806
  bCol += padded.length + 1;
52795
52807
  }
52796
- frames.push({ grid, durationMs: 120 });
52808
+ frames.push({ grid, durationMs: 200 });
52797
52809
  }
52798
52810
  return {
52799
52811
  id: "default-header",
@@ -53099,14 +53111,9 @@ var init_banner = __esm({
53099
53111
  process.stdout.on("resize", this._resizeHandler);
53100
53112
  if (this.currentDesign.frames.length > 1) {
53101
53113
  this.timer = setInterval(() => {
53102
- this.frameTick++;
53103
- const frame = this.currentDesign.frames[this.currentFrame];
53104
- if (frame.durationMs > 0 && this.frameTick * 80 >= frame.durationMs) {
53105
- this.currentFrame = (this.currentFrame + 1) % this.currentDesign.frames.length;
53106
- this.frameTick = 0;
53107
- this.renderCurrentFrame();
53108
- }
53109
- }, 80);
53114
+ this.currentFrame = (this.currentFrame + 1) % this.currentDesign.frames.length;
53115
+ this.renderCurrentFrame();
53116
+ }, 200);
53110
53117
  }
53111
53118
  return this.rows + 1;
53112
53119
  }
@@ -53130,7 +53137,7 @@ var init_banner = __esm({
53130
53137
  if (!frame)
53131
53138
  return;
53132
53139
  this.width = process.stdout.columns ?? 80;
53133
- let buf = "\x1B[?25l";
53140
+ let buf = "\x1B[?2026h";
53134
53141
  for (let r = 0; r < this.rows; r++) {
53135
53142
  buf += `\x1B[${r + 1};1H\x1B[2K`;
53136
53143
  const row = frame.grid[r];
@@ -53204,9 +53211,7 @@ var init_banner = __esm({
53204
53211
  }
53205
53212
  buf += "\x1B[0m";
53206
53213
  }
53207
- const termRows = process.stdout.rows ?? 24;
53208
- const footerHeight = 3;
53209
- buf += `\x1B[${termRows - footerHeight};1H\x1B[0m\x1B[?25h`;
53214
+ buf += `\x1B[0m\x1B[?2026l`;
53210
53215
  process.stdout.write(buf);
53211
53216
  if (this.onAfterRender)
53212
53217
  this.onAfterRender();
@@ -63350,10 +63355,10 @@ function startApiServer(options = {}) {
63350
63355
  server.listen(port, host);
63351
63356
  }, 2e3);
63352
63357
  } else if (err.code === "EADDRINUSE" && retried) {
63353
- process.stderr.write(` Port ${port} still in use after reclaim attempt \u2014 API server not started.
63358
+ process.stderr.write(` Port ${port} still in use after reclaim attempt \u2014 API server skipped (non-fatal).
63354
63359
  `);
63355
63360
  } else {
63356
- process.stderr.write(` API server error: ${err.message}
63361
+ process.stderr.write(` API server error (non-fatal): ${err.message}
63357
63362
  `);
63358
63363
  }
63359
63364
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.62",
3
+ "version": "0.184.64",
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",