@capgo/cli 7.120.0 → 7.121.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.
Files changed (29) hide show
  1. package/dist/index.js +580 -566
  2. package/dist/package.json +15 -3
  3. package/dist/src/ai/analyze.d.ts +8 -0
  4. package/dist/src/ai/telemetry.d.ts +2 -2
  5. package/dist/src/build/onboarding/ai-fit.d.ts +91 -0
  6. package/dist/src/build/onboarding/android/types.d.ts +1 -1
  7. package/dist/src/build/onboarding/android/ui/app.d.ts +5 -1
  8. package/dist/src/build/onboarding/build-log.d.ts +10 -0
  9. package/dist/src/build/onboarding/min-terminal-size.d.ts +16 -0
  10. package/dist/src/build/onboarding/progress.d.ts +1 -0
  11. package/dist/src/build/onboarding/types.d.ts +18 -1
  12. package/dist/src/build/onboarding/ui/app.d.ts +5 -2
  13. package/dist/src/build/onboarding/ui/completed-steps-log.d.ts +9 -0
  14. package/dist/src/build/onboarding/ui/components.d.ts +58 -1
  15. package/dist/src/build/onboarding/ui/frame-fit.d.ts +10 -0
  16. package/dist/src/build/onboarding/ui/min-size-gate.d.ts +20 -0
  17. package/dist/src/build/onboarding/ui/platform-picker.d.ts +19 -0
  18. package/dist/src/build/onboarding/ui/shell.d.ts +23 -0
  19. package/dist/src/build/onboarding/ui/steps/android-ci.d.ts +45 -0
  20. package/dist/src/build/onboarding/ui/steps/android-keystore.d.ts +75 -0
  21. package/dist/src/build/onboarding/ui/steps/android-sa-gcp.d.ts +85 -0
  22. package/dist/src/build/onboarding/ui/steps/android-shared.d.ts +63 -0
  23. package/dist/src/build/onboarding/ui/steps/ios-ci.d.ts +44 -0
  24. package/dist/src/build/onboarding/ui/steps/ios-credentials.d.ts +66 -0
  25. package/dist/src/build/onboarding/ui/steps/ios-import.d.ts +47 -0
  26. package/dist/src/build/onboarding/ui/steps/ios-shared.d.ts +89 -0
  27. package/dist/src/schemas/build.d.ts +10 -0
  28. package/dist/src/sdk.js +258 -258
  29. package/package.json +15 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.120.0",
4
+ "version": "7.121.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -105,11 +105,22 @@
105
105
  "test:macos-signing": "bun test/test-macos-signing.mjs",
106
106
  "test:apple-api-import-helpers": "bun test/test-apple-api-import-helpers.mjs",
107
107
  "test:manifest-path-encoding": "bun test/test-manifest-path-encoding.mjs",
108
- "test": "bun run build && bun run test:version-detection:setup && bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:android-service-account-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:build-needed && bun run test:ci-prompts && bun run test:ci-secrets && bun run test:android-onboarding-progress && bun run test:onboarding-telemetry && bun run test:v2-event-migration && bun run test:analytics && bun run test:analytics-error-category && bun run test:analytics-org-resolver && bun run test:supabase-perf && bun run test:mcp-analytics && bun run test:app-created-source && bun run test:doctor-analytics && bun run test:posthog-exception && bun run test:build-platform-selection && bun run test:onboarding-recovery && bun run test:onboarding-progress && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && bun run test:init-guardrails && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split && bun run test:manifest-path-encoding && bun run test:macos-signing && bun run test:apple-api-import-helpers && bun run test:ai-log-capture && bun run test:ai-analyze-flow && bun run test:ai-render-markdown",
108
+ "test": "bun run build && bun run test:version-detection:setup && bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:android-service-account-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:build-needed && bun run test:ci-prompts && bun run test:ci-secrets && bun run test:android-onboarding-progress && bun run test:onboarding-telemetry && bun run test:v2-event-migration && bun run test:analytics && bun run test:analytics-error-category && bun run test:analytics-org-resolver && bun run test:supabase-perf && bun run test:mcp-analytics && bun run test:app-created-source && bun run test:doctor-analytics && bun run test:posthog-exception && bun run test:build-platform-selection && bun run test:onboarding-recovery && bun run test:onboarding-progress && bun run test:onboarding-run-targets && bun run test:run-device-command && bun run test:init-app-conflict && bun run test:init-guardrails && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split && bun run test:manifest-path-encoding && bun run test:macos-signing && bun run test:apple-api-import-helpers && bun run test:ai-log-capture && bun run test:ai-analyze-flow && bun run test:ai-render-markdown && bun run test:ai-onboarding-mode && bun run test:ai-fit && bun run test:platform-layout && bun run test:frame-fit && bun run test:onboarding-min-size && bun run test:min-size-gate && bun run test:shell-size-gate && bun run test:build-log-sanitize && bun run test:build-output-viewport && bun run test:diff-viewer-viewport && bun run test:build-complete-exit",
109
109
  "test:build-platform-selection": "bun test/test-build-platform-selection.mjs",
110
110
  "test:ai-log-capture": "bun test/test-ai-log-capture.mjs",
111
111
  "test:ai-analyze-flow": "bun test/test-ai-analyze-flow.mjs",
112
- "test:ai-render-markdown": "bun test/test-ai-render-markdown.mjs"
112
+ "test:ai-render-markdown": "bun test/test-ai-render-markdown.mjs",
113
+ "test:ai-onboarding-mode": "bun test/test-ai-onboarding-mode.mjs",
114
+ "test:ai-fit": "bun test/test-ai-fit.mjs",
115
+ "test:platform-layout": "bun test/test-platform-layout.mjs",
116
+ "test:frame-fit": "bun test/run-frame-fit.mjs",
117
+ "test:onboarding-min-size": "bun test/test-onboarding-min-size.mjs",
118
+ "test:min-size-gate": "bun test/test-min-size-gate.mjs",
119
+ "test:shell-size-gate": "bun test/test-shell-size-gate.mjs",
120
+ "test:build-log-sanitize": "bun test/test-build-log-sanitize.mjs",
121
+ "test:build-output-viewport": "bun test/test-build-output-viewport.mjs",
122
+ "test:diff-viewer-viewport": "bun test/test-diff-viewer-viewport.mjs",
123
+ "test:build-complete-exit": "bun test/test-build-complete-exit.mjs"
113
124
  },
114
125
  "dependencies": {
115
126
  "@inkjs/ui": "^2.0.0",
@@ -142,6 +153,7 @@
142
153
  "@types/ws": "^8.18.1",
143
154
  "@typescript/native-preview": "7.0.0-dev.20260526.1",
144
155
  "@vercel/ncc": "^0.38.4",
156
+ "@xterm/headless": "^6.0.0",
145
157
  "adm-zip": "^0.5.17",
146
158
  "ci-info": "^4.4.0",
147
159
  "commander": "^14.0.3",