feat(telemetry): add install command events and user-facing telemetry notice

This commit is contained in:
YeonGyu-Kim
2026-04-11 14:14:36 +09:00
parent 1c27000c37
commit 365900b17f
2 changed files with 12 additions and 3 deletions
+2
View File
@@ -85,6 +85,8 @@ export async function runTuiInstaller(args: InstallArgs, version: string): Promi
p.log.success(color.bold(isUpdate ? "Configuration updated!" : "Installation complete!"))
p.log.message(`Run ${color.cyan("opencode")} to start!`)
p.log.info("Anonymous telemetry is enabled by default. Disable it with OMO_SEND_ANONYMOUS_TELEMETRY=0 or OMO_DISABLE_POSTHOG=1.")
p.log.info("Docs: docs/legal/privacy-policy.md and docs/legal/terms-of-service.md")
p.note(
`Include ${color.cyan("ultrawork")} (or ${color.cyan("ulw")}) in your prompt.\n` +