fix: combine status usage and cost line

This commit is contained in:
Peter Steinberger
2026-01-09 03:45:01 +00:00
parent 16cfd24967
commit 69546d563d
2 changed files with 4 additions and 4 deletions

View File

@@ -328,12 +328,13 @@ export function buildStatusMessage(args: StatusArgs): string {
const versionLine = `🦞 ClawdBot ${VERSION}${commit ? ` (${commit})` : ""}`;
const usagePair = formatUsagePair(inputTokens, outputTokens);
const costLine = costLabel ? `💵 Cost: ${costLabel}` : null;
const usageCostLine =
usagePair && costLine ? `${usagePair} · ${costLine}` : usagePair ?? costLine;
return [
versionLine,
modelLine,
usagePair,
costLine,
usageCostLine,
`📚 ${contextLine}`,
args.usageLine,
`🧵 ${sessionLine}`,