@wix/himalaya-cli 0.1702.0 → 0.1703.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/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/define-app.d.ts +7 -0
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +14 -0
- package/dist/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{8155555b873d0194a45cb1fdbd06855900b3943c888ffa129ed48a373a32eb46.bin → df0422934aaa38861fe3fc040a30a521cc958ddcc9fee01e9202b3c6c5dbf4d6.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +4209 -3080
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/himi-json-output.md +24 -0
- package/package.json +2 -2
|
Binary file
|
|
@@ -137,6 +137,29 @@ This is a scoped migration. Other legacy `himi test` failure paths retain their
|
|
|
137
137
|
| `source_icon_unavailable` | Verified source evidence or its logo is missing, unreadable, unavailable, over the download/decoding budget, or cannot be normalized. |
|
|
138
138
|
| `source_icon_unusable` | The prepared source mark fails mechanical launcher/store checks. Existing icon files and metadata are left unchanged. |
|
|
139
139
|
|
|
140
|
+
## `himi ext` codes
|
|
141
|
+
|
|
142
|
+
`himi ext create` and `himi ext list` (the app's own native extensions). Every refusal is
|
|
143
|
+
`{ ok: false, code, error, ... }` on stderr.
|
|
144
|
+
|
|
145
|
+
| Code | Meaning |
|
|
146
|
+
| --- | --- |
|
|
147
|
+
| `invalid_usage` | Unknown subcommand, or a missing or extra positional (exit 2). |
|
|
148
|
+
| `extension_name_invalid` | The name is not lowercase letters, digits and single hyphens, 2–40 characters, starting with a letter (exit 2). |
|
|
149
|
+
| `extension_catalog_match` | The platform catalog already has a capability of that name (`capability` names it); declare that instead. `--force` creates the extension anyway (exit 2). |
|
|
150
|
+
| `extension_exists` | `extensions/<name>/` already exists. |
|
|
151
|
+
| `extensions_config_missing` | No `config.ts` in the content directory. |
|
|
152
|
+
| `extensions_config_opaque` | config.ts `extensions` is not a literal array of names, so it cannot be edited safely. |
|
|
153
|
+
| `extension_limit` | The app already declares the maximum number of extensions (`limit`). |
|
|
154
|
+
| `extension_scaffold_failed` | The scaffolded manifest or interface did not load; `error` says why. |
|
|
155
|
+
|
|
156
|
+
`himi ext list` exits 0 and reports problems in `findings[]` (`code`, `extension`, `file?`,
|
|
157
|
+
`line?`, `message`): the manifest and interface codes (`extension_manifest_invalid`,
|
|
158
|
+
`extension_name_invalid`, `extension_feature_unsupported`, `extension_action_invalid`,
|
|
159
|
+
`extension_interface_invalid`), `extension_unsafe_file`, `extension_too_large`,
|
|
160
|
+
`extension_sources_missing`, `extension_not_found`, `extension_declared_missing` and
|
|
161
|
+
`extension_not_declared`.
|
|
162
|
+
|
|
140
163
|
## `himi publish-size` codes
|
|
141
164
|
|
|
142
165
|
This local planning command never claims or publishes. Every failure includes
|
|
@@ -236,6 +259,7 @@ worker's bundle. These names are stable.
|
|
|
236
259
|
| `auth_provider_invalid` | The app's `config.ts` `auth` entry cannot be used: missing, no `providerId`, or a `config` that is not an object. `file`, `field` and `fix` say where and what to write. Nothing is published. Exit 2. The same code comes from `himi validate`, `render`, `test`, `pack` and `run` (see "`config.ts` failures" below). |
|
|
237
260
|
| `one_app_readiness_failed` | Reserved legacy refusal code. One App migration readiness is now advisory: publish and promotion report structured warnings instead. Other independent release checks may still refuse a push. |
|
|
238
261
|
| `control_token_expired` | The selected control token has expired. |
|
|
262
|
+
| `extension_invalid` | A native extension the app declares (config.ts `extensions`) cannot be uploaded: a missing `extensions/<name>/`, an invalid `himi-extension.json` or `interface.ts`, a refused build-time file (an SPM or Gradle script, a binary), or one over the size limit. `findings[]` carries `{ code, extension, file?, line?, message }` per problem. Nothing is published. Extension artifacts are uploaded even with `--no-source`. A publishing service that predates native extensions publishes without them; push then reports the warning `extensions_unenforced` (not a refusal, like `require_ota_unenforced`). |
|
|
239
263
|
| `app_source_contains_secrets` | Source archiving detected a possible credential. |
|
|
240
264
|
| `app_source_too_large` | The encoded source archive exceeds its limit. |
|
|
241
265
|
| `publish_body_too_large` | The complete publish request exceeds its limit. `bodyBytes` is the plain JSON and `limit` the 8,388,608-byte plain limit, as before. Added: `overageBytes`, `decodedLimit` (33,554,432), `decodedOverageBytes`; when push would gzip the body, `wireBytes`, `wireLimit` and `wireOverageBytes`; and `compressedUpload`, why the gzip upload was not admitted: `decoded_limit_exceeded`, `self_serve_credential`, `credential_unverified` (a static or opaque credential the CLI cannot read as a provisioned token) or `wire_limit_exceeded`. `appSourceBytes` and `breakdown` are unchanged. No credential or payload content is included. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1703.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": [
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"artifactId": "himalaya-cli"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"falconPackageHash": "
|
|
84
|
+
"falconPackageHash": "39a1d104d115c6aaa6ab54edc64d49be9390721bc2238b3f30a313a9"
|
|
85
85
|
}
|