open-agents-ai 0.187.76 → 0.187.77
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 +12 -16
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -280277,25 +280277,21 @@ ${CONTENT_BG_SEQ}`);
|
|
|
280277
280277
|
return 1 + 1 + inputLines + suggestionRows !== this._currentFooterHeight;
|
|
280278
280278
|
}
|
|
280279
280279
|
/** Compute absolute row positions for all footer elements.
|
|
280280
|
-
*
|
|
280281
|
-
*
|
|
280282
|
-
|
|
280283
|
-
|
|
280280
|
+
* DELEGATES TO layout() — the centralized layout manager.
|
|
280281
|
+
* This method exists for backward compatibility with the ~100 call sites
|
|
280282
|
+
* that use `pos.inputStartRow`, `pos.scrollEnd`, etc. */
|
|
280283
|
+
rowPositions(_rows) {
|
|
280284
|
+
setTermSize(process.stdout.rows ?? 24, process.stdout.columns ?? 80);
|
|
280285
|
+
setFooterHeight(this._currentFooterHeight);
|
|
280286
|
+
const L = layout();
|
|
280284
280287
|
const hasSugg = this._suggestions.length > 0;
|
|
280285
|
-
const suggestionAndBottomRows = hasSugg ? this._suggestions.length + 1 : 1;
|
|
280286
|
-
const totalFooter = fh;
|
|
280287
|
-
const metricsRow = rows;
|
|
280288
|
-
const boxBottomRow = metricsRow - 1;
|
|
280289
|
-
const suggestStartRow = hasSugg ? boxBottomRow - this._suggestions.length : -1;
|
|
280290
|
-
const inputEndRow = hasSugg ? suggestStartRow - 1 : boxBottomRow - 1;
|
|
280291
|
-
const inputStartRow = rows - totalFooter + 1;
|
|
280292
280288
|
return {
|
|
280293
|
-
scrollEnd:
|
|
280294
|
-
inputStartRow,
|
|
280289
|
+
scrollEnd: L.scrollRegionBottom,
|
|
280290
|
+
inputStartRow: L.footerBoxTop,
|
|
280295
280291
|
tabBarRow: -1,
|
|
280296
|
-
bufferRow:
|
|
280297
|
-
suggestStartRow,
|
|
280298
|
-
metricsRow,
|
|
280292
|
+
bufferRow: L.footerBoxBottom,
|
|
280293
|
+
suggestStartRow: hasSugg ? L.footerBoxBottom - this._suggestions.length : -1,
|
|
280294
|
+
metricsRow: L.footerMetrics,
|
|
280299
280295
|
topSepRow: -1,
|
|
280300
280296
|
bottomSepRow: -1
|
|
280301
280297
|
};
|
package/package.json
CHANGED