omnius 1.0.101 → 1.0.102
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 -8
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -563250,17 +563250,17 @@ function buildTopBorder(title, metrics2, width) {
|
|
|
563250
563250
|
let metricsSegment;
|
|
563251
563251
|
let fillerWidth;
|
|
563252
563252
|
if (titleSpan + metricsSpan + 4 <= inner) {
|
|
563253
|
-
titleSegment = `${FG_BORDER}
|
|
563254
|
-
metricsSegment = metricsChip ? `${FG_BORDER}
|
|
563253
|
+
titleSegment = `${FG_BORDER}┤${FG_TITLE}${titleChip}${RESET}${FG_BORDER}├`;
|
|
563254
|
+
metricsSegment = metricsChip ? `${FG_BORDER}┤${FG_METRIC}${metricsChip}${RESET}${FG_BORDER}├` : "";
|
|
563255
563255
|
fillerWidth = inner - titleSpan - metricsSpan - 2;
|
|
563256
563256
|
} else if (titleSpan + 4 <= inner) {
|
|
563257
|
-
titleSegment = `${FG_BORDER}
|
|
563257
|
+
titleSegment = `${FG_BORDER}┤${FG_TITLE}${titleChip}${RESET}${FG_BORDER}├`;
|
|
563258
563258
|
metricsSegment = "";
|
|
563259
563259
|
fillerWidth = inner - titleSpan - 2;
|
|
563260
563260
|
} else {
|
|
563261
563261
|
const room = Math.max(3, inner - 8);
|
|
563262
563262
|
const truncated = titleVisible.length > room ? titleVisible.slice(0, Math.max(1, room - 1)) + "…" : titleVisible;
|
|
563263
|
-
titleSegment = `${FG_BORDER}
|
|
563263
|
+
titleSegment = `${FG_BORDER}┤${FG_TITLE} ${truncated} ${RESET}${FG_BORDER}├`;
|
|
563264
563264
|
metricsSegment = "";
|
|
563265
563265
|
fillerWidth = Math.max(0, inner - (truncated.length + 4) - 2);
|
|
563266
563266
|
}
|
|
@@ -564421,7 +564421,8 @@ var init_render = __esm({
|
|
|
564421
564421
|
green: (t2) => ansi2("32", t2),
|
|
564422
564422
|
yellow: (t2) => ansi2("33", t2),
|
|
564423
564423
|
blue: (t2) => ansi2("34", t2),
|
|
564424
|
-
magenta: (t2) => ansi2("
|
|
564424
|
+
magenta: (t2) => ansi2("38;5;198", t2),
|
|
564425
|
+
// deep pink
|
|
564425
564426
|
cyan: (t2) => ansi2("36", t2),
|
|
564426
564427
|
white: (t2) => ansi2("37", t2),
|
|
564427
564428
|
bgBlue: (t2) => ansi2("44", t2),
|
|
@@ -564434,7 +564435,7 @@ var init_render = __esm({
|
|
|
564434
564435
|
sub: (t2) => fg256(tuiTextDim(), t2),
|
|
564435
564436
|
/** Dim text — readable grey for hints/placeholders */
|
|
564436
564437
|
hint: (t2) => fg256(tuiTextDim(), t2),
|
|
564437
|
-
/** Error text —
|
|
564438
|
+
/** Error text — deep pink for errors */
|
|
564438
564439
|
error: (t2) => fg256(198, t2),
|
|
564439
564440
|
/** Warning text — warm orange for warnings */
|
|
564440
564441
|
warn: (t2) => fg256(214, t2),
|
|
@@ -564589,8 +564590,8 @@ var init_render = __esm({
|
|
|
564589
564590
|
BOX_BR2 = "╯";
|
|
564590
564591
|
BOX_H2 = "─";
|
|
564591
564592
|
BOX_V2 = "│";
|
|
564592
|
-
BOX_TJ_L2 = "
|
|
564593
|
-
BOX_TJ_R2 = "
|
|
564593
|
+
BOX_TJ_L2 = "├";
|
|
564594
|
+
BOX_TJ_R2 = "┤";
|
|
564594
564595
|
RESET2 = "\x1B[0m";
|
|
564595
564596
|
_contentWriteHook = null;
|
|
564596
564597
|
HINTS = [
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "omnius",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.102",
|
|
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.102",
|
|
10
10
|
"bundleDependencies": [
|
|
11
11
|
"image-to-ascii"
|
|
12
12
|
],
|
package/package.json
CHANGED