Metadata-Version: 2.5
Name: reflex-hosting-cli
Version: 0.2.1a1
Summary: Reflex Hosting CLI
Author-email: Nikhil Rao <nikhil@reflex.dev>, Alek Petuskey <alek@reflex.dev>
Maintainer-email: Simon Young <simon@reflex.dev>, Khaleel Al-Adhami <khaleel@reflex.dev>
License: Apache-2.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Python: >=3.11
Requires-Dist: click>=8.2
Requires-Dist: httpx<1.0,>=0.25.1
Requires-Dist: packaging>=24.2
Requires-Dist: platformdirs<5.0,>=3.10.0
Requires-Dist: reflex-build-sdk[httpx]!=0.1.2,<0.1.2.post,>=0.1.1a1
Requires-Dist: rich<16,>=13
Description-Content-Type: text/markdown

# reflex-hosting-cli
Hosting CLI for Reflex.

When an app is still scaling, `reflex deploy` waits 15 seconds between confirmed
scaling refusals, for up to 7 retries to update instance bounds and 11 retries
to submit the deployment. The CLI reports each wait, and you can cancel
with Ctrl-C. Submission retries reuse the uploaded build. The SDK's usual safe
retries can add two more submission attempts, for up to 14 attempts in total;
they do not restart the scaling wait budget. The scaling sleeps total at most
165 seconds for submission; requests and SDK backoff add to elapsed time.
Other failures, including a lost submission response, are reported without
replaying an uncertain write.
If an instance-bounds write has an uncertain outcome, including a server error,
the CLI warns that the bounds may have changed.
A success response that cannot be decoded also stops deployment with a separate
warning about bounds left changed.

If an access token is expired or rejected, run `reflex login` to authenticate
again. If you supply a token explicitly, replace it with a valid token or remove
the override before using the saved login: unset `REFLEX_ACCESS_TOKEN` or omit
`--token`. Logging in does not replace an environment variable or command-line
token. Noninteractive commands exit on rejection without opening a browser.
