Skip to main content

Module ctx_discover

Module ctx_discover 

Source

Structs§

DiscoverResult
MissedCommand

Functions§

analyze_history
discover_from_history
format_cli_output
render_before_card
Renders a shareable “before lean-ctx” SVG card from a discover analysis — the “ghost tokens you’re leaving on the table” framing that drives the first-run share loop. Same 1200x630 social-card dimensions and visual language as the Wrapped card, but in an amber/red “leak” palette. Pure string building; all data-derived text is XML-escaped. Aggregate estimates only — never command contents or arguments.