@capgo/cli 7.122.7 → 7.124.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 +485 -485
- package/dist/package.json +1 -1
- package/dist/src/build/onboarding/android/types.d.ts +1 -1
- package/dist/src/build/onboarding/telemetry.d.ts +1 -1
- package/dist/src/init/ui/app.d.ts +2 -1
- package/dist/src/init/ui/components.d.ts +10 -9
- package/dist/src/sdk.js +228 -228
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type AndroidOnboardingStep = 'welcome' | 'credentials-exist' | 'backing-up' | 'no-platform' | 'keystore-method-select' | 'keystore-explainer' | 'keystore-existing-path' | 'keystore-existing-picker' | 'keystore-existing-store-password' | 'keystore-existing-detecting-alias' | 'keystore-existing-alias-select' | 'keystore-existing-alias' | 'keystore-existing-key-password' | 'keystore-new-alias' | 'keystore-new-password-method' | 'keystore-new-store-password' | 'keystore-new-key-password' | 'keystore-new-cn' | 'keystore-generating' | 'service-account-method-select' | 'sa-json-existing-path' | 'sa-json-existing-picker' | 'sa-json-validating' | 'sa-json-validation-failed' | 'google-sign-in' | 'google-sign-in-running' | 'play-developer-id-input' | 'gcp-projects-loading' | 'gcp-projects-select' | 'gcp-project-create-name' | 'android-package-select' | 'gcp-setup-running' | 'saving-credentials' | 'detecting-ci-secrets' | 'ci-secrets-setup' | 'ci-secrets-target-select' | 'ask-ci-secrets' | 'checking-ci-secrets' | 'confirm-ci-secret-overwrite' | 'uploading-ci-secrets' | 'ci-secrets-failed' | 'ask-github-actions-setup' | 'confirm-secrets-push' | 'ask-export-env' | 'exporting-env' | 'confirm-env-export-overwrite' | 'overwrite-and-export-env' | 'pick-package-manager' | 'pick-build-script' | 'pick-build-script-custom' | 'preview-workflow-file' | 'view-workflow-diff' | 'writing-workflow-file' | 'ask-build' | 'requesting-build' | 'ai-analysis-prompt' | 'ai-analysis-running' | 'ai-analysis-result' | 'ai-analysis-result-scroll' | 'build-complete' | 'error';
|
|
1
|
+
export type AndroidOnboardingStep = 'welcome' | 'resume-prompt' | 'credentials-exist' | 'backing-up' | 'no-platform' | 'keystore-method-select' | 'keystore-explainer' | 'keystore-existing-path' | 'keystore-existing-picker' | 'keystore-existing-store-password' | 'keystore-existing-detecting-alias' | 'keystore-existing-alias-select' | 'keystore-existing-alias' | 'keystore-existing-key-password' | 'keystore-new-alias' | 'keystore-new-password-method' | 'keystore-new-store-password' | 'keystore-new-key-password' | 'keystore-new-cn' | 'keystore-generating' | 'service-account-method-select' | 'sa-json-existing-path' | 'sa-json-existing-picker' | 'sa-json-validating' | 'sa-json-validation-failed' | 'google-sign-in' | 'google-sign-in-running' | 'play-developer-id-input' | 'gcp-projects-loading' | 'gcp-projects-select' | 'gcp-project-create-name' | 'android-package-select' | 'gcp-setup-running' | 'saving-credentials' | 'detecting-ci-secrets' | 'ci-secrets-setup' | 'ci-secrets-target-select' | 'ask-ci-secrets' | 'checking-ci-secrets' | 'confirm-ci-secret-overwrite' | 'uploading-ci-secrets' | 'ci-secrets-failed' | 'ask-github-actions-setup' | 'confirm-secrets-push' | 'ask-export-env' | 'exporting-env' | 'confirm-env-export-overwrite' | 'overwrite-and-export-env' | 'pick-package-manager' | 'pick-build-script' | 'pick-build-script-custom' | 'preview-workflow-file' | 'view-workflow-diff' | 'writing-workflow-file' | 'ask-build' | 'requesting-build' | 'ai-analysis-prompt' | 'ai-analysis-running' | 'ai-analysis-result' | 'ai-analysis-result-scroll' | 'build-complete' | 'error';
|
|
2
2
|
export type AndroidOnboardingErrorCategory = 'keystore_invalid' | 'google_oauth_failed' | 'play_account_id_invalid' | 'sa_json_shape_invalid' | 'sa_json_token_rejected' | 'sa_json_no_app_access' | 'sa_json_network_error' | 'unknown';
|
|
3
3
|
export type KeystoreMethod = 'existing' | 'generate';
|
|
4
4
|
export type ServiceAccountMethod = 'existing' | 'generate';
|
|
@@ -14,7 +14,7 @@ export interface TrackBuilderOnboardingStepInput {
|
|
|
14
14
|
/** Pre-computed category. Takes precedence over `error` if both are present. */
|
|
15
15
|
errorCategory?: OnboardingErrorCategory | AndroidOnboardingErrorCategory;
|
|
16
16
|
}
|
|
17
|
-
export type BuilderOnboardingAction = 'android_sa_method_selected' | 'android_sa_validation_recovery_selected' | 'android_sa_validation_result';
|
|
17
|
+
export type BuilderOnboardingAction = 'resume_prompt_decision' | 'android_sa_method_selected' | 'android_sa_validation_recovery_selected' | 'android_sa_validation_result';
|
|
18
18
|
export interface TrackBuilderOnboardingActionInput {
|
|
19
19
|
apikey: string;
|
|
20
20
|
appId: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { InitRuntimeState } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
interface InitInkAppProps {
|
|
3
4
|
getSnapshot: () => InitRuntimeState;
|
|
4
5
|
subscribe: (listener: () => void) => () => void;
|
|
5
6
|
updatePromptError: (error?: string) => void;
|
|
6
7
|
}
|
|
7
|
-
export default function InitInkApp({ getSnapshot, subscribe, updatePromptError }: Readonly<InitInkAppProps>):
|
|
8
|
+
export default function InitInkApp({ getSnapshot, subscribe, updatePromptError }: Readonly<InitInkAppProps>): React.JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
import type { ConfirmPrompt, InitScreen, PromptRequest, SelectPrompt, TextPrompt } from '../runtime';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare function InitHeader({ title }: Readonly<{
|
|
3
4
|
title?: string;
|
|
4
|
-
}>):
|
|
5
|
+
}>): React.JSX.Element;
|
|
5
6
|
export declare function ScreenIntro({ screen }: Readonly<{
|
|
6
7
|
screen: InitScreen;
|
|
7
|
-
}>):
|
|
8
|
+
}>): React.JSX.Element;
|
|
8
9
|
export declare function ProgressSection({ screen }: Readonly<{
|
|
9
10
|
screen: InitScreen;
|
|
10
|
-
}>):
|
|
11
|
+
}>): React.JSX.Element | null;
|
|
11
12
|
export declare function CurrentStepSection({ screen }: Readonly<{
|
|
12
13
|
screen: InitScreen;
|
|
13
|
-
}>):
|
|
14
|
+
}>): React.JSX.Element | null;
|
|
14
15
|
export declare function ConfirmPromptView({ prompt }: Readonly<{
|
|
15
16
|
prompt: ConfirmPrompt;
|
|
16
|
-
}>):
|
|
17
|
+
}>): React.JSX.Element;
|
|
17
18
|
export declare function TextPromptView({ prompt, onError }: Readonly<{
|
|
18
19
|
prompt: TextPrompt;
|
|
19
20
|
onError: (error?: string) => void;
|
|
20
|
-
}>):
|
|
21
|
+
}>): React.JSX.Element;
|
|
21
22
|
export declare function SelectPromptView({ prompt }: Readonly<{
|
|
22
23
|
prompt: SelectPrompt;
|
|
23
|
-
}>):
|
|
24
|
+
}>): React.JSX.Element;
|
|
24
25
|
export declare function PromptArea({ prompt, onTextError }: Readonly<{
|
|
25
26
|
prompt?: PromptRequest;
|
|
26
27
|
onTextError: (error?: string) => void;
|
|
27
|
-
}>):
|
|
28
|
+
}>): React.JSX.Element | null;
|
|
28
29
|
export declare function SpinnerArea({ text }: Readonly<{
|
|
29
30
|
text?: string;
|
|
30
|
-
}>):
|
|
31
|
+
}>): React.JSX.Element | null;
|