mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-20 00:11:34 +00:00
Activate the dormant Segment-based telemetry infrastructure by wiring lifecycle events in main.rs. Each CLI invocation now emits a "Command Run" or "Command Error" event with sanitized args, duration, hashed repo identifier, and CI detection. - Add sanitize.rs: redacts sensitive CLI args (paths, values) while keeping flags, booleans, and numeric patterns - Add git.rs: MD5-hashes normalized origin remote URL so HTTPS/SSH variants produce the same identifier - Extend command_name to include nested subcommands (e.g. "pr create", "llm prompt", "system prune", "model list") - Restructure main/main_inner to capture timing and return command name alongside result for telemetry Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||