open-agents-ai 0.133.0 → 0.134.0

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -44338,7 +44338,7 @@ var init_banner = __esm({
44338
44338
  this._resizeHandler = null;
44339
44339
  }
44340
44340
  }
44341
- /** Render the current frame into the top 3 rows */
44341
+ /** Render the current frame into the top 3 rows (public for refresh callbacks) */
44342
44342
  renderCurrentFrame() {
44343
44343
  if (!isTTY7 || !this.currentDesign)
44344
44344
  return;
@@ -50439,6 +50439,8 @@ var init_status_bar = __esm({
50439
50439
  stdinHooked = false;
50440
50440
  /** COHERE distributed cognitive commons active flag */
50441
50441
  _cohereActive = false;
50442
+ /** Banner refresh callback — called after resize to re-render top rows */
50443
+ _bannerRefresh = null;
50442
50444
  /** Track previous terminal dimensions to clear ghost separators on resize */
50443
50445
  _prevTermRows = 0;
50444
50446
  _prevTermCols = 0;
@@ -51034,6 +51036,10 @@ var init_status_bar = __esm({
51034
51036
  get cohereActive() {
51035
51037
  return this._cohereActive;
51036
51038
  }
51039
+ /** Set a callback to re-render the banner after resize/redraw */
51040
+ setBannerRefresh(refresh) {
51041
+ this._bannerRefresh = refresh;
51042
+ }
51037
51043
  /** Whether content is currently being written to the scroll region */
51038
51044
  get isWritingContent() {
51039
51045
  return this.writeDepth > 0;
@@ -51124,6 +51130,8 @@ var init_status_bar = __esm({
51124
51130
  clearBuf += "\x1B[?7h";
51125
51131
  process.stdout.write(clearBuf);
51126
51132
  this.renderFooterAndPositionInput();
51133
+ if (this._bannerRefresh)
51134
+ this._bannerRefresh();
51127
51135
  }
51128
51136
  }
51129
51137
  /**
@@ -53036,6 +53044,7 @@ async function startInteractive(config, repoPath) {
53036
53044
  if (process.stdout.isTTY) {
53037
53045
  const scrollTop = carouselLines > 0 ? carouselLines + 1 : 1;
53038
53046
  statusBar.activate(scrollTop);
53047
+ statusBar.setBannerRefresh(() => banner.renderCurrentFrame());
53039
53048
  setContentWriteHook({
53040
53049
  begin: () => statusBar.beginContentWrite(),
53041
53050
  end: () => statusBar.endContentWrite(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.133.0",
3
+ "version": "0.134.0",
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",