open-agents-ai 0.138.24 → 0.138.25
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 +11 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -36600,7 +36600,7 @@ function tuiSelect(opts) {
|
|
|
36600
36600
|
}
|
|
36601
36601
|
stdin.resume();
|
|
36602
36602
|
enterOverlay();
|
|
36603
|
-
overlayWrite("\x1B[?1049h\x1B[2J\x1B[H\x1B[?25l");
|
|
36603
|
+
overlayWrite("\x1B[?1049h\x1B[48;5;234m\x1B[2J\x1B[H\x1B[?25l");
|
|
36604
36604
|
function clampScroll(displayList) {
|
|
36605
36605
|
const cursorPos = displayList.indexOf(cursor);
|
|
36606
36606
|
if (cursorPos < 0)
|
|
@@ -36614,7 +36614,7 @@ function tuiSelect(opts) {
|
|
|
36614
36614
|
scrollOffset = Math.max(0, Math.min(maxOffset, scrollOffset));
|
|
36615
36615
|
}
|
|
36616
36616
|
function render() {
|
|
36617
|
-
overlayWrite("\x1B[H\x1B[2J");
|
|
36617
|
+
overlayWrite("\x1B[48;5;234m\x1B[H\x1B[2J");
|
|
36618
36618
|
const lines = [];
|
|
36619
36619
|
if (title) {
|
|
36620
36620
|
lines.push(`
|
|
@@ -51308,6 +51308,10 @@ var init_status_bar = __esm({
|
|
|
51308
51308
|
get isActive() {
|
|
51309
51309
|
return this.active;
|
|
51310
51310
|
}
|
|
51311
|
+
/** Whether content is currently being streamed (writeDepth > 0) */
|
|
51312
|
+
get isStreaming() {
|
|
51313
|
+
return this.writeDepth > 0;
|
|
51314
|
+
}
|
|
51311
51315
|
/** Set/get COHERE participation state — shows 🌐 in metrics when active */
|
|
51312
51316
|
setCohereActive(active) {
|
|
51313
51317
|
this._cohereActive = active;
|
|
@@ -53668,10 +53672,14 @@ async function startInteractive(config, repoPath) {
|
|
|
53668
53672
|
checkForUpdate(version).then((updateInfo) => {
|
|
53669
53673
|
if (updateInfo) {
|
|
53670
53674
|
const writeMsg = () => {
|
|
53675
|
+
if (statusBar?.isActive && statusBar.isStreaming) {
|
|
53676
|
+
setTimeout(writeMsg, 3e3);
|
|
53677
|
+
return;
|
|
53678
|
+
}
|
|
53671
53679
|
if (statusBar?.isActive)
|
|
53672
53680
|
statusBar.beginContentWrite();
|
|
53673
53681
|
renderWarning(`Update available: v${updateInfo.currentVersion} \u2192 v${c2.bold(c2.green(updateInfo.latestVersion))}`);
|
|
53674
|
-
renderInfo(`Run /update to install
|
|
53682
|
+
renderInfo(`Run /update to install.`);
|
|
53675
53683
|
if (statusBar?.isActive)
|
|
53676
53684
|
statusBar.endContentWrite();
|
|
53677
53685
|
};
|
package/package.json
CHANGED