open-agents-ai 0.187.416 → 0.187.417
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 +15 -4
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -532534,6 +532534,8 @@ var init_status_bar = __esm({
|
|
|
532534
532534
|
/** Index of the currently visible panel (0 = main) */
|
|
532535
532535
|
_headerPanelIndex = 0;
|
|
532536
532536
|
_headerCommandZones = [];
|
|
532537
|
+
/** Sys panel separator column offset (for T-junction rendering) */
|
|
532538
|
+
_sysSeparatorOffset = null;
|
|
532537
532539
|
/** Register a header panel. Returns its index. */
|
|
532538
532540
|
registerHeaderPanel(id, render2, meta) {
|
|
532539
532541
|
const existing = this._headerPanels.findIndex((p2) => p2.id === id);
|
|
@@ -532645,6 +532647,8 @@ var init_status_bar = __esm({
|
|
|
532645
532647
|
} else {
|
|
532646
532648
|
sysItems.push({ render: () => `\x1B[38;5;${TEXT_DIM}m no sub-agents `, w: 14 });
|
|
532647
532649
|
}
|
|
532650
|
+
const sysSeparatorOffset = sysItems.reduce((sum, item) => sum + item.w, 0);
|
|
532651
|
+
this._sysSeparatorOffset = sysSeparatorOffset;
|
|
532648
532652
|
sysItems.push({ render: () => `${BOX_FG}│${RESET2}${PANEL_BG_SEQ} `, w: 2 });
|
|
532649
532653
|
const voiceLabel = this._voiceActive ? ` ${this._voiceModelId || "voice"} ` : " voice ";
|
|
532650
532654
|
const voiceIcon = this._voiceActive ? "●" : "○";
|
|
@@ -532670,7 +532674,7 @@ var init_status_bar = __esm({
|
|
|
532670
532674
|
let out = "";
|
|
532671
532675
|
for (const item of items) out += item.render();
|
|
532672
532676
|
return out;
|
|
532673
|
-
}, { kind: "system" });
|
|
532677
|
+
}, { kind: "system", isFirstPage: pi === 0 });
|
|
532674
532678
|
}
|
|
532675
532679
|
this._headerPanelIndex = Math.min(savedIdx, Math.max(0, this._headerPanels.length - 1));
|
|
532676
532680
|
}
|
|
@@ -532694,10 +532698,17 @@ var init_status_bar = __esm({
|
|
|
532694
532698
|
}
|
|
532695
532699
|
getHeaderBorderSeparatorColumns(termWidth = termCols()) {
|
|
532696
532700
|
const panel = this._headerPanels[this._headerPanelIndex];
|
|
532697
|
-
if (!panel?.meta?.isFirstPage
|
|
532701
|
+
if (!panel?.meta?.isFirstPage) return [];
|
|
532698
532702
|
const chrome = this.getHeaderChromeLayout(termWidth);
|
|
532699
|
-
|
|
532700
|
-
|
|
532703
|
+
if (panel.meta.kind === "main") {
|
|
532704
|
+
const identity3 = this.buildHeaderIdentityRender();
|
|
532705
|
+
return identity3.separatorOffsets.map((offset) => chrome.contentStartCol + offset).filter((col) => col > 1 && col < termWidth);
|
|
532706
|
+
}
|
|
532707
|
+
if (panel.meta.kind === "system" && this._sysSeparatorOffset !== null) {
|
|
532708
|
+
const col = chrome.contentStartCol + this._sysSeparatorOffset;
|
|
532709
|
+
if (col > 1 && col < termWidth) return [col];
|
|
532710
|
+
}
|
|
532711
|
+
return [];
|
|
532701
532712
|
}
|
|
532702
532713
|
getHeaderChromeLayout(termWidth) {
|
|
532703
532714
|
const hasMultiple = this._headerPanels.length > 1;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.187.
|
|
3
|
+
"version": "0.187.417",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "open-agents-ai",
|
|
9
|
-
"version": "0.187.
|
|
9
|
+
"version": "0.187.417",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "CC-BY-NC-4.0",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED