@capgo/cli 8.69.0 → 8.71.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 +28 -1
- package/dist/index.js +766 -759
- package/dist/notify-app-ready-worker.js +77 -76
- package/dist/onboarding-worker.js +127 -126
- package/dist/package.json +1 -1
- package/dist/src/bundle/upload-abandon-error.d.ts +25 -0
- package/dist/src/channel/promote.d.ts +12 -0
- package/dist/src/channel/set.d.ts +1 -1
- package/dist/src/mcp/tool-schemas.d.ts +8 -0
- package/dist/src/schemas/channel.d.ts +9 -0
- package/dist/src/schemas/index.d.ts +4 -4
- package/dist/src/schemas/sdk.d.ts +12 -0
- package/dist/src/sdk.d.ts +25 -2
- package/dist/src/sdk.js +373 -370
- package/dist/src/types/supabase.types.d.ts +14 -0
- package/dist/src/utils.d.ts +14 -0
- package/dist/updater-installed-worker.js +62 -61
- package/package.json +1 -1
- package/skills/release-management/SKILL.md +13 -0
- package/skills/usage/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -207,6 +207,19 @@ Use this skill for OTA update workflows in Capgo Cloud.
|
|
|
207
207
|
- `-c, --channel <channel>`
|
|
208
208
|
- `--quiet`
|
|
209
209
|
|
|
210
|
+
### `channel promote [fromChannel] [toChannel] [appId]`
|
|
211
|
+
|
|
212
|
+
- Example: `npx @capgo/cli@latest channel promote staging production com.example.app`
|
|
213
|
+
- Use to ship what a channel already serves (for example a validated `staging` or `preprod` bundle) to another channel without looking up the bundle version.
|
|
214
|
+
- Notes:
|
|
215
|
+
- Copies only the stable bundle linked to the source channel. Channel settings are not copied.
|
|
216
|
+
- Like `channel set --bundle`, a new stable bundle stops any rollout in progress on the target channel; the CLI warns when that happens.
|
|
217
|
+
- Runs the same native compatibility and RBAC checks as `channel set --bundle` on the target channel.
|
|
218
|
+
- Key options:
|
|
219
|
+
- `--ignore-metadata-check`
|
|
220
|
+
- `--accept-incompatible` (cannot be combined with `--ignore-metadata-check`)
|
|
221
|
+
- `--send-update-notification`
|
|
222
|
+
|
|
210
223
|
### `channel set [channelId] [appId]`
|
|
211
224
|
|
|
212
225
|
- Alias: `s`
|
package/skills/usage/SKILL.md
CHANGED
|
@@ -76,7 +76,7 @@ Load `skills/release-management/SKILL.md` when working with:
|
|
|
76
76
|
|
|
77
77
|
- `bundle upload`, `bundle list`, `bundle delete`, `bundle cleanup`
|
|
78
78
|
- `bundle compatibility`, `bundle releaseType`, `bundle zip`, `bundle encrypt`, `bundle decrypt`
|
|
79
|
-
- `channel add`, `channel list`, `channel delete`, `channel set`, `channel currentBundle`
|
|
79
|
+
- `channel add`, `channel list`, `channel delete`, `channel set`, `channel promote`, `channel currentBundle`
|
|
80
80
|
- `get-qr`
|
|
81
81
|
- `key save`, `key create`, `key delete_old`
|
|
82
82
|
|