omnius 1.0.281 → 1.0.283
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 -9
- package/npm-shrinkwrap.json +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -607323,6 +607323,7 @@ var init_status_bar = __esm({
|
|
|
607323
607323
|
return "p2p";
|
|
607324
607324
|
if (backendType === "fake") return "fake";
|
|
607325
607325
|
if (!backendUrl2) return "";
|
|
607326
|
+
if (backendType) return backendType;
|
|
607326
607327
|
if (backendUrl2.includes("127.0.0.1") || backendUrl2.includes("localhost") || backendUrl2.includes("0.0.0.0")) {
|
|
607327
607328
|
return "local";
|
|
607328
607329
|
}
|
|
@@ -607339,10 +607340,7 @@ var init_status_bar = __esm({
|
|
|
607339
607340
|
...sponsorLabel && sponsorLink ? { linkUrl: sponsorLink } : {}
|
|
607340
607341
|
}
|
|
607341
607342
|
];
|
|
607342
|
-
const model = this.summarizeHeaderModelName();
|
|
607343
607343
|
const transport = this.summarizeHeaderTransport();
|
|
607344
|
-
if (model)
|
|
607345
|
-
parts.push({ text: ` ${model} `, width: stripAnsi(` ${model} `).length });
|
|
607346
607344
|
if (transport)
|
|
607347
607345
|
parts.push({
|
|
607348
607346
|
text: ` ${transport} `,
|
|
@@ -607463,16 +607461,16 @@ var init_status_bar = __esm({
|
|
|
607463
607461
|
return linkify(cmd, `\x1B[38;5;${fg2}m${label}`);
|
|
607464
607462
|
};
|
|
607465
607463
|
const identity3 = this.buildHeaderIdentityRender();
|
|
607464
|
+
const modelLabel = this.summarizeHeaderModelName() || "model";
|
|
607465
|
+
const endpointLabel = this.summarizeHeaderTransport() || "endpoint";
|
|
607466
607466
|
const menuBtns = [
|
|
607467
607467
|
{ cmd: "help", label: "help", w: "help".length + 2 },
|
|
607468
607468
|
// +2 for spaces
|
|
607469
607469
|
{ cmd: "voice", label: "voice", w: "voice".length + 2 },
|
|
607470
607470
|
// +2 for spaces
|
|
607471
|
-
{ cmd: "model", label:
|
|
607472
|
-
// +2 for spaces
|
|
607473
|
-
{ cmd: "endpoint", label: "endpoint", w: "endpoint".length + 2 },
|
|
607471
|
+
{ cmd: "model", label: modelLabel, w: modelLabel.length + 2 },
|
|
607474
607472
|
// +2 for spaces
|
|
607475
|
-
{ cmd: "
|
|
607473
|
+
{ cmd: "endpoint", label: endpointLabel, w: endpointLabel.length + 2 }
|
|
607476
607474
|
// +2 for spaces
|
|
607477
607475
|
];
|
|
607478
607476
|
const verW = identity3.width;
|
|
@@ -607647,7 +607645,7 @@ var init_status_bar = __esm({
|
|
|
607647
607645
|
const showPrev = hasMultiple && this._headerPanelIndex > 0;
|
|
607648
607646
|
const showNext = hasMultiple && this._headerPanelIndex < this._headerPanels.length - 1;
|
|
607649
607647
|
const leftPadWidth = showPrev ? 2 : 0;
|
|
607650
|
-
const rightPadWidth = showNext ?
|
|
607648
|
+
const rightPadWidth = showNext ? 2 : 0;
|
|
607651
607649
|
return {
|
|
607652
607650
|
showPrev,
|
|
607653
607651
|
showNext,
|
|
@@ -607762,8 +607760,9 @@ var init_status_bar = __esm({
|
|
|
607762
607760
|
buf += `\x1B[38;5;${TEXT_PRIMARY}m${PANEL_BG_SEQ}`;
|
|
607763
607761
|
buf += content;
|
|
607764
607762
|
if (chrome.showNext) {
|
|
607765
|
-
buf += `\x1B[${hdrRow};${w -
|
|
607763
|
+
buf += `\x1B[${hdrRow};${w - 2}H`;
|
|
607766
607764
|
buf += rightArrow;
|
|
607765
|
+
buf += ` `;
|
|
607767
607766
|
}
|
|
607768
607767
|
buf += `\x1B[${hdrRow};${w}H${BOX_FG}│${RESET4}${PANEL_BG_SEQ}`;
|
|
607769
607768
|
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.283",
|
|
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.283",
|
|
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