open-agents-ai 0.187.60 → 0.187.62
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 +10 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -279434,8 +279434,8 @@ var init_status_bar = __esm({
|
|
|
279434
279434
|
beginContentWrite() {
|
|
279435
279435
|
if (!this.active)
|
|
279436
279436
|
return;
|
|
279437
|
+
this.updateFooterHeight();
|
|
279437
279438
|
this.writeDepth++;
|
|
279438
|
-
this._brailleSpinner.setMetrics({ isStreaming: true });
|
|
279439
279439
|
this.cancelMouseIdle();
|
|
279440
279440
|
this.enableMouseTracking();
|
|
279441
279441
|
const rows = process.stdout.rows ?? 24;
|
|
@@ -280423,7 +280423,14 @@ ${CONTENT_BG_SEQ}`);
|
|
|
280423
280423
|
origTtyWrite(s2, key);
|
|
280424
280424
|
return;
|
|
280425
280425
|
}
|
|
280426
|
-
if (
|
|
280426
|
+
if (key?.name === "return" || key?.name === "enter") {
|
|
280427
|
+
self2.termWrite("\x1B[?25l");
|
|
280428
|
+
origTtyWrite(s2, key);
|
|
280429
|
+
self2.updateFooterHeight();
|
|
280430
|
+
self2.renderFooterAndPositionInput();
|
|
280431
|
+
return;
|
|
280432
|
+
}
|
|
280433
|
+
if (self2.inputStateProvider && key?.name !== "backspace") {
|
|
280427
280434
|
const { line = "" } = self2.inputStateProvider() ?? {};
|
|
280428
280435
|
const w = getTermWidth();
|
|
280429
280436
|
const avail = Math.max(1, w - self2.promptWidth);
|
|
@@ -280660,7 +280667,7 @@ function tuiSelect(opts) {
|
|
|
280660
280667
|
const first2 = findSelectable(0, 1);
|
|
280661
280668
|
cursor = first2 >= 0 ? first2 : 0;
|
|
280662
280669
|
}
|
|
280663
|
-
const reservedTopBottom =
|
|
280670
|
+
const reservedTopBottom = 1;
|
|
280664
280671
|
const hasCrumbs = opts.breadcrumbs && opts.breadcrumbs.length > 0;
|
|
280665
280672
|
const selectChrome = (hasCrumbs ? 11 : 10) + 3;
|
|
280666
280673
|
const contentArea = opts.availableRows ? opts.availableRows + reservedTopBottom : process.stdout.rows ?? 24;
|
package/package.json
CHANGED