internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2026 License: MIT

Directories

Path Synopsis
Package budget loads budget rules from TOML and evaluates events against them.
Package budget loads budget rules from TOML and evaluates events against them.
Package cli wires the cobra command tree for budgetclaw.
Package cli wires the cobra command tree for budgetclaw.
Package db persists parsed budgetclaw events and their per-day rollups in a local SQLite database.
Package db persists parsed budgetclaw events and their per-day rollups in a local SQLite database.
Package enforcer implements the two sides of budget-breach enforcement for budgetclaw:
Package enforcer implements the two sides of budget-breach enforcement for budgetclaw:
Package ntfy is a minimal client for ntfy.sh-compatible push notification servers.
Package ntfy is a minimal client for ntfy.sh-compatible push notification servers.
Package parser extracts billable events from Claude Code session JSONL logs.
Package parser extracts billable events from Claude Code session JSONL logs.
Package paths resolves filesystem locations for budgetclaw's config, state, data, and cache, following the XDG Base Directory Specification.
Package paths resolves filesystem locations for budgetclaw's config, state, data, and cache, following the XDG Base Directory Specification.
Package pipeline wires the six independent budgetclaw data-flow packages (parser, pricing, db, budget, enforcer, ntfy) into one Handler function suitable for the watcher.
Package pipeline wires the six independent budgetclaw data-flow packages (parser, pricing, db, budget, enforcer, ntfy) into one Handler function suitable for the watcher.
Package pricing maps Claude model IDs to per-million-token USD rates and computes cost for a given token mix.
Package pricing maps Claude model IDs to per-million-token USD rates and computes cost for a given token mix.
Package version exposes build-time version metadata.
Package version exposes build-time version metadata.
Package watcher tails Claude Code's JSONL session logs under $HOME/.claude/projects and streams parsed events to a handler.
Package watcher tails Claude Code's JSONL session logs under $HOME/.claude/projects and streams parsed events to a handler.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL