@capgo/cli 7.95.14 → 7.95.16

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.95.14",
4
+ "version": "7.95.16",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -74,6 +74,7 @@
74
74
  "test:build-zip-filter": "bun test/test-build-zip-filter.mjs",
75
75
  "test:checksum": "bun test/test-checksum-algorithm.mjs",
76
76
  "test:ci-prompts": "bun test/test-ci-prompts.mjs",
77
+ "test:posthog-exception": "bun test/test-posthog-exception.mjs",
77
78
  "test:onboarding-recovery": "bun test/test-onboarding-recovery.mjs",
78
79
  "test:onboarding-run-targets": "bun test/test-onboarding-run-targets.mjs",
79
80
  "test:run-device-command": "bun test/test-run-device-command.mjs",
@@ -86,7 +87,7 @@
86
87
  "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh",
87
88
  "test:platform-paths": "bun test/test-platform-paths.mjs",
88
89
  "test:payload-split": "bun test/test-payload-split.mjs",
89
- "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:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:build-platform-selection && bun run test:onboarding-recovery && 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",
90
+ "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:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:posthog-exception && bun run test:build-platform-selection && bun run test:onboarding-recovery && 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",
90
91
  "test:build-platform-selection": "bun test/test-build-platform-selection.mjs"
91
92
  },
92
93
  "dependencies": {
@@ -293,6 +293,8 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
293
293
  allow_preview: boolean;
294
294
  android_store_url: string | null;
295
295
  app_id: string;
296
+ build_timeout_seconds: number;
297
+ build_timeout_updated_at: string;
296
298
  channel_device_count: number;
297
299
  created_at: string | null;
298
300
  default_upload_channel: string;
@@ -318,6 +320,8 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
318
320
  allow_preview?: boolean;
319
321
  android_store_url?: string | null;
320
322
  app_id: string;
323
+ build_timeout_seconds?: number;
324
+ build_timeout_updated_at?: string;
321
325
  channel_device_count?: number;
322
326
  created_at?: string | null;
323
327
  default_upload_channel?: string;
@@ -343,6 +347,8 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
343
347
  allow_preview?: boolean;
344
348
  android_store_url?: string | null;
345
349
  app_id?: string;
350
+ build_timeout_seconds?: number;
351
+ build_timeout_updated_at?: string;
346
352
  channel_device_count?: number;
347
353
  created_at?: string | null;
348
354
  default_upload_channel?: string;
@@ -512,6 +518,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
512
518
  owner_org: string;
513
519
  platform: string;
514
520
  requested_by: string;
521
+ runner_wait_seconds: number;
515
522
  status: string;
516
523
  updated_at: string;
517
524
  upload_expires_at: string;
@@ -530,6 +537,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
530
537
  owner_org: string;
531
538
  platform: string;
532
539
  requested_by: string;
540
+ runner_wait_seconds?: number;
533
541
  status?: string;
534
542
  updated_at?: string;
535
543
  upload_expires_at: string;
@@ -548,6 +556,7 @@ export declare function delChannelDevices(supabase: SupabaseClient<Database>, ap
548
556
  owner_org?: string;
549
557
  platform?: string;
550
558
  requested_by?: string;
559
+ runner_wait_seconds?: number;
551
560
  status?: string;
552
561
  updated_at?: string;
553
562
  upload_expires_at?: string;
@@ -4,6 +4,8 @@ export declare function listAppInternal(options: OptionsBase, silent?: boolean):
4
4
  allow_preview: boolean;
5
5
  android_store_url: string | null;
6
6
  app_id: string;
7
+ build_timeout_seconds: number;
8
+ build_timeout_updated_at: string;
7
9
  channel_device_count: number;
8
10
  created_at: string | null;
9
11
  default_upload_channel: string;
@@ -29,6 +31,8 @@ export declare function listApp(options: OptionsBase): Promise<{
29
31
  allow_preview: boolean;
30
32
  android_store_url: string | null;
31
33
  app_id: string;
34
+ build_timeout_seconds: number;
35
+ build_timeout_updated_at: string;
32
36
  channel_device_count: number;
33
37
  created_at: string | null;
34
38
  default_upload_channel: string;
@@ -0,0 +1,12 @@
1
+ import type { Command } from 'commander';
2
+ type CliPosthogExceptionKind = 'unhandled_error';
3
+ interface CapturePosthogExceptionPayload {
4
+ error: unknown;
5
+ functionName: string;
6
+ kind: CliPosthogExceptionKind;
7
+ status?: number;
8
+ }
9
+ export declare function shouldCapturePosthogException(error: unknown): boolean;
10
+ export declare function getCommandPath(command: Command): string;
11
+ export declare function capturePosthogException(payload: CapturePosthogExceptionPayload): Promise<boolean>;
12
+ export {};