Expand description
Shared renderers for the value surface. Subtle by construction: one dim line, no exclamation, nothing when there is nothing measured to say.
Structs§
- Style
- How a channel can render: colour (ANSI dim) and Unicode glyphs are independent — a Claude status line has colour but no TTY, a legacy Windows console has a TTY but no reliable glyphs.
Functions§
- compact
◆ −1.2M tok ⛨ 3for a shell prompt: the shortest honest form, never coloured (prompt escaping differs per shell, so the caller wraps it).- one_
line ◆ lean-ctx −1.2M tok · 41 cached · ⛨ 3— orNonewhen nothing measured happened yet (a zero would read like lean-ctx is not working).- security_
phrases - Human wording for a security tally, in the contract’s words: secrets are kept out of context, commands and paths blocked, injections flagged.