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.
Files changed (2) hide show
  1. package/dist/index.js +12 -16
  2. 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
- * Layout (top to bottom): input suggestions/braille metrics.
280281
- * When suggestions are active, they replace the braille row and expand upward. */
280282
- rowPositions(rows) {
280283
- const fh = this._currentFooterHeight;
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: Math.max(inputStartRow - 1, this.scrollRegionTop + 1),
280294
- inputStartRow,
280289
+ scrollEnd: L.scrollRegionBottom,
280290
+ inputStartRow: L.footerBoxTop,
280295
280291
  tabBarRow: -1,
280296
- bufferRow: boxBottomRow,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.76",
3
+ "version": "0.187.77",
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",