@capgo/cli 7.84.10 → 7.86.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": "7.84.10",
4
+ "version": "7.86.0",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -23,7 +23,8 @@
23
23
  "cli",
24
24
  "upload",
25
25
  "capgo-cli",
26
- "sdk"
26
+ "sdk",
27
+ "tanstack-intent"
27
28
  ],
28
29
  "exports": {
29
30
  ".": {
@@ -40,6 +41,11 @@
40
41
  "bin": {
41
42
  "capgo": "dist/index.js"
42
43
  },
44
+ "files": [
45
+ "!skills/_artifacts",
46
+ "dist",
47
+ "skills"
48
+ ],
43
49
  "engines": {
44
50
  "npm": ">=8.0.0",
45
51
  "node": ">=20.0.0"
@@ -83,6 +89,7 @@
83
89
  "@sauber/table": "npm:@jsr/sauber__table",
84
90
  "@std/semver": "npm:@jsr/std__semver@1.0.8",
85
91
  "@supabase/supabase-js": "^2.79.0",
92
+ "@tanstack/intent": "^0.0.23",
86
93
  "@types/adm-zip": "^0.5.7",
87
94
  "@types/node": "^25.0.0",
88
95
  "@types/prettyjson": "^0.0.33",
@@ -97,11 +104,11 @@
97
104
  "is-wsl": "^3.1.0",
98
105
  "micromatch": "^4.0.8",
99
106
  "open": "^11.0.0",
107
+ "partysocket": "^1.1.11",
100
108
  "prettyjson": "^1.2.5",
101
109
  "tmp": "^0.2.5",
102
110
  "tus-js-client": "^4.3.1",
103
111
  "typescript": "^5.9.3",
104
- "partysocket": "^1.1.11",
105
112
  "ws": "^8.18.3",
106
113
  "zod": "^4.3.6"
107
114
  }
@@ -19,6 +19,7 @@ interface SaveCredentialsOptions {
19
19
  keystoreKeyPassword?: string;
20
20
  keystoreStorePassword?: string;
21
21
  playConfig?: string;
22
+ androidFlavor?: string;
22
23
  }
23
24
  /**
24
25
  * Provisioning map entry: stores the base64-encoded profile and its extracted name
@@ -0,0 +1,9 @@
1
+ import { defaultStarRepo } from './github';
2
+ export declare function starRepositoryCommand(repository?: string): void;
3
+ interface StarAllCommandOptions {
4
+ minDelayMs?: string;
5
+ maxDelayMs?: string;
6
+ maxConcurrency?: string;
7
+ }
8
+ export declare function starAllRepositoriesCommand(repositories: string[], options: StarAllCommandOptions): Promise<void>;
9
+ export { defaultStarRepo };
@@ -11,8 +11,14 @@ export interface StarAllRepositoriesOptions {
11
11
  repositories?: string[];
12
12
  minDelayMs?: number;
13
13
  maxDelayMs?: number;
14
+ maxConcurrency?: number;
14
15
  onProgress?: (result: StarAllRepositoryResult) => void;
15
16
  onDiscovery?: (message: string) => void;
17
+ signal?: AbortSignal;
18
+ }
19
+ export declare class StarAllRepositoriesAbortedError extends Error {
20
+ results: StarAllRepositoryResult[];
21
+ constructor(results?: StarAllRepositoryResult[]);
16
22
  }
17
23
  export declare function markRepoStarredInSession(repository: string): void;
18
24
  export declare function isRepoStarredInSession(repositoryInput?: string): boolean;
@@ -48,9 +48,11 @@ export declare const buildRequestOptionsSchema: z.ZodObject<{
48
48
  keystoreKeyPassword: z.ZodOptional<z.ZodString>;
49
49
  keystoreStorePassword: z.ZodOptional<z.ZodString>;
50
50
  playConfigJson: z.ZodOptional<z.ZodString>;
51
+ androidFlavor: z.ZodOptional<z.ZodString>;
51
52
  outputUpload: z.ZodOptional<z.ZodBoolean>;
52
53
  outputRetention: z.ZodOptional<z.ZodString>;
53
54
  skipBuildNumberBump: z.ZodOptional<z.ZodBoolean>;
55
+ playstoreUpload: z.ZodOptional<z.ZodBoolean>;
54
56
  verbose: z.ZodOptional<z.ZodBoolean>;
55
57
  }, z.core.$strip>;
56
58
  export type BuildRequestOptions = z.infer<typeof buildRequestOptionsSchema>;
@@ -99,6 +101,7 @@ export declare const buildOptionsPayloadSchema: z.ZodObject<{
99
101
  androidSourceDir: z.ZodOptional<z.ZodString>;
100
102
  androidAppDir: z.ZodOptional<z.ZodString>;
101
103
  androidProjectDir: z.ZodOptional<z.ZodString>;
104
+ androidFlavor: z.ZodOptional<z.ZodString>;
102
105
  outputUploadEnabled: z.ZodBoolean;
103
106
  outputRetentionSeconds: z.ZodNumber;
104
107
  skipBuildNumberBump: z.ZodBoolean;
@@ -49,6 +49,7 @@ export declare const starAllRepositoriesOptionsSchema: z.ZodObject<{
49
49
  repositories: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
50
  minDelayMs: z.ZodOptional<z.ZodNumber>;
51
51
  maxDelayMs: z.ZodOptional<z.ZodNumber>;
52
+ maxConcurrency: z.ZodOptional<z.ZodNumber>;
52
53
  }, z.core.$strip>;
53
54
  export type StarAllRepositoriesOptions = z.infer<typeof starAllRepositoriesOptionsSchema>;
54
55
  export declare const uploadOptionsSchema: z.ZodObject<{
package/dist/src/sdk.d.ts CHANGED
@@ -2,11 +2,11 @@ import type { Channel } from './api/channels';
2
2
  import type { DecryptResult } from './bundle/decrypt';
3
3
  import type { EncryptResult } from './bundle/encrypt';
4
4
  import type { ZipResult } from './bundle/zip';
5
+ import type { StarAllRepositoryResult } from './github';
5
6
  import type { ProbeInternalResult } from './probe';
6
- import type { AccountIdOptions, AddAppOptions, AddChannelOptions, AddOrganizationOptions, AppInfo, BundleCompatibilityOptions, BundleInfo, CleanupOptions, CurrentBundleOptions, DecryptBundleOptions, DeleteOldKeyOptions, DeleteOrganizationOptions, DeviceStats, DoctorOptions, EncryptBundleOptions, StarAllRepositoriesOptions, GenerateKeyOptions, GetStatsOptions, ListOrganizationsOptions, LoginOptions, OrganizationInfo, ProbeOptions, RequestBuildOptions, SaveKeyOptions, SDKResult, SetSettingOptions, StarRepoOptions, UpdateAppOptions, UpdateChannelOptions, UpdateOrganizationOptions, UploadOptions, UploadResult, ZipBundleOptions } from './schemas/sdk';
7
+ import type { AccountIdOptions, AddAppOptions, AddChannelOptions, AddOrganizationOptions, AppInfo, BundleCompatibilityOptions, BundleInfo, CleanupOptions, CurrentBundleOptions, DecryptBundleOptions, DeleteOldKeyOptions, DeleteOrganizationOptions, DeviceStats, DoctorOptions, EncryptBundleOptions, GenerateKeyOptions, GetStatsOptions, ListOrganizationsOptions, LoginOptions, OrganizationInfo, ProbeOptions, RequestBuildOptions, SaveKeyOptions, SDKResult, SetSettingOptions, StarAllRepositoriesOptions, StarRepoOptions, UpdateAppOptions, UpdateChannelOptions, UpdateOrganizationOptions, UploadOptions, UploadResult, ZipBundleOptions } from './schemas/sdk';
7
8
  import { getInfoInternal } from './app/info';
8
9
  import { checkCompatibilityInternal } from './bundle/compatibility';
9
- import type { StarAllRepositoryResult } from './github';
10
10
  export type DoctorInfo = Awaited<ReturnType<typeof getInfoInternal>>;
11
11
  type CompatibilityReport = Awaited<ReturnType<typeof checkCompatibilityInternal>>['finalCompatibility'];
12
12
  export type BundleCompatibilityEntry = CompatibilityReport[number];