@wraps.dev/cli 2.27.0 → 2.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -358,6 +358,33 @@ wraps cdn init --provider vercel --region us-east-1 --domain cdn.myapp.com
358
358
  | `wraps platform connect` | Connect to Wraps Platform (events + IAM) |
359
359
  | `wraps platform update-role` | Update platform IAM permissions |
360
360
 
361
+ ### Selfhost Commands (Enterprise)
362
+
363
+ Run the Wraps control plane in your own AWS account instead of app.wraps.dev.
364
+ Requires an enterprise license key.
365
+
366
+ | Command | Description |
367
+ |---------|-------------|
368
+ | `wraps selfhost deploy` | Deploy an API-only control plane to your AWS account |
369
+ | `wraps selfhost upgrade` | Rebuild and redeploy the self-hosted API |
370
+ | `wraps selfhost status` | Show self-hosted deployment details |
371
+ | `wraps selfhost env` | Print env vars for hosting `apps/web` against your control plane |
372
+ | `wraps selfhost login` | Sign in to your self-hosted instance (not wraps.dev) |
373
+ | `wraps selfhost logout` | Sign out of your self-hosted instance |
374
+ | `wraps selfhost connect` | Connect your AWS account to your self-hosted instance |
375
+ | `wraps selfhost update-role` | Refresh your self-hosted console role's permissions |
376
+ | `wraps selfhost destroy` | Tear down the self-hosted control plane |
377
+
378
+ `wraps selfhost deploy` gives you the API only — you host the dashboard
379
+ yourself. For the full platform (API, dashboard, and workers) deployed via SST
380
+ from a fork, see the [self-hosted guide](https://wraps.dev/docs/guides/self-hosted).
381
+ The two variants cannot coexist in one AWS account.
382
+
383
+ `selfhost connect` and `selfhost update-role` write
384
+ `wraps-selfhost-console-access-role`, which trusts your own AWS account. Their
385
+ `platform` counterparts write `wraps-console-access-role`, which trusts the
386
+ Wraps platform account. Both roles can exist side by side.
387
+
361
388
  ### Global Commands
362
389
 
363
390
  These commands work across all services:
Binary file