@wix/himalaya-cli 0.914.0 → 0.916.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.
@@ -80,6 +80,32 @@ traffic until its gateway route was deleted on 2026-09-05; it now 404s with no r
80
80
  ```
81
81
  Kill-switch a bad bundle: `himi-serve release revoke --app <app> --integrity <sri> --target bo --control-token "$TOK"`.
82
82
 
83
+ ### Curating templates
84
+
85
+ A starter template is an app in the reserved `himi-template-<name>` namespace, so it is
86
+ published and promoted like any other. Withdrawing one, or killing it, is addressed by
87
+ **template name** rather than app id — that is what the catalog shows and what
88
+ `himi init --template <name>` takes:
89
+
90
+ ```
91
+ himi-serve template remove --name <template> --target bo --control-token "$TOK" # withdraw from the catalog
92
+ himi-serve template revoke --name <template> --target bo --control-token "$TOK" # kill-switch its current release
93
+ himi-serve template unrevoke --name <template> --target bo --control-token "$TOK" # lift it again
94
+ ```
95
+
96
+ All three also take `--app <appId>` instead of `--name`. That exists for one case: a template
97
+ name may legally begin with `himi-template-` (the name pattern is lowercase alphanumerics and
98
+ inner hyphens), and such a name publishes to a **doubly** prefixed app id — so `--name` cannot
99
+ express it without becoming ambiguous. The CLI refuses the ambiguous form and points at `--app`. `--app` only accepts ids inside the
100
+ reserved namespace: a non-template id is refused, so this group cannot unpublish or
101
+ kill-switch an ordinary app by mistake — use the `release` group for those.
102
+
103
+ `remove` unpublishes the app; `revoke` is the reversible kill-switch, and it resolves the
104
+ bundle integrities from the template's current release manifest so you never paste an SRI. A
105
+ template with no current release, or a release with no bundles, is **refused** rather than
106
+ reported as a successful revocation — a kill-switch that silently switched nothing off is the
107
+ one failure mode worth being loud about.
108
+
83
109
  ### Registry visibility (public | unlisted)
84
110
 
85
111
  Whether `GET /v1/apps` (and so the **Himi Player picker**) lists the app is a per-app,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.914.0",
3
+ "version": "0.916.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -64,5 +64,5 @@
64
64
  "artifactId": "himalaya-cli"
65
65
  }
66
66
  },
67
- "falconPackageHash": "dcb937a54b33218d22d5a8e54fe90c7426b937a5bf3e791eb8dc26d5"
67
+ "falconPackageHash": "06722d722ae5e9aac6226d4368df1778666b7b83737f0c449a0af142"
68
68
  }