omnius 1.0.280 → 1.0.282
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 +9 -11
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -607339,10 +607339,7 @@ var init_status_bar = __esm({
|
|
|
607339
607339
|
...sponsorLabel && sponsorLink ? { linkUrl: sponsorLink } : {}
|
|
607340
607340
|
}
|
|
607341
607341
|
];
|
|
607342
|
-
const model = this.summarizeHeaderModelName();
|
|
607343
607342
|
const transport = this.summarizeHeaderTransport();
|
|
607344
|
-
if (model)
|
|
607345
|
-
parts.push({ text: ` ${model} `, width: stripAnsi(` ${model} `).length });
|
|
607346
607343
|
if (transport)
|
|
607347
607344
|
parts.push({
|
|
607348
607345
|
text: ` ${transport} `,
|
|
@@ -607463,16 +607460,16 @@ var init_status_bar = __esm({
|
|
|
607463
607460
|
return linkify(cmd, `\x1B[38;5;${fg2}m${label}`);
|
|
607464
607461
|
};
|
|
607465
607462
|
const identity3 = this.buildHeaderIdentityRender();
|
|
607463
|
+
const modelLabel = this.summarizeHeaderModelName() || "model";
|
|
607464
|
+
const endpointLabel = this.summarizeHeaderTransport() || "endpoint";
|
|
607466
607465
|
const menuBtns = [
|
|
607467
607466
|
{ cmd: "help", label: "help", w: "help".length + 2 },
|
|
607468
607467
|
// +2 for spaces
|
|
607469
607468
|
{ cmd: "voice", label: "voice", w: "voice".length + 2 },
|
|
607470
607469
|
// +2 for spaces
|
|
607471
|
-
{ cmd: "model", label:
|
|
607472
|
-
// +2 for spaces
|
|
607473
|
-
{ cmd: "endpoint", label: "endpoint", w: "endpoint".length + 2 },
|
|
607470
|
+
{ cmd: "model", label: modelLabel, w: modelLabel.length + 2 },
|
|
607474
607471
|
// +2 for spaces
|
|
607475
|
-
{ cmd: "
|
|
607472
|
+
{ cmd: "endpoint", label: endpointLabel, w: endpointLabel.length + 2 }
|
|
607476
607473
|
// +2 for spaces
|
|
607477
607474
|
];
|
|
607478
607475
|
const verW = identity3.width;
|
|
@@ -607647,7 +607644,7 @@ var init_status_bar = __esm({
|
|
|
607647
607644
|
const showPrev = hasMultiple && this._headerPanelIndex > 0;
|
|
607648
607645
|
const showNext = hasMultiple && this._headerPanelIndex < this._headerPanels.length - 1;
|
|
607649
607646
|
const leftPadWidth = showPrev ? 2 : 0;
|
|
607650
|
-
const rightPadWidth = showNext ?
|
|
607647
|
+
const rightPadWidth = showNext ? 2 : 0;
|
|
607651
607648
|
return {
|
|
607652
607649
|
showPrev,
|
|
607653
607650
|
showNext,
|
|
@@ -607749,8 +607746,8 @@ var init_status_bar = __esm({
|
|
|
607749
607746
|
}
|
|
607750
607747
|
this._sysClickZones = clickZones;
|
|
607751
607748
|
}
|
|
607752
|
-
const leftArrow = chrome.showPrev ? `\x1B]8;;omnius-cmd:header-prev\x07\x1B[38;5;${TEXT_DIM}m
|
|
607753
|
-
const rightArrow = chrome.showNext ? `\x1B]8;;omnius-cmd:header-next\x07\x1B[38;5;${TEXT_DIM}m
|
|
607749
|
+
const leftArrow = chrome.showPrev ? `\x1B]8;;omnius-cmd:header-prev\x07\x1B[38;5;${TEXT_DIM}m➜\x1B]8;;\x07` : "";
|
|
607750
|
+
const rightArrow = chrome.showNext ? `\x1B]8;;omnius-cmd:header-next\x07\x1B[38;5;${TEXT_DIM}m➡\x1B]8;;\x07` : "";
|
|
607754
607751
|
const hdrRow = layout().headerContent;
|
|
607755
607752
|
let buf = "\x1B7";
|
|
607756
607753
|
buf += `\x1B[${hdrRow};1H${PANEL_BG_SEQ}\x1B[2K`;
|
|
@@ -607762,8 +607759,9 @@ var init_status_bar = __esm({
|
|
|
607762
607759
|
buf += `\x1B[38;5;${TEXT_PRIMARY}m${PANEL_BG_SEQ}`;
|
|
607763
607760
|
buf += content;
|
|
607764
607761
|
if (chrome.showNext) {
|
|
607765
|
-
buf += `\x1B[${hdrRow};${w -
|
|
607762
|
+
buf += `\x1B[${hdrRow};${w - 2}H`;
|
|
607766
607763
|
buf += rightArrow;
|
|
607764
|
+
buf += ` `;
|
|
607767
607765
|
}
|
|
607768
607766
|
buf += `\x1B[${hdrRow};${w}H${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607769
607767
|
buf += "\x1B8";
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.282",
|
|
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.282",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
|
@@ -2397,9 +2397,9 @@
|
|
|
2397
2397
|
}
|
|
2398
2398
|
},
|
|
2399
2399
|
"node_modules/bare-stream": {
|
|
2400
|
-
"version": "2.13.
|
|
2401
|
-
"resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.
|
|
2402
|
-
"integrity": "sha512-
|
|
2400
|
+
"version": "2.13.2",
|
|
2401
|
+
"resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.13.2.tgz",
|
|
2402
|
+
"integrity": "sha512-2V5j0dOfxv3iIngIWMnW1O6UPXpeoU70HJzUJGVth/+RURhDyq7SEWTD70Y2SkUB0MQonYYWpIX3f85P/I22+Q==",
|
|
2403
2403
|
"license": "Apache-2.0",
|
|
2404
2404
|
"optional": true,
|
|
2405
2405
|
"dependencies": {
|
package/package.json
CHANGED