@capgo/cli 8.49.0 → 8.50.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "8.49.0",
4
+ "version": "8.50.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -51,10 +51,17 @@ interface ResolveBuildPlatformOptions {
51
51
  }
52
52
  export declare function resolveBuildPlatform(platform: string | undefined, { silent, interactive, promptPlatform, }?: ResolveBuildPlatformOptions): Promise<BuildPlatform>;
53
53
  export type { BuildCredentials, BuildRequestOptions, BuildRequestResult } from '../schemas/build';
54
- /** Builder job API cache flag: omit when enabled (default), send false when opted out. */
55
- export declare function buildJobCachePayload(cache?: boolean): {
54
+ export interface BuildJobCachePayloadInput {
55
+ cache?: boolean;
56
+ cacheKey?: string;
57
+ }
58
+ export interface BuildJobCachePayload {
56
59
  cache_enabled?: false;
57
- };
60
+ cache_key?: string;
61
+ cache_fingerprint_extra?: string;
62
+ }
63
+ /** Builder job API cache fields: omit cache_enabled when enabled (default), send false when opted out. */
64
+ export declare function buildJobCachePayload(input?: BuildJobCachePayloadInput): BuildJobCachePayload;
58
65
  /**
59
66
  * Extract native node_modules roots that contain platform folders.
60
67
  */
@@ -157,6 +157,7 @@ export declare const mcpRequestBuildInputSchema: z.ZodObject<{
157
157
  path: z.ZodOptional<z.ZodString>;
158
158
  nodeModules: z.ZodOptional<z.ZodString>;
159
159
  cache: z.ZodOptional<z.ZodBoolean>;
160
+ cacheKey: z.ZodOptional<z.ZodString>;
160
161
  }, z.core.$strip>;
161
162
  export declare const mcpGenerateEncryptionKeysInputSchema: z.ZodObject<{
162
163
  force: z.ZodOptional<z.ZodBoolean>;
@@ -28,6 +28,7 @@ export declare const buildCredentialsSchema: z.ZodObject<{
28
28
  }, z.core.$catchall<z.ZodOptional<z.ZodString>>>;
29
29
  export type BuildCredentials = z.infer<typeof buildCredentialsSchema>;
30
30
  export declare const buildCacheOptionSchema: z.ZodOptional<z.ZodBoolean>;
31
+ export declare const buildCacheKeyOptionSchema: z.ZodOptional<z.ZodString>;
31
32
  export declare const buildRequestOptionsSchema: z.ZodObject<{
32
33
  apikey: z.ZodString;
33
34
  supaHost: z.ZodOptional<z.ZodString>;
@@ -110,6 +111,7 @@ export declare const buildRequestOptionsSchema: z.ZodObject<{
110
111
  failOnWarnings: z.ZodOptional<z.ZodBoolean>;
111
112
  builderJourneyId: z.ZodOptional<z.ZodString>;
112
113
  cache: z.ZodOptional<z.ZodBoolean>;
114
+ cacheKey: z.ZodOptional<z.ZodString>;
113
115
  }, z.core.$strip>;
114
116
  export type BuildRequestOptions = z.infer<typeof buildRequestOptionsSchema>;
115
117
  export declare const buildNeededOptionsSchema: z.ZodObject<{
@@ -408,6 +408,7 @@ export declare const requestBuildOptionsSchema: z.ZodObject<{
408
408
  prescanSkip: z.ZodOptional<z.ZodArray<z.ZodString>>;
409
409
  prescanWarn: z.ZodOptional<z.ZodArray<z.ZodString>>;
410
410
  cache: z.ZodOptional<z.ZodBoolean>;
411
+ cacheKey: z.ZodOptional<z.ZodString>;
411
412
  }, z.core.$strip>;
412
413
  export type RequestBuildOptions = z.infer<typeof requestBuildOptionsSchema>;
413
414
  export declare const currentBundleOptionsSchema: z.ZodObject<{