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§
- Json
Progress - Machine-readable progress: one JSON object per line on stderr.
- NoProgress
- No-op reporter when progress is disabled.
- Stderr
Progress - Human-friendly progress on stderr: “sync filesystem:docs ingesting 1,234 / 5,000 items”.
Enums§
- Progress
Mode - Progress mode for the CLI: off, human (stderr), or JSON (stderr).
- Sync
Phase - Phase of the sync pipeline (used in JSON output and for future extensions).
- Sync
Progress Event - A single progress event for sync.
Traits§
- Sync
Progress Reporter - Reports sync progress. Implementations write to stderr (human or JSON).