open-agents-ai 0.187.110 → 0.187.111
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 +8 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -278745,7 +278745,7 @@ function setTerminalTitle(task, version4) {
|
|
|
278745
278745
|
const title = task ? `${task.slice(0, 60)} \xB7 ${ver}` : ver;
|
|
278746
278746
|
process.stdout.write(`\x1B]2;${title}\x07`);
|
|
278747
278747
|
}
|
|
278748
|
-
var EXPERT_TOOL_BASELINES, CONTEXT_SWITCH_OVERHEAD, TURN_PLANNING_OVERHEAD, DEFAULT_TOOL_BASELINE, CODE_READ_CHARS_PER_SEC, PROSE_READ_CHARS_PER_SEC, MIN_CONTENT_FOR_READING, CODE_CONTENT_TOOLS, PROSE_CONTENT_TOOLS, HumanSpeedTracker, PANEL_BG_SEQ, CONTENT_BG_SEQ, BOX_FG, TEXT_PRIMARY, TEXT_DIM, BOX_TL, BOX_TR, BOX_BL, BOX_BR, BOX_H, BOX_V, _globalFooterLock, RESET, _isWindows, StatusBar;
|
|
278748
|
+
var EXPERT_TOOL_BASELINES, CONTEXT_SWITCH_OVERHEAD, TURN_PLANNING_OVERHEAD, DEFAULT_TOOL_BASELINE, CODE_READ_CHARS_PER_SEC, PROSE_READ_CHARS_PER_SEC, MIN_CONTENT_FOR_READING, CODE_CONTENT_TOOLS, PROSE_CONTENT_TOOLS, HumanSpeedTracker, PANEL_BG_SEQ, CONTENT_BG_SEQ, BOX_FG, TEXT_PRIMARY, TEXT_DIM, BOX_TL, BOX_TR, BOX_BL, BOX_BR, BOX_H, BOX_V, _globalFooterLock, RESET, CURSOR_BLINK_BLOCK, _isWindows, StatusBar;
|
|
278749
278749
|
var init_status_bar = __esm({
|
|
278750
278750
|
"packages/cli/dist/tui/status-bar.js"() {
|
|
278751
278751
|
"use strict";
|
|
@@ -278927,6 +278927,7 @@ var init_status_bar = __esm({
|
|
|
278927
278927
|
BOX_V = "\u2502";
|
|
278928
278928
|
_globalFooterLock = false;
|
|
278929
278929
|
RESET = "\x1B[0m";
|
|
278930
|
+
CURSOR_BLINK_BLOCK = "\x1B[1 q";
|
|
278930
278931
|
_isWindows = process.platform === "win32";
|
|
278931
278932
|
StatusBar = class _StatusBar {
|
|
278932
278933
|
metrics = {
|
|
@@ -280726,7 +280727,7 @@ ${CONTENT_BG_SEQ}`);
|
|
|
280726
280727
|
if (!this.active)
|
|
280727
280728
|
return;
|
|
280728
280729
|
const L = layout();
|
|
280729
|
-
this.termWrite(`\x1B[${L.footerInput};${this.promptWidth + 2}H\x1B[?25h`);
|
|
280730
|
+
this.termWrite(`\x1B[${L.footerInput};${this.promptWidth + 2}H${CURSOR_BLINK_BLOCK}\x1B[?25h`);
|
|
280730
280731
|
}
|
|
280731
280732
|
/** Strip ANSI escape codes to measure visible character width */
|
|
280732
280733
|
static visWidth(s2) {
|
|
@@ -281137,7 +281138,9 @@ ${CONTENT_BG_SEQ}`);
|
|
|
281137
281138
|
return {
|
|
281138
281139
|
lines: [displayLine],
|
|
281139
281140
|
cursorRow: 0,
|
|
281140
|
-
|
|
281141
|
+
// Align with bordered input layout: col1 is │, content starts at col2.
|
|
281142
|
+
// Keep this consistent with the wrapped path (+2) and positionAtInput().
|
|
281143
|
+
cursorCol: this.promptWidth + cursorPos + 2
|
|
281141
281144
|
};
|
|
281142
281145
|
}
|
|
281143
281146
|
const rawLines = [];
|
|
@@ -281268,7 +281271,7 @@ ${CONTENT_BG_SEQ}`);
|
|
|
281268
281271
|
buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET}`;
|
|
281269
281272
|
buf += "\x1B[?7h";
|
|
281270
281273
|
if (this.writeDepth === 0) {
|
|
281271
|
-
buf += `\x1B[${cursorTermRow};${inputWrap.cursorCol}H\x1B[?25h`;
|
|
281274
|
+
buf += `\x1B[${cursorTermRow};${inputWrap.cursorCol}H${CURSOR_BLINK_BLOCK}\x1B[?25h`;
|
|
281272
281275
|
}
|
|
281273
281276
|
this.termWrite(buf);
|
|
281274
281277
|
}
|
|
@@ -281317,7 +281320,7 @@ ${CONTENT_BG_SEQ}`);
|
|
|
281317
281320
|
buf += `\x1B[${pos.bufferRow};1H${PANEL_BG_SEQ}\x1B[2K${BOX_FG}${BOX_BL}${BOX_H.repeat(Math.max(0, boxInnerR))}${BOX_BR}${RESET}`;
|
|
281318
281321
|
}
|
|
281319
281322
|
buf += `\x1B[${pos.metricsRow};1H${PANEL_BG_SEQ}\x1B[2K${this.buildMetricsLine()}${RESET}\x1B[?7h\x1B8` + // DEC restore cursor
|
|
281320
|
-
(this.writeDepth === 0 ?
|
|
281323
|
+
(this.writeDepth === 0 ? `${CURSOR_BLINK_BLOCK}\x1B[?25h` : "");
|
|
281321
281324
|
this.termWrite(buf);
|
|
281322
281325
|
if (pos.tabBarRow > 0)
|
|
281323
281326
|
this.renderAgentTabs();
|
package/package.json
CHANGED