Skip to main content

Crate bloclawd

Crate bloclawd 

Source
Expand description

bloclawd CLI library, consumed by the bin entry and in-process tests.

Re-exports§

pub use cli::Args;
pub use wire_error::IngestCliError;

Modules§

aggregate
Per-model raw token aggregator.
api
Ingest API URL constants and env override.
canonical
Single canonical formatter.
cli
clap derive Args.
config
TOML config at ~/.config/bloclawd/config.toml.
min_version
Min-version assertion via JSONL field-shape heuristic.
parsers
probe
Provider harness probe.
probe_sig
Rate-limit signature classifiers.
region
Resolve the user’s region.
render
Single render layer for dry-run human output and machine JSON.
solve
PoW solver wrapper.
submit
HTTP client plus GET /challenge and POST /event glue.
window
--end parser. Accepts three local-TZ formats and converts to UTC.
wire_error
Closed-enum mirror of the Worker error envelope.

Functions§

run
Production entry: clap-parsed args -> orchestration with fresh UUIDs.
run_inner
Testable entry: deterministic submission group id and per-event id provider.
run_inner_with_output
Writer-backed orchestration entry for in-process tests.