@capgo/cli 7.85.0 → 7.86.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 -1
- package/dist/index.js +298 -297
- package/dist/package.json +10 -3
- package/dist/src/github-command.d.ts +9 -0
- package/dist/src/github.d.ts +6 -0
- package/dist/src/schemas/sdk.d.ts +1 -0
- package/dist/src/sdk.d.ts +2 -2
- package/dist/src/sdk.js +216 -216
- package/dist/src/utils/safeWrites.d.ts +2 -2
- package/dist/src/utils.d.ts +9 -2
- package/package.json +10 -3
- package/skills/_artifacts/domain_map.yaml +32 -0
- package/skills/_artifacts/skill_spec.md +30 -0
- package/skills/_artifacts/skill_tree.yaml +17 -0
- package/skills/native-builds/SKILL.md +177 -0
- package/skills/organization-management/SKILL.md +93 -0
- package/skills/release-management/SKILL.md +222 -0
- package/skills/usage/SKILL.md +89 -0
package/dist/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "7.
|
|
4
|
+
"version": "7.86.1",
|
|
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
|
}
|
|
@@ -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 };
|
package/dist/src/github.d.ts
CHANGED
|
@@ -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;
|
|
@@ -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,
|
|
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];
|