Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatStatusLines ¶
FormatStatusLines returns the canonical three-line CLI output for status info.
Types ¶
type UsageInfo ¶
type UsageInfo struct {
MonthlyUsage string
CreditsUsed string
CreditsTotal string
NextReset string
}
UsageInfo holds parsed Codex /status output.
func FetchStatus ¶
FetchStatus launches Codex in an ephemeral ttywatch session and parses /status output.
func FetchStatusWithOptions ¶
FetchStatusWithOptions launches Codex with optional verbose logging.
func ParseStatusSnapshot ¶
ParseStatusSnapshot extracts monthly usage, credits, and reset from tty-watch snapshot text.
Click to show internal directories.
Click to hide internal directories.