@capgo/cli 8.52.0 → 8.53.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/index.js +594 -594
- package/dist/notify-app-ready-worker.js +194 -194
- package/dist/package.json +1 -1
- package/dist/src/notify-app-ready-background.d.ts +1 -11
- package/dist/src/onboarding/background-api.d.ts +2 -0
- package/dist/src/onboarding/background-check.d.ts +9 -0
- package/dist/src/onboarding/background.d.ts +13 -0
- package/dist/src/onboarding/updater-installed.d.ts +2 -0
- package/dist/src/sdk.js +2 -2
- package/dist/src/updater-installed-background.d.ts +2 -0
- package/dist/src/updater-installed-worker.d.ts +1 -0
- package/dist/src/utils.d.ts +2 -12
- package/dist/updater-installed-worker.js +416 -0
- package/package.json +1 -1
- package/skills/usage/SKILL.md +3 -0
package/package.json
CHANGED
package/skills/usage/SKILL.md
CHANGED
|
@@ -20,7 +20,10 @@ TanStack Intent skills should stay focused and under the validator line limit, s
|
|
|
20
20
|
- Prefer `npx @capgo/cli@latest ...` in user-facing examples in this repo.
|
|
21
21
|
- Many commands can infer `appId` and related config from the current Capacitor project.
|
|
22
22
|
- Commands inside an identifiable Capacitor project can automatically complete the Add Integration Code onboarding task when a source call to `CapacitorUpdater.notifyAppReady()` is detected. Detection is best effort and may be abandoned when the command exits. It does not confirm runtime readiness.
|
|
23
|
+
- A separate background check can complete Install Updater Plugin when `@capgo/capacitor-updater` is declared in the selected app's package.json and installed locally, including hoisted or symlinked workspace dependencies. Missing dependencies leave existing progress untouched; detection may be abandoned when the command exits.
|
|
23
24
|
- With analytics enabled, source scans emit `scan_started` and `scan_ended` events in the `notify-app-ready` channel with a shared `attempt_id`. The ended event includes scan duration, result, and todo-report outcome. An abandoned scan may have no ended event.
|
|
25
|
+
- Updater installation checks use the same scan events and attempt pairing in the `updater-installed` channel, with a separate attempt ID from the source scan. Telemetry opt-out does not prevent either onboarding check.
|
|
26
|
+
- Background onboarding requests trust the default Capgo API origin. For a custom API, explicitly select the self-host with `--supa-host` and `--supa-anon` where supported, or list trusted URL origins (including scheme and port) in `CAPGO_TRUSTED_API_ORIGINS`, separated by commas. Remote hosts require HTTPS; HTTP is permitted only for trusted loopback origins. Untrusted destinations and redirects are skipped without sending credentials to another host.
|
|
24
27
|
- Shared public flags commonly include `-a, --apikey <apikey>` and `--verbose` on commands that support verbose output.
|
|
25
28
|
- `--capacitor-config <path>` is a global option for dynamic monorepos: Capacitor still loads the active root config, while config-writing commands update the selected app-specific source file. On `mcp`, the target remains active for the server lifetime so config-writing MCP tools use the same source.
|
|
26
29
|
|