@capgo/cli 7.95.10 → 7.95.12

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.
@@ -3286,42 +3286,6 @@ export type Database = {
3286
3286
  name: string;
3287
3287
  }[];
3288
3288
  };
3289
- get_accessible_apps_for_apikey_v2: {
3290
- Args: {
3291
- apikey: string;
3292
- };
3293
- Returns: {
3294
- allow_device_custom_id: boolean;
3295
- allow_preview: boolean;
3296
- android_store_url: string | null;
3297
- app_id: string;
3298
- channel_device_count: number;
3299
- created_at: string | null;
3300
- default_upload_channel: string;
3301
- existing_app: boolean;
3302
- expose_metadata: boolean;
3303
- icon_url: string;
3304
- id: string | null;
3305
- ios_store_url: string | null;
3306
- last_version: string | null;
3307
- manifest_bundle_count: number;
3308
- name: string | null;
3309
- need_onboarding: boolean;
3310
- owner_org: string;
3311
- retention: number;
3312
- stats_refresh_requested_at: string | null;
3313
- stats_updated_at: string | null;
3314
- transfer_history: Json[] | null;
3315
- updated_at: string | null;
3316
- user_id: string | null;
3317
- }[];
3318
- SetofOptions: {
3319
- from: "*";
3320
- to: "apps";
3321
- isOneToOne: false;
3322
- isSetofReturn: true;
3323
- };
3324
- };
3325
3289
  get_account_removal_date: {
3326
3290
  Args: never;
3327
3291
  Returns: string;
@@ -3315,42 +3315,6 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
3315
3315
  name: string;
3316
3316
  }[];
3317
3317
  };
3318
- get_accessible_apps_for_apikey_v2: {
3319
- Args: {
3320
- apikey: string;
3321
- };
3322
- Returns: {
3323
- allow_device_custom_id: boolean;
3324
- allow_preview: boolean;
3325
- android_store_url: string | null;
3326
- app_id: string;
3327
- channel_device_count: number;
3328
- created_at: string | null;
3329
- default_upload_channel: string;
3330
- existing_app: boolean;
3331
- expose_metadata: boolean;
3332
- icon_url: string;
3333
- id: string | null;
3334
- ios_store_url: string | null;
3335
- last_version: string | null;
3336
- manifest_bundle_count: number;
3337
- name: string | null;
3338
- need_onboarding: boolean;
3339
- owner_org: string;
3340
- retention: number;
3341
- stats_refresh_requested_at: string | null;
3342
- stats_updated_at: string | null;
3343
- transfer_history: import("./types/supabase.types").Json[] | null;
3344
- updated_at: string | null;
3345
- user_id: string | null;
3346
- }[];
3347
- SetofOptions: {
3348
- from: "*";
3349
- to: "apps";
3350
- isOneToOne: false;
3351
- isSetofReturn: true;
3352
- };
3353
- };
3354
3318
  get_account_removal_date: {
3355
3319
  Args: never;
3356
3320
  Returns: string;
@@ -5386,7 +5350,6 @@ export declare function assertCliPermission(supabase: SupabaseClient<Database>,
5386
5350
  silent?: boolean;
5387
5351
  }): Promise<void>;
5388
5352
  export declare function assertOrgPermission(supabase: SupabaseClient<Database>, apikey: string, permissionKey: string, orgId: string, message: string, silent: boolean): Promise<void>;
5389
- export declare function getAccessibleAppsForApiKey(supabase: SupabaseClient<Database>, apikey: string): Promise<Database['public']['Tables']['apps']['Row'][]>;
5390
5353
  export declare function getOrganizationId(supabase: SupabaseClient<Database>, appId: string): Promise<string>;
5391
5354
  export declare function requireUpdateMetadata(supabase: SupabaseClient<Database>, channel: string, appId: string): Promise<boolean>;
5392
5355
  export declare function getHumanDate(createdA: string | null): string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.95.10",
4
+ "version": "7.95.12",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -86,7 +86,8 @@
86
86
  "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh",
87
87
  "test:platform-paths": "bun test/test-platform-paths.mjs",
88
88
  "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: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"
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:build-platform-selection": "bun test/test-build-platform-selection.mjs"
90
91
  },
91
92
  "dependencies": {
92
93
  "@inkjs/ui": "^2.0.0",
@@ -86,7 +86,7 @@ interface BuildLogger {
86
86
  - Core options:
87
87
  - `--path <path>`
88
88
  - `--node-modules <nodeModules>`: paths to `node_modules` directories for monorepos, comma-separated.
89
- - `--platform <platform>`: `ios` or `android`, required.
89
+ - `--platform <platform>`: `ios` or `android`. If omitted in an interactive terminal, the CLI prompts for the platform; non-interactive runs must pass it explicitly.
90
90
  - `--build-mode <buildMode>`: `debug` or `release`.
91
91
  - `-a, --apikey <apikey>`
92
92
  - `--verbose`