@capgo/cli 8.70.0 → 8.72.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 -760
- package/dist/notify-app-ready-worker.js +1 -1
- package/dist/onboarding-worker.js +1 -1
- package/dist/package.json +1 -1
- package/dist/src/api/channels.d.ts +1 -0
- 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 -371
- package/dist/src/types/supabase.types.d.ts +5 -2
- package/dist/src/utils.d.ts +12 -2
- package/dist/updater-installed-worker.js +1 -1
- package/package.json +1 -1
- package/skills/release-management/SKILL.md +13 -0
- package/skills/usage/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -157,6 +157,7 @@ Capgo continues to load the root config while writing only the selected source.
|
|
|
157
157
|
- [Delete](#channel-delete)
|
|
158
158
|
- [List](#channel-list)
|
|
159
159
|
- [CurrentBundle](#channel-currentBundle)
|
|
160
|
+
- [Promote](#channel-promote)
|
|
160
161
|
- [Set](#channel-set)
|
|
161
162
|
- 🔐 [Key](#key)
|
|
162
163
|
- [Save](#key-save)
|
|
@@ -971,6 +972,32 @@ npx @capgo/cli@latest channel currentBundle production com.example.app
|
|
|
971
972
|
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
972
973
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
973
974
|
|
|
975
|
+
### <a id="channel-promote"></a> 🚀 **Promote**
|
|
976
|
+
|
|
977
|
+
```bash
|
|
978
|
+
npx @capgo/cli@latest channel promote
|
|
979
|
+
```
|
|
980
|
+
|
|
981
|
+
🚀 Promote the bundle currently linked to one channel to another channel, for example from staging to production, without typing the bundle version.
|
|
982
|
+
Runs the same compatibility and permission checks as channel set --bundle.
|
|
983
|
+
|
|
984
|
+
**Example:**
|
|
985
|
+
|
|
986
|
+
```bash
|
|
987
|
+
npx @capgo/cli@latest channel promote staging production com.example.app
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+
**Options:**
|
|
991
|
+
|
|
992
|
+
| Param | Type | Description |
|
|
993
|
+
| -------------- | ------------- | -------------------- |
|
|
994
|
+
| **-a** | <code>string</code> | API key to link to your account |
|
|
995
|
+
| **--send-update-notification** | <code>boolean</code> | Send a native update-check notification to devices after updating the linked channel bundle |
|
|
996
|
+
| **--ignore-metadata-check** | <code>boolean</code> | Ignore checking node_modules compatibility if present in the bundle |
|
|
997
|
+
| **--accept-incompatible** | <code>boolean</code> | Accept native-package incompatibility as handled (still checks and warns, sets the channel instead of failing). Use this when your app already guards missing plugins at runtime. Cannot be combined with --ignore-metadata-check. |
|
|
998
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
999
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
1000
|
+
|
|
974
1001
|
### <a id="channel-set"></a> ⚙️ **Set**
|
|
975
1002
|
|
|
976
1003
|
**Alias:** `s`
|
|
@@ -2161,7 +2188,7 @@ Selected tools exposed via MCP:
|
|
|
2161
2188
|
- capgo_list_apps, capgo_add_app, capgo_update_app, capgo_delete_app
|
|
2162
2189
|
- capgo_upload_bundle, capgo_list_bundles, capgo_delete_bundle, capgo_cleanup_bundles
|
|
2163
2190
|
- capgo_list_channels, capgo_add_channel, capgo_update_channel, capgo_delete_channel
|
|
2164
|
-
- capgo_get_current_bundle, capgo_check_compatibility
|
|
2191
|
+
- capgo_get_current_bundle, capgo_promote_channel, capgo_check_compatibility
|
|
2165
2192
|
- capgo_list_organizations, capgo_add_organization
|
|
2166
2193
|
- capgo_star_repository
|
|
2167
2194
|
- capgo_star_all_repositories
|