CLI
Claim anonymous deployments with login
The CLI now groups anonymous deployments under a reusable local identity, so one login preserves every active deployment and authenticates future deploys.
- Released
- Area
- CLI
Before your first deployment without an existing API key, Flat now creates and stores a reusable anonymous agent identity. Its deployments still expire after one hour unless you log in.
Run flat login before expiry to upgrade that identity and make all of its active deployments permanent while preserving their URLs. This replaces the former per-deployment flat claim command. If you omit the email argument, the CLI prompts for it; --no-open still lets you complete login without opening the browser automatically.
Once verified, the stored agent credential makes future deployments permanent. Running flat login again reconciles any active deployments left behind by a partial claim. Because deleting an anonymous identity can make its deployments impossible to claim, flat logout now requires --force while anonymous credentials are present.