omnius 1.0.288 → 1.0.290
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 +11 -9
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -607638,21 +607638,19 @@ var init_status_bar = __esm({
|
|
|
607638
607638
|
}
|
|
607639
607639
|
getHeaderChromeLayout(termWidth) {
|
|
607640
607640
|
return {
|
|
607641
|
-
showPrev:
|
|
607642
|
-
showNext:
|
|
607641
|
+
showPrev: false,
|
|
607642
|
+
showNext: true,
|
|
607643
607643
|
prevLabel: this._headerExpanded ? "▲" : "▼",
|
|
607644
607644
|
// ▲ ▼
|
|
607645
|
-
contentStartCol:
|
|
607646
|
-
|
|
607647
|
-
innerWidth: Math.max(1, termWidth - 2)
|
|
607645
|
+
contentStartCol: 2,
|
|
607646
|
+
innerWidth: Math.max(1, termWidth - 4)
|
|
607648
607647
|
};
|
|
607649
607648
|
}
|
|
607650
607649
|
hitTestCurrentHeaderAction(row, col, termWidth) {
|
|
607651
607650
|
const hdrRow = layout().headerContent;
|
|
607652
607651
|
if (row !== hdrRow) return null;
|
|
607653
607652
|
const chrome = this.getHeaderChromeLayout(termWidth);
|
|
607654
|
-
if (chrome.
|
|
607655
|
-
if (chrome.showNext && col === termWidth - 1) return "header-next";
|
|
607653
|
+
if (chrome.showNext && col === termWidth - 2) return "header-toggle";
|
|
607656
607654
|
const hit = this._headerCommandZones.find(
|
|
607657
607655
|
(zone) => col >= zone.start && col <= zone.end
|
|
607658
607656
|
);
|
|
@@ -607745,9 +607743,9 @@ var init_status_bar = __esm({
|
|
|
607745
607743
|
let buf = "\x1B7";
|
|
607746
607744
|
buf += `\x1B[${hdrRow};1H${PANEL_BG_SEQ}\x1B[2K`;
|
|
607747
607745
|
buf += `${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607748
|
-
buf += `\x1B[${hdrRow};2H${TEXT_PRIMARY}${chromeLayout.prevLabel}${RESET4}${PANEL_BG_SEQ}`;
|
|
607749
607746
|
buf += `\x1B[38;5;${TEXT_PRIMARY}m${PANEL_BG_SEQ}`;
|
|
607750
607747
|
buf += content;
|
|
607748
|
+
buf += `\x1B[${hdrRow};${w - 2}H${chromeLayout.prevLabel}${RESET4}${PANEL_BG_SEQ}`;
|
|
607751
607749
|
buf += `\x1B[${hdrRow};${w}H${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607752
607750
|
const scrollPct = this._contentScrollOffset > 0 ? `${Math.round(this._contentScrollOffset / this._contentMaxLines * 100)}%` : "live";
|
|
607753
607751
|
if (this._headerExpanded) {
|
|
@@ -607758,7 +607756,11 @@ var init_status_bar = __esm({
|
|
|
607758
607756
|
const subAgents = this._agentViews.size > 1 ? Array.from(this._agentViews.values()).filter((v) => v.id !== "main").map((v) => `${v.status === "running" ? "●" : v.status === "completed" ? "✓" : "○"} ${v.label}`).join(" ") : "no sub-agents";
|
|
607759
607757
|
buf += subAgents.substring(0, w - 4);
|
|
607760
607758
|
buf += `\x1B[${subRow};${w}H${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607761
|
-
const
|
|
607759
|
+
const sepRow = subRow + 1;
|
|
607760
|
+
buf += `\x1B[${sepRow};1H${PANEL_BG_SEQ}\x1B[2K`;
|
|
607761
|
+
buf += `${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607762
|
+
buf += `\x1B[${sepRow};${w}H${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607763
|
+
const scrollRow = sepRow + 1;
|
|
607762
607764
|
buf += `\x1B[${scrollRow};1H${PANEL_BG_SEQ}\x1B[2K`;
|
|
607763
607765
|
buf += `${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607764
607766
|
buf += `\x1B[38;5;${TEXT_DIM}m${PANEL_BG_SEQ}`;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.290",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "omnius",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.290",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED