@capgo/cli 8.106.2 → 8.107.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 +44 -0
- package/dist/index.js +837 -799
- package/dist/notify-app-ready-worker.js +1 -1
- package/dist/onboarding-worker.js +1 -1
- package/dist/package.json +4 -3
- package/dist/src/bundle/recommend-context.d.ts +13 -0
- package/dist/src/bundle/recommend.d.ts +12 -0
- package/dist/src/mcp/simulator-tools.d.ts +2 -0
- package/dist/src/schemas/index.d.ts +1 -0
- package/dist/src/schemas/simulator.d.ts +34 -0
- package/dist/src/sdk.js +1 -1
- package/dist/src/simulator/session.d.ts +61 -4
- package/dist/updater-installed-worker.js +1 -1
- package/package.json +4 -3
- package/skills/native-builds/SKILL.md +17 -1
- package/skills/release-management/SKILL.md +9 -0
- package/skills/usage/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -135,6 +135,7 @@ Capgo continues to load the root config while writing only the selected source.
|
|
|
135
135
|
- 🔑 [Login](#login)
|
|
136
136
|
- 🔹 [Get-qr](#get-qr)
|
|
137
137
|
- 📦 [Bundle](#bundle)
|
|
138
|
+
- [Recommend](#bundle-recommend)
|
|
138
139
|
- [Upload](#bundle-upload)
|
|
139
140
|
- [Compatibility](#bundle-compatibility)
|
|
140
141
|
- [ReleaseType](#bundle-releaseType)
|
|
@@ -220,6 +221,7 @@ Capgo continues to load the root config while writing only the selected source.
|
|
|
220
221
|
- 🔹 [Simulator](#simulator)
|
|
221
222
|
- [Start](#simulator-start)
|
|
222
223
|
- [Get](#simulator-get)
|
|
224
|
+
- [Command](#simulator-command)
|
|
223
225
|
- [Stop](#simulator-stop)
|
|
224
226
|
|
|
225
227
|
## <a id="init"></a> 🚀 **Init**
|
|
@@ -401,6 +403,28 @@ Examples:
|
|
|
401
403
|
|
|
402
404
|
📦 Manage app bundles for deployment in Capgo Cloud, including upload, compatibility checks, and encryption.
|
|
403
405
|
|
|
406
|
+
### <a id="bundle-recommend"></a> 🔹 **Recommend**
|
|
407
|
+
|
|
408
|
+
```bash
|
|
409
|
+
npx @capgo/cli@latest bundle recommend
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
Suggest the next version using Cloudflare AI (active paid subscription required)
|
|
413
|
+
|
|
414
|
+
**Options:**
|
|
415
|
+
|
|
416
|
+
| Param | Type | Description |
|
|
417
|
+
| -------------- | ------------- | -------------------- |
|
|
418
|
+
| **-a** | <code>string</code> | API key to link to your account |
|
|
419
|
+
| **--api-host** | <code>string</code> | Custom Capgo API URL for self-hosting or testing, e.g. https://api.example.com or http://127.0.0.1:8787 (env: CAPGO_API_HOST) |
|
|
420
|
+
| **--base-version** | <code>string</code> | Override the latest Capgo version as the release baseline |
|
|
421
|
+
| **--since** | <code>string</code> | Git ref to compare from (defaults to the latest reachable local tag) |
|
|
422
|
+
| **--ref** | <code>string</code> | Git ref to compare to (defaults to HEAD locally; required for GitHub) |
|
|
423
|
+
| **--repo** | <code>string</code> | Use GitHub comparison history through your authenticated gh CLI |
|
|
424
|
+
| **--changelog** | <code>boolean</code> | Also draft a Markdown changelog |
|
|
425
|
+
| **--json** | <code>boolean</code> | Print the recommendation as JSON |
|
|
426
|
+
| **--dry-run** | <code>boolean</code> | Print local context without sending it to Capgo or AI |
|
|
427
|
+
|
|
404
428
|
### <a id="bundle-upload"></a> ⬆️ **Upload**
|
|
405
429
|
|
|
406
430
|
**Alias:** `u`
|
|
@@ -2624,6 +2648,7 @@ Start an iOS or Android simulator and print its session URL.
|
|
|
2624
2648
|
| -------------- | ------------- | -------------------- |
|
|
2625
2649
|
| **-p** | <code>string</code> | ios or android |
|
|
2626
2650
|
| **-n** | <code>string</code> | Session name |
|
|
2651
|
+
| **--build-job** | <code>string</code> | Saved iOS build job to install into the simulator |
|
|
2627
2652
|
| **--json** | <code>boolean</code> | Print the session JSON |
|
|
2628
2653
|
| **-a** | <code>string</code> | API key to link to your account |
|
|
2629
2654
|
| **--api-host** | <code>string</code> | Custom Capgo API URL for self-hosting or testing, e.g. https://api.example.com or http://127.0.0.1:8787 (env: CAPGO_API_HOST) |
|
|
@@ -2644,6 +2669,25 @@ Read one simulator session.
|
|
|
2644
2669
|
| **-a** | <code>string</code> | API key to link to your account |
|
|
2645
2670
|
| **--api-host** | <code>string</code> | Custom Capgo API URL for self-hosting or testing, e.g. https://api.example.com or http://127.0.0.1:8787 (env: CAPGO_API_HOST) |
|
|
2646
2671
|
|
|
2672
|
+
### <a id="simulator-command"></a> 🔹 **Command**
|
|
2673
|
+
|
|
2674
|
+
```bash
|
|
2675
|
+
npx @capgo/cli@latest simulator command
|
|
2676
|
+
```
|
|
2677
|
+
|
|
2678
|
+
Send one agent-device command to a running simulator: devices, screenshot, snapshot, home, lock, tap, or open.
|
|
2679
|
+
|
|
2680
|
+
**Options:**
|
|
2681
|
+
|
|
2682
|
+
| Param | Type | Description |
|
|
2683
|
+
| -------------- | ------------- | -------------------- |
|
|
2684
|
+
| **--x** | <code>string</code> | Tap x. 0 to 1 is a fraction of the screen. Above 1 is a point. |
|
|
2685
|
+
| **--y** | <code>string</code> | Tap y. 0 to 1 is a fraction of the screen. Above 1 is a point. |
|
|
2686
|
+
| **--bundle-id** | <code>string</code> | Bundle id for open |
|
|
2687
|
+
| **--json** | <code>boolean</code> | Print the command JSON |
|
|
2688
|
+
| **-a** | <code>string</code> | API key to link to your account |
|
|
2689
|
+
| **--api-host** | <code>string</code> | Custom Capgo API URL for self-hosting or testing, e.g. https://api.example.com or http://127.0.0.1:8787 (env: CAPGO_API_HOST) |
|
|
2690
|
+
|
|
2647
2691
|
### <a id="simulator-stop"></a> 🔹 **Stop**
|
|
2648
2692
|
|
|
2649
2693
|
```bash
|