Skip to content

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 20:40
· 32 commits to main since this release

Privacy change: ai-usage now sends its author anonymous usage stats, on by default. Until now it talked only to the team's relay and to GitHub, for updates; from this release it also says, to PostHog through usage.sergeybaus.com, how often it runs, which commands and parts of the menu bar app are used, and what fails, so that its author can see which releases and features people use and fix what breaks. Turn it off with ai-usage telemetry off, Share Usage Stats in the menu bar app's Settings, or DO_NOT_TRACK=1.

Usage stats

Nothing is sent until you have seen this notice once:

ai-usage shares usage stats with its author: how often it runs, which features are used, errors, version and OS, tied to a random install ID. It never sends your files, arguments or account names. Nothing has been sent yet. Turn it off with ai-usage telemetry off or DO_NOT_TRACK=1. Details: https://usage.sergeybaus.com

The installers print it, and so does your next ai-usage in a terminal or for an AI agent; the menu bar app shows it once in the popover, with OK and Turn Off. The run that shows it sends nothing. Your scheduled runs send nothing before someone has seen it, and then at most one of each event a day.

What is sent: that ai-usage was installed, started, ran a command (its name alone, such as report), or failed (the error's type, and for a few commands its text with your home folder and user name taken out); for the menu bar app, that it started or that its popover, Team window, or Settings opened; with the ai-usage version, the OS, the CPU, how ai-usage was installed and how it runs, and a random install id. PostHog sees the IP address. Never sent: your files, folders, projects, arguments, accounts, emails, host or device names, the team key, or any of the report's numbers. The README's Usage stats has the details, and https://usage.sergeybaus.com shows what is collected.

  • ai-usage telemetry says whether usage stats are on and why; ai-usage telemetry off stops them and forgets the install id, and ai-usage telemetry on turns them on again.
  • DO_NOT_TRACK=1 or AI_USAGE_TELEMETRY=0 turn them off in the runs that see them. The scheduler's runs and the menu bar app do not see your shell's variables, so use ai-usage telemetry off, or the app's switch, to stop those too.
  • The menu bar app's and BB's own runs of ai-usage, such as the report the app reads every minute, send nothing. Nothing is sent in CI, in tests, or from a build from source.

Homebrew

brew info neoromantic/tap/ai-usage repeats the notice, and the formula's test sends nothing.

For the website

The README's "Private by design" highlight now mentions the usage stats, and its Privacy section has a Usage stats part. The picture of the app's Settings, docs/demo/app-settings.png, has the new Share Usage Stats switch.

What's Changed

  • Usage stats for the author, opt-out and only after a notice, with ai-usage telemetry off by @neoromantic in #71

Full Changelog: v0.12.0...v0.13.0