triflux 8.4.0 → 8.4.1
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/hub/team/ansi.mjs +2 -2
- package/hub/team/tui.mjs +8 -9
- package/package.json +1 -1
package/hub/team/ansi.mjs
CHANGED
|
@@ -39,7 +39,7 @@ export const FG = {
|
|
|
39
39
|
cyan: `${ESC}[36m`,
|
|
40
40
|
gray: `${ESC}[90m`,
|
|
41
41
|
// triflux 브랜드
|
|
42
|
-
codex: `${ESC}[
|
|
42
|
+
codex: `${ESC}[38;2;16;163;127m`, // #10a37f codex green
|
|
43
43
|
gemini: `${ESC}[38;5;39m`, // blue
|
|
44
44
|
claude: `${ESC}[38;2;232;112;64m`, // orange
|
|
45
45
|
triflux: `${ESC}[38;5;214m`, // amber
|
|
@@ -185,7 +185,7 @@ export function clip(str, width) {
|
|
|
185
185
|
acc += cw;
|
|
186
186
|
i += char.length;
|
|
187
187
|
}
|
|
188
|
-
return
|
|
188
|
+
return str + " ".repeat(width - acc);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// ── Catppuccin Mocha 색상 상수 ──
|
package/hub/team/tui.mjs
CHANGED
|
@@ -363,16 +363,15 @@ function buildWorkerRail(name, st, opts = {}) {
|
|
|
363
363
|
innerWidth,
|
|
364
364
|
);
|
|
365
365
|
|
|
366
|
-
// status-specific border:
|
|
366
|
+
// status-specific border: focused→mauve, selected→bright, non-selected→dimmed tint
|
|
367
367
|
const statusBorderColor = (() => {
|
|
368
368
|
if (focused) return MOCHA.thinking;
|
|
369
|
-
if (selected)
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
return fadeBorderColor(status, st._prevStatus, st._statusChangedAt);
|
|
369
|
+
if (selected) return statusColor(status);
|
|
370
|
+
// Non-selected: status-tinted border (50% blend toward border gray)
|
|
371
|
+
const from = statusToRgb(status);
|
|
372
|
+
const to = MOCHA_RGB.border;
|
|
373
|
+
const c = lerpRgb(from, to, 0.5);
|
|
374
|
+
return `\x1b[38;2;${c.r};${c.g};${c.b}m`;
|
|
376
375
|
})();
|
|
377
376
|
|
|
378
377
|
if (compact) {
|
|
@@ -457,7 +456,7 @@ function buildFocusPane(name, st, opts = {}) {
|
|
|
457
456
|
];
|
|
458
457
|
|
|
459
458
|
// 본문 스크롤 영역
|
|
460
|
-
const bodyAvail = Math.max(0, height - stickyLines.length -
|
|
459
|
+
const bodyAvail = Math.max(0, height - stickyLines.length - 3); // top+bot border + scrollInfo
|
|
461
460
|
const allBodyLines = wrapTextAll(detailText(st), innerWidth, rawMode);
|
|
462
461
|
|
|
463
462
|
let startIdx;
|