build: compile dist/ [auto]

This commit is contained in:
github-actions[bot]
2026-03-20 00:52:54 +00:00
parent cb407d0534
commit 61a3769993
14 changed files with 29 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import { isLimitReached } from '../types.js';
import { getContextPercent, getBufferedPercent, getModelName, getProviderLabel, getTotalTokens } from '../stdin.js';
import { getOutputSpeed } from '../speed-tracker.js';
import { coloredBar, critical, cyan, dim, magenta, red, warning, yellow, getContextColor, getQuotaColor, quotaBar, RESET } from './colors.js';
import { coloredBar, critical, cyan, dim, magenta, red, warning, yellow, getContextColor, getQuotaColor, quotaBar, claudeOrange, RESET } from './colors.js';
import { getAdaptiveBarWidth } from '../utils/terminal.js';
const DEBUG = process.env.DEBUG?.includes('claude-hud') || process.env.DEBUG === '*';
/**
@@ -188,6 +188,11 @@ export function renderSessionLine(ctx) {
if (ctx.extraLabel) {
parts.push(dim(ctx.extraLabel));
}
// Custom line (static user-defined text)
const customLine = display?.customLine;
if (customLine) {
parts.push(claudeOrange(customLine));
}
let line = parts.join(' | ');
// Token breakdown at high context
if (display?.showTokenBreakdown !== false && percent >= 85) {