@capgo/cli 8.49.1 → 8.50.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.
- package/README.md +2 -0
- package/dist/index.js +624 -623
- package/dist/package.json +1 -1
- package/dist/src/build/request.d.ts +10 -3
- package/dist/src/mcp/tool-schemas.d.ts +1 -0
- package/dist/src/schemas/build.d.ts +2 -0
- package/dist/src/schemas/sdk.d.ts +1 -0
- package/dist/src/sdk.js +281 -281
- package/package.json +1 -1
- package/skills/native-builds/SKILL.md +3 -0
package/dist/package.json
CHANGED
|
@@ -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
|
-
|
|
55
|
-
|
|
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.ZodPreprocess<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.ZodPreprocess<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.ZodPreprocess<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.ZodPreprocess<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<{
|