Module progress

Module progress 

Source
Expand description

Sync and embed progress reporting.

Reports observable progress during ctx sync (and optionally ctx embed pending) so users see what is being scanned, how much is left, and when search is up to date. Progress is emitted on stderr so stdout remains parseable for scripts.

See SYNC_PROGRESS.md for the design.

Structs§

JsonProgress
Machine-readable progress: one JSON object per line on stderr.
NoProgress
No-op reporter when progress is disabled.
StderrProgress
Human-friendly progress on stderr: “sync filesystem:docs ingesting 1,234 / 5,000 items”.

Enums§

ProgressMode
Progress mode for the CLI: off, human (stderr), or JSON (stderr).
SyncPhase
Phase of the sync pipeline (used in JSON output and for future extensions).
SyncProgressEvent
A single progress event for sync.

Traits§

SyncProgressReporter
Reports sync progress. Implementations write to stderr (human or JSON).

Functions§

format_number 🔒