@supacloud/cli 0.97.1 → 0.99.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
@@ -5,6 +5,12 @@ Project-scoped CLI for SupaCloud users.
5
5
  The only command-line executable is `supacloud`. The compiled server binary
6
6
  installed at `/usr/local/bin/supacloud` is a separate managed-host installation.
7
7
 
8
+ The CLI executable runs on Bun, including when installed with npm. Put Bun on
9
+ `PATH`; frontend archives use `Bun.zstdCompress`. For an older package whose
10
+ executable still selects Node, invoke that installed entrypoint explicitly with
11
+ Bun until upgrading. Installing a system `zstd` executable does not select the
12
+ JavaScript runtime.
13
+
8
14
  Tool adapters import `@supacloud/cli/tool-runtime` for typed registration and
9
15
  schema decoding. This side-effect-free entrypoint does not initialize the CLI.
10
16
  Registration accepts unknown boundary input, decodes it before invoking the
@@ -418,6 +424,12 @@ to any retained release. It never infers a target from content-hash-sorted
418
424
  history, reuploads assets or restores a database.
419
425
  An uncertain result includes the mutation ID for read-only reconciliation and
420
426
  must not be blindly retried.
427
+ Automated release-receipt compensation belongs in deployment orchestration,
428
+ which must persist the original CAS identity and mutation ID. The internal
429
+ rollback primitive supports this binding; this change does not wire up an
430
+ automatic compensation workflow. The interactive CLI does not accept these
431
+ binding fields. It observes current authority and generates its operation ID
432
+ internally, retaining CAS checks and final readback.
421
433
 
422
434
  ### Immutable application releases
423
435
 
@@ -647,12 +659,19 @@ FA-owned business features are documented in
647
659
 
648
660
  `deploy --target`, `--id`, `--build_command`, `--output_dir`, `--plan`, `--diff`
649
661
  and `--dry_run` are removed. Put build settings in `supacloud.json`; use
650
- `app deploy-plan` for read-only review. Historical project-specific manifests
651
- and standalone Function targets must move to application delivery configuration.
652
- The CLI rejects them rather than silently falling back to a partial Web deployment.
653
- For an intentional Web-only release in a mixed repository, use
654
- `supacloud --env test deploy --assets_only`. This preserves historical manifests,
655
- Functions, schedules and migrations without invoking application compilation.
662
+ `app deploy-plan` for read-only review. With a frontend configured, `supacloud deploy`
663
+ publishes only its static assets, even in a mixed repository. `--assets_only`
664
+ remains an explicit alias. This preserves historical manifests, Functions,
665
+ Storage, schedules and migrations without invoking application compilation.
666
+ Use `supacloud --env test deploy --backend` to publish the configured Application
667
+ independently; it never builds or uploads Web. Unsupported historical backend
668
+ manifests and standalone Function targets still fail closed on that Application path.
669
+
670
+ Application deployments return `accepted` after durable queue insertion, not a
671
+ successful activation. Inspect the receipt with the read-only
672
+ `supacloud --env test deploy --status <deployment-id>`. Queue delivery survives
673
+ restart; interrupted side effects require reconciliation rather than blind retry.
674
+
656
675
  Static publication reuses immutable archives, pre-upload CAS, mutation receipts
657
676
  and exact post-activation readback. It never retries a conflicting activation.
658
677
 
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  export {};