@capgo/cli 8.28.2 → 8.29.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.
Files changed (38) hide show
  1. package/dist/index.js +896 -851
  2. package/dist/package.json +28 -26
  3. package/dist/src/analytics/track.d.ts +0 -1
  4. package/dist/src/api/channels.d.ts +4 -1
  5. package/dist/src/app/debug.d.ts +1 -1
  6. package/dist/src/build/credentials.d.ts +1 -1
  7. package/dist/src/build/onboarding/mcp/build-tool-schemas.d.ts +14 -0
  8. package/dist/src/build/onboarding/mcp/build-tools.d.ts +2 -11
  9. package/dist/src/build/onboarding/mcp/credentials-manage.d.ts +12 -31
  10. package/dist/src/build/onboarding/mcp/onboarding-tools.d.ts +2 -20
  11. package/dist/src/bundle/upload_interface.d.ts +0 -1
  12. package/dist/src/channel/list.d.ts +8 -2
  13. package/dist/src/github-command.d.ts +1 -2
  14. package/dist/src/init/mcp/live-update-tools.d.ts +2 -18
  15. package/dist/src/mcp/registrar.d.ts +18 -0
  16. package/dist/src/mcp/tool-schemas.d.ts +127 -0
  17. package/dist/src/schemas/app.d.ts +34 -35
  18. package/dist/src/schemas/ark_validation.d.ts +23 -0
  19. package/dist/src/schemas/arktype.d.ts +2 -0
  20. package/dist/src/schemas/arktype_config.d.ts +1 -0
  21. package/dist/src/schemas/auth.d.ts +7 -14
  22. package/dist/src/schemas/base.d.ts +6 -7
  23. package/dist/src/schemas/build.d.ts +254 -266
  24. package/dist/src/schemas/bundle.d.ts +156 -164
  25. package/dist/src/schemas/channel.d.ts +85 -87
  26. package/dist/src/schemas/common.d.ts +43 -51
  27. package/dist/src/schemas/config.d.ts +12 -20
  28. package/dist/src/schemas/index.d.ts +1 -2
  29. package/dist/src/schemas/live-update-onboarding.d.ts +22 -31
  30. package/dist/src/schemas/onboarding.d.ts +57 -147
  31. package/dist/src/schemas/organization.d.ts +40 -41
  32. package/dist/src/schemas/sdk.d.ts +396 -418
  33. package/dist/src/schemas/validate.d.ts +3 -9
  34. package/dist/src/sdk.d.ts +1 -11
  35. package/dist/src/sdk.js +447 -480
  36. package/dist/src/types/supabase.types.d.ts +3 -0
  37. package/dist/src/utils.d.ts +7 -25
  38. package/package.json +28 -26
@@ -1,12 +1,6 @@
1
- import type { ZodSchema } from 'zod';
1
+ import { type StandardSchema } from './ark_validation';
2
2
  /**
3
- * Validate options using a Zod schema with CLI-friendly error messages.
3
+ * Validate options using a Standard Schema with CLI-friendly error messages.
4
4
  * Preserves the existing silent/log.error pattern used across all commands.
5
- *
6
- * @param schema - The Zod schema to validate against
7
- * @param data - The data to validate
8
- * @param silent - If true, suppresses log output (for SDK usage)
9
- * @returns The parsed and validated data
10
- * @throws Error with a descriptive message if validation fails
11
5
  */
12
- export declare function validateOptions<T>(schema: ZodSchema<T>, data: unknown, silent?: boolean): T;
6
+ export declare function validateOptions<T>(schema: StandardSchema<T>, data: unknown, silent?: boolean): T;
package/dist/src/sdk.d.ts CHANGED
@@ -518,17 +518,7 @@ export declare function probeUpdates(options: ProbeOptions): Promise<SDKResult<P
518
518
  * }
519
519
  * ```
520
520
  */
521
- export declare function getCapacitorConfig(): Promise<{
522
- config: {
523
- [x: string]: unknown;
524
- appId: string;
525
- appName: string;
526
- webDir: string;
527
- plugins?: Record<string, any> | undefined;
528
- android?: Record<string, any> | undefined;
529
- };
530
- path: string;
531
- } | null>;
521
+ export declare function getCapacitorConfig(): Promise<import("./config").ExtConfigPairs | null>;
532
522
  export type { BuildCredentials } from './build/request';
533
523
  export type { CapacitorConfig } from './config';
534
524
  export type { ProbeInternalResult } from './probe';