Migration Guide
How to switch to the CLI if you are using aiflare.yml or installer.cjs
If you only use aiflare.yml
No changes required — it continues to work as-is (D-6, backend compat kept indefinitely). To switch to keychain credentials: brew install aiflare → aiflare login → (optional) delete aiflare.yml.
If you installed via installer.cjs
Upgrade in one line: aiflare init (auto-detects prior install, idempotent). It cleans up old .claude/hooks leftovers, replaces settings entries with the aiflare hooks dispatch pattern, and auto-creates .bak backups. If custom files are detected, cleanup is skipped with guidance.
Fully removing AIFlare
aiflare disable (cleans this repo) + aiflare logout (removes machine credentials).
PAT and ApiKey
aiflare login issues a user-scoped PAT (machine login session); aiflare init issues a project-scoped ApiKey (capture authentication). Both can be managed and revoked from the Devices tab in account settings.