You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unpriced-models warning is truncated at every terminal width, hiding both the model list and the fix command #969
The unpriced-models warning in codeburn report is truncated below usefulness at every terminal width, so neither the affected models nor the fix command can be read from the output.
The third model name is never reachable, and the fix command is cut before its arguments — codeburn model-alias alone is not runnable.
Why it matters
The warning's whole purpose (per #638) is to make unpriced usage actionable in the product itself rather than behind CODEBURN_VERBOSE=1. As rendered, it tells the user a problem exists but withholds both which models are affected and the command to address it. Finding the third name meant reading the daily cache directly, which is the opposite of the intent.
The full renderer produces useful text — it is only the panel that clips it:
Any of these would resolve it; listing options rather than assuming a preference:
Wrap the warning across lines inside the panel instead of clipping, so the model list and the fix line both survive.
Keep the panel line as a short pointer (! 3 models unpriced at $0 — see codeburn models --unpriced) and put the detail behind a command that can print at full width.
Let the warning render full-width outside the fixed panel grid, as the Totals block does.
Option 2 has the side benefit of giving a stable way to list every unpriced model, not just the first three — useful when the count exceeds the +N more cutoff.
Adding a related data point, since it strengthens option 2 in particular.
Truncation is not the only thing standing between the user and the fix command: in codeburn report the text cannot be selected or copied at all. The TUI takes the alternate screen buffer and raw input, so terminal selection doesn't apply to it. Even a fully-rendered, untruncated codeburn model-alias "<model>" <known-model> has to be retyped by hand.
That matters more for some findings than for others. optimize emits fix blocks like:
A hand-retyped mv chain is exactly the kind of thing that ends up pointing at the wrong directory.
The plain-stdout subcommands are unaffected and pipe cleanly — overview, status, optimize, export, audit, models, sessions, doctor all work fine through | tail, | grep, or into a file. codeburn web is also selectable. So the escape hatches exist; they're just not discoverable from inside the TUI where the un-copyable command is being shown.
This is why option 2 ("keep the panel line as a short pointer ... and put the detail behind a command that can print at full width") solves two problems at once: the full-width command output is both untruncated and copyable, whereas options 1 and 3 fix the truncation while leaving the text just as unreachable.
Worth considering as a general rule rather than a one-off for the unpriced warning: any actionable command shown in the TUI should be reachable from a non-TUI subcommand, since the TUI can display a command but structurally can't let you take it.
Environment: codeburn 0.9.20 (npm), Claude Code 2.1.228, Linux/WSL2.
Activity
adamkwhite commentedon Aug 12, 2026
Adding a related data point, since it strengthens option 2 in particular.
Truncation is not the only thing standing between the user and the fix command: in
codeburn reportthe text cannot be selected or copied at all. The TUI takes the alternate screen buffer and raw input, so terminal selection doesn't apply to it. Even a fully-rendered, untruncatedcodeburn model-alias "<model>" <known-model>has to be retyped by hand.That matters more for some findings than for others.
optimizeemits fix blocks like:A hand-retyped
mvchain is exactly the kind of thing that ends up pointing at the wrong directory.The plain-stdout subcommands are unaffected and pipe cleanly —
overview,status,optimize,export,audit,models,sessions,doctorall work fine through| tail,| grep, or into a file.codeburn webis also selectable. So the escape hatches exist; they're just not discoverable from inside the TUI where the un-copyable command is being shown.This is why option 2 ("keep the panel line as a short pointer ... and put the detail behind a command that can print at full width") solves two problems at once: the full-width command output is both untruncated and copyable, whereas options 1 and 3 fix the truncation while leaving the text just as unreachable.
Worth considering as a general rule rather than a one-off for the unpriced warning: any actionable command shown in the TUI should be reachable from a non-TUI subcommand, since the TUI can display a command but structurally can't let you take it.
Environment: codeburn 0.9.20 (npm), Claude Code 2.1.228, Linux/WSL2.
fix(models): let --unpriced survive --top, and document the flag