@capgo/cli 8.95.3 → 8.96.1
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 +768 -768
- package/dist/notify-app-ready-worker.js +1 -1
- package/dist/onboarding-worker.js +273 -273
- package/dist/package.json +2 -2
- package/dist/src/app/todo.d.ts +2 -2
- package/dist/src/build/onboarding/command.d.ts +2 -1
- package/dist/src/onboarding/setup-notices.d.ts +2 -0
- package/dist/src/sdk.js +262 -262
- package/dist/src/shared/plan-url.d.ts +2 -0
- package/dist/updater-installed-worker.js +1 -1
- package/package.json +2 -2
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.
|
|
4
|
+
"version": "8.96.1",
|
|
5
5
|
"description": "A CLI to upload to capgo servers",
|
|
6
6
|
"author": "Martin martin@capgo.app",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
"test:build-credentials-units": "bun test/test-credentials-migration.mjs && bun test/test-provisioning-map-validation.mjs && bun test/test-mobileprovision-parser.mjs",
|
|
253
253
|
"test:onboarding-generators": "bun test/test-diff-utils.mjs && bun test/test-workflow-generator.mjs",
|
|
254
254
|
"test:mcp-onboarding": "bun test/test-mcp-onboarding.mjs",
|
|
255
|
-
"test:setup-notices": "bun test ./test/test-setup-notices.mjs ./test/test-setup-progress-request.mjs ./test/test-setup-notice-background.mjs ./test/test-init-completion-notice.mjs"
|
|
255
|
+
"test:setup-notices": "bun test ./test/test-setup-notices.mjs ./test/test-setup-progress-request.mjs ./test/test-setup-notice-background.mjs ./test/test-init-completion-notice.mjs && bun test ./test/test-builder-setup-notice.mjs"
|
|
256
256
|
},
|
|
257
257
|
"dependencies": {
|
|
258
258
|
"@inkjs/ui": "^2.0.0",
|
package/dist/src/app/todo.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export declare function getAppTodoSteps(progress: AppTodoProgress, list?: AppTod
|
|
|
36
36
|
} | {
|
|
37
37
|
version: number;
|
|
38
38
|
steps: {
|
|
39
|
-
id: "
|
|
39
|
+
id: "login_cli_mcp" | "add_channel" | "add_updater" | "add_code" | "add_encryption" | "select_platform" | "build_project" | "run_device" | "add_code_change" | "upload_bundle" | "test_update" | "completion" | "add_app";
|
|
40
40
|
title: string;
|
|
41
41
|
status: "done" | "skipped" | "pending";
|
|
42
42
|
}[];
|
|
@@ -50,7 +50,7 @@ export declare function formatAppTodoList(appId: string, progress: AppTodoProgre
|
|
|
50
50
|
export declare function getAppTodoNextStep(progress: AppTodoProgress, list?: AppTodoList): {
|
|
51
51
|
action: string;
|
|
52
52
|
doneWhen: string;
|
|
53
|
-
id: "
|
|
53
|
+
id: "login_cli_mcp" | "add_channel" | "add_updater" | "add_code" | "add_encryption" | "select_platform" | "build_project" | "run_device" | "add_code_change" | "upload_bundle" | "test_update" | "completion" | "add_app";
|
|
54
54
|
title: string;
|
|
55
55
|
status: "done" | "skipped" | "pending";
|
|
56
56
|
} | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import type { NoticeOutputOptions } from '../../onboarding/setup-notice-policy.js';
|
|
1
2
|
import type { BuilderProjectPrompts } from './project-selection.js';
|
|
2
|
-
export interface OnboardingBuilderOptions {
|
|
3
|
+
export interface OnboardingBuilderOptions extends NoticeOutputOptions {
|
|
3
4
|
analytics?: boolean;
|
|
4
5
|
/** Exact app selected by a caller handing off an assigned Builder checklist. */
|
|
5
6
|
appId?: string;
|
|
@@ -22,6 +22,8 @@ export type SetupNotice = {
|
|
|
22
22
|
billing: Billing;
|
|
23
23
|
});
|
|
24
24
|
export declare function getSetupNotice(appId: string, progress: AppTodoProgress, webHost?: string): SetupNotice | undefined;
|
|
25
|
+
/** Plans link for agents: during the trial it opens the console's "add a card" prompt directly. */
|
|
26
|
+
export declare function agentPlansUrl(billing: Billing, now: number): string;
|
|
25
27
|
export declare function formatSetupNotice(notice: SetupNotice | undefined, now?: number, agent?: boolean): string | undefined;
|
|
26
28
|
export declare function reconcileSetupProgress(progress: AppTodoProgress, reported: readonly LocalOnboardingStep[]): AppTodoProgress;
|
|
27
29
|
export {};
|