open-agents-ai 0.184.63 → 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.
- package/dist/index.js +9 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52753,7 +52753,7 @@ function createDefaultBanner(version = "0.120.0") {
|
|
|
52753
52753
|
const x = r * 7 + c3 * 13 + frame * 3 + 37;
|
|
52754
52754
|
return (x * x * 31 + x * 17 + 59) % 97 / 97;
|
|
52755
52755
|
};
|
|
52756
|
-
const frameCount =
|
|
52756
|
+
const frameCount = 8;
|
|
52757
52757
|
const frames = [];
|
|
52758
52758
|
for (let f = 0; f < frameCount; f++) {
|
|
52759
52759
|
const grid = [];
|
|
@@ -52805,7 +52805,7 @@ function createDefaultBanner(version = "0.120.0") {
|
|
|
52805
52805
|
}
|
|
52806
52806
|
bCol += padded.length + 1;
|
|
52807
52807
|
}
|
|
52808
|
-
frames.push({ grid, durationMs:
|
|
52808
|
+
frames.push({ grid, durationMs: 200 });
|
|
52809
52809
|
}
|
|
52810
52810
|
return {
|
|
52811
52811
|
id: "default-header",
|
|
@@ -53111,14 +53111,9 @@ var init_banner = __esm({
|
|
|
53111
53111
|
process.stdout.on("resize", this._resizeHandler);
|
|
53112
53112
|
if (this.currentDesign.frames.length > 1) {
|
|
53113
53113
|
this.timer = setInterval(() => {
|
|
53114
|
-
this.
|
|
53115
|
-
|
|
53116
|
-
|
|
53117
|
-
this.currentFrame = (this.currentFrame + 1) % this.currentDesign.frames.length;
|
|
53118
|
-
this.frameTick = 0;
|
|
53119
|
-
this.renderCurrentFrame();
|
|
53120
|
-
}
|
|
53121
|
-
}, 80);
|
|
53114
|
+
this.currentFrame = (this.currentFrame + 1) % this.currentDesign.frames.length;
|
|
53115
|
+
this.renderCurrentFrame();
|
|
53116
|
+
}, 200);
|
|
53122
53117
|
}
|
|
53123
53118
|
return this.rows + 1;
|
|
53124
53119
|
}
|
|
@@ -53142,7 +53137,7 @@ var init_banner = __esm({
|
|
|
53142
53137
|
if (!frame)
|
|
53143
53138
|
return;
|
|
53144
53139
|
this.width = process.stdout.columns ?? 80;
|
|
53145
|
-
let buf = "\x1B[?
|
|
53140
|
+
let buf = "\x1B[?2026h";
|
|
53146
53141
|
for (let r = 0; r < this.rows; r++) {
|
|
53147
53142
|
buf += `\x1B[${r + 1};1H\x1B[2K`;
|
|
53148
53143
|
const row = frame.grid[r];
|
|
@@ -53216,9 +53211,7 @@ var init_banner = __esm({
|
|
|
53216
53211
|
}
|
|
53217
53212
|
buf += "\x1B[0m";
|
|
53218
53213
|
}
|
|
53219
|
-
|
|
53220
|
-
const footerHeight = 3;
|
|
53221
|
-
buf += `\x1B[${termRows - footerHeight};1H\x1B[0m\x1B[?25h`;
|
|
53214
|
+
buf += `\x1B[0m\x1B[?2026l`;
|
|
53222
53215
|
process.stdout.write(buf);
|
|
53223
53216
|
if (this.onAfterRender)
|
|
53224
53217
|
this.onAfterRender();
|
|
@@ -63362,10 +63355,10 @@ function startApiServer(options = {}) {
|
|
|
63362
63355
|
server.listen(port, host);
|
|
63363
63356
|
}, 2e3);
|
|
63364
63357
|
} else if (err.code === "EADDRINUSE" && retried) {
|
|
63365
|
-
process.stderr.write(` Port ${port} still in use after reclaim attempt \u2014 API server
|
|
63358
|
+
process.stderr.write(` Port ${port} still in use after reclaim attempt \u2014 API server skipped (non-fatal).
|
|
63366
63359
|
`);
|
|
63367
63360
|
} else {
|
|
63368
|
-
process.stderr.write(` API server error: ${err.message}
|
|
63361
|
+
process.stderr.write(` API server error (non-fatal): ${err.message}
|
|
63369
63362
|
`);
|
|
63370
63363
|
}
|
|
63371
63364
|
});
|
package/package.json
CHANGED