@capgo/cli 7.112.5 → 7.114.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 +450 -450
- package/dist/package.json +9 -2
- package/dist/src/analytics/error-category.d.ts +6 -0
- package/dist/src/analytics/org-resolver.d.ts +11 -0
- package/dist/src/analytics/track.d.ts +68 -0
- package/dist/src/app/add.d.ts +3 -1
- package/dist/src/app/info.d.ts +5 -0
- package/dist/src/posthog.d.ts +1 -0
- package/dist/src/sdk.js +292 -292
- package/dist/src/utils.d.ts +2 -2
- package/package.json +9 -2
package/dist/src/utils.d.ts
CHANGED
|
@@ -137,7 +137,7 @@ interface CapgoConfig {
|
|
|
137
137
|
hostFilesApi: string;
|
|
138
138
|
hostApi: string;
|
|
139
139
|
}
|
|
140
|
-
export declare function getRemoteConfig(silent?: boolean): Promise<CapgoConfig>;
|
|
140
|
+
export declare function getRemoteConfig(silent?: boolean, signal?: AbortSignal): Promise<CapgoConfig>;
|
|
141
141
|
interface CapgoFilesConfig {
|
|
142
142
|
partialUpload: boolean;
|
|
143
143
|
partialUploadForced: boolean;
|
|
@@ -5344,7 +5344,7 @@ export declare function updateOrCreateChannel(supabase: SupabaseClient<Database>
|
|
|
5344
5344
|
}>>;
|
|
5345
5345
|
export declare function sendEvent(capgkey: string, payload: TrackOptions & {
|
|
5346
5346
|
notifyConsole?: boolean;
|
|
5347
|
-
}, verbose?: boolean): Promise<void>;
|
|
5347
|
+
}, verbose?: boolean, signal?: AbortSignal): Promise<void>;
|
|
5348
5348
|
export declare function show2FADeniedError(organizationName?: string): never;
|
|
5349
5349
|
export declare function filterOrgsByPermission(supabase: SupabaseClient<Database>, apikey: string, orgs: Organization[], permissionKey: string): Promise<Organization[]>;
|
|
5350
5350
|
export declare function getOrganizationListWithPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string): Promise<{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.114.0",
|
|
5
5
|
"description": "A CLI to upload to capgo servers",
|
|
6
6
|
"author": "Martin martin@capgo.app",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -80,6 +80,13 @@
|
|
|
80
80
|
"test:ci-secrets": "bun test/test-ci-secrets.mjs",
|
|
81
81
|
"test:android-onboarding-progress": "bun test/test-android-onboarding-progress.mjs",
|
|
82
82
|
"test:onboarding-telemetry": "bun test/test-onboarding-telemetry.mjs",
|
|
83
|
+
"test:v2-event-migration": "bun test/test-v2-event-migration.mjs",
|
|
84
|
+
"test:analytics": "bun test/test-analytics.mjs",
|
|
85
|
+
"test:analytics-error-category": "bun test/test-analytics-error-category.mjs",
|
|
86
|
+
"test:analytics-org-resolver": "bun test/test-analytics-org-resolver.mjs",
|
|
87
|
+
"test:mcp-analytics": "bun test/test-mcp-analytics.mjs",
|
|
88
|
+
"test:app-created-source": "bun test/test-app-created-source.mjs",
|
|
89
|
+
"test:doctor-analytics": "bun test/test-doctor-analytics.mjs",
|
|
83
90
|
"test:posthog-exception": "bun test/test-posthog-exception.mjs",
|
|
84
91
|
"test:onboarding-recovery": "bun test/test-onboarding-recovery.mjs",
|
|
85
92
|
"test:onboarding-progress": "bun test/test-onboarding-progress.mjs",
|
|
@@ -97,7 +104,7 @@
|
|
|
97
104
|
"test:macos-signing": "bun test/test-macos-signing.mjs",
|
|
98
105
|
"test:apple-api-import-helpers": "bun test/test-apple-api-import-helpers.mjs",
|
|
99
106
|
"test:manifest-path-encoding": "bun test/test-manifest-path-encoding.mjs",
|
|
100
|
-
"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: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",
|
|
107
|
+
"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: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",
|
|
101
108
|
"test:build-platform-selection": "bun test/test-build-platform-selection.mjs",
|
|
102
109
|
"test:ai-log-capture": "bun test/test-ai-log-capture.mjs",
|
|
103
110
|
"test:ai-analyze-flow": "bun test/test-ai-analyze-flow.mjs",
|