Add local-only cleanup commands for store stats, chat cleanup, group pruning, and age-based store cleanup. Rework group pruning so targets are listed first, dry-run never deletes, confirmation gates every destructive path, and active stale groups require an explicit include flag.
Document the cleanup workflow across README and docs/, including the local-only semantics.
Closes#210.
Co-authored-by: Davy <95214375+thedavidweng@users.noreply.github.com>
Route the version subcommand through Cobra's configured output stream and cover it with a focused command-output test.
Extracted as a narrow, low-risk slice from #78 by @nikolasdehor.
Co-authored-by: Nikolas de Hor <116851567+nikolasdehor@users.noreply.github.com>
Document safe ways to build local companion tools on top of wacli data using JSON output, NDJSON events, webhooks, and read-only SQLite queries.
Reworks the useful integration pattern from #71 without adding a maintained sidecar Python app.
Co-authored-by: jaredtribe <261839835+jaredtribe@users.noreply.github.com>
Add live-message webhook delivery after local storage, with optional HMAC-SHA256 signatures in X-Wacli-Signature. Deliver webhooks on a bounded background worker so slow endpoints cannot block whatsmeow event dispatch.
Co-authored-by: Dinakar Sarbada <dinakars777@users.noreply.github.com>
Co-authored-by: matheusmelo-cabelo <backup.matheusmelo@gmail.com>
Add wacli send sticker for 512x512 WebP sticker files, including recipient resolution, quoted replies, sync-process delegation, local media metadata, and stricter sticker payload validation.
Verified with local full gate, GitHub CI, and a live sticker send.
Co-authored-by: Dinakar Sarbada <dinakars777@users.noreply.github.com>
Co-authored-by: Filipe <35941797+fm1randa@users.noreply.github.com>
Adds a global --events flag for machine-readable lifecycle telemetry on auth, sync, and history backfill. Keeps stderr parseable as NDJSON, including progress, idle, reconnect, warning, and interrupt-signal paths.
Co-authored-by: Dinakar Sarbada <dinakars777@users.noreply.github.com>
Co-authored-by: acxtrilla <cazz9584@gmail.com>