feat: add opt-in CLI telemetry capture

This commit is contained in:
yaojingang
2026-06-13 21:28:55 +08:00
parent deedd557e6
commit d8a9fa6ebc
35 changed files with 547 additions and 255 deletions
+2
View File
@@ -277,6 +277,8 @@ def build_parser(command_handlers: dict[str, Callable[[argparse.Namespace], int]
],
default="none",
)
adoption_drift_cmd.add_argument("--source", choices=["external", "manual", "unknown", "yao_cli"], default="manual")
adoption_drift_cmd.add_argument("--command", dest="telemetry_command", default="unknown")
adoption_drift_cmd.add_argument("--timestamp")
adoption_drift_cmd.add_argument("--skill-name")
adoption_drift_cmd.add_argument("--version")