open-agents-ai 0.138.21 → 0.138.23

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 +29 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -50075,7 +50075,8 @@ var init_braille_spinner = __esm({
50075
50075
  ];
50076
50076
  WAVE = [...DENSITY, ...DENSITY.slice(1, -1).reverse()];
50077
50077
  THEME_DEFAULT = {
50078
- ramp: [237, 60, 97, 97, 141, 141, 183, 183, 189],
50078
+ ramp: [237, 94, 130, 136, 172, 172, 178, 178, 214],
50079
+ // grey → amber → yellow (matches header)
50079
50080
  speed: 2
50080
50081
  };
50081
50082
  THEME_FILE = {
@@ -51599,7 +51600,7 @@ ${CONTENT_BG_SEQ}`);
51599
51600
  buildMetricsLine() {
51600
51601
  const m = this.metrics;
51601
51602
  const termWidth = getTermWidth();
51602
- const pastel2 = (code, s) => `\x1B[38;5;${code}m${s}\x1B[0m`;
51603
+ const pastel2 = (code, s) => `${PANEL_BG_SEQ}\x1B[38;5;${code}m${s}\x1B[0m${PANEL_BG_SEQ}`;
51603
51604
  const pipe = pastel2(60, " \u2502 ");
51604
51605
  const pipeW = 3;
51605
51606
  const sections = [];
@@ -51875,7 +51876,7 @@ ${CONTENT_BG_SEQ}`);
51875
51876
  first = false;
51876
51877
  result += isCompact[idx] ? sections[idx].compact : sections[idx].expanded;
51877
51878
  }
51878
- return result;
51879
+ return result.replace(/\x1B\[0m/g, `\x1B[0m${PANEL_BG_SEQ}`);
51879
51880
  }
51880
51881
  // -------------------------------------------------------------------------
51881
51882
  // Private
@@ -52168,12 +52169,37 @@ ${CONTENT_BG_SEQ}`);
52168
52169
  return;
52169
52170
  const self = this;
52170
52171
  const origTtyWrite = rl._ttyWrite.bind(rl);
52172
+ let arrowBurst = 0;
52173
+ let arrowBurstDir = "";
52174
+ let arrowBurstTimer = null;
52171
52175
  rl._ttyWrite = function(s, key) {
52172
52176
  if (!self.active)
52173
52177
  return origTtyWrite(s, key);
52174
52178
  if (s && (/\x1B\[</.test(s) || /^\d+;\d+;\d*[Mm]/.test(s) || /^;\d+[Mm]/.test(s) || /\[<\d/.test(s))) {
52175
52179
  return;
52176
52180
  }
52181
+ if (key?.name === "up" || key?.name === "down") {
52182
+ const dir = key.name;
52183
+ if (dir === arrowBurstDir) {
52184
+ arrowBurst++;
52185
+ } else {
52186
+ arrowBurst = 1;
52187
+ arrowBurstDir = dir;
52188
+ }
52189
+ if (arrowBurstTimer)
52190
+ clearTimeout(arrowBurstTimer);
52191
+ arrowBurstTimer = setTimeout(() => {
52192
+ arrowBurst = 0;
52193
+ arrowBurstDir = "";
52194
+ }, 80);
52195
+ if (arrowBurst >= 3) {
52196
+ if (dir === "up")
52197
+ self.scrollContentUp(1);
52198
+ else
52199
+ self.scrollContentDown(1);
52200
+ return;
52201
+ }
52202
+ }
52177
52203
  if (key?.name === "pageup" || s === "\x1B[5~") {
52178
52204
  self.pageUpContent();
52179
52205
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.138.21",
3
+ "version": "0.138.23",
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",