@capgo/cli 7.95.13 → 7.95.14-beta.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/index.js +479 -490
- package/dist/package.json +1 -1
- package/dist/src/api/channels.d.ts +4 -4
- package/dist/src/schemas/crypto.d.ts +6 -0
- package/dist/src/sdk.js +220 -220
- package/dist/src/utils.d.ts +2 -2
- package/package.json +1 -1
- 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/dist/src/utils.d.ts
CHANGED
|
@@ -5287,7 +5287,7 @@ export declare function findProjectType(options?: {
|
|
|
5287
5287
|
export declare function findMainFileForProjectType(projectType: string, isTypeScript: boolean): string | null;
|
|
5288
5288
|
export declare function findBuildCommandForProjectType(projectType: string): Promise<"build" | "generate">;
|
|
5289
5289
|
export declare function findMainFile(silent?: boolean): Promise<string>;
|
|
5290
|
-
export declare function updateOrCreateVersion(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['app_versions']['Insert']): Promise<import("@supabase/
|
|
5290
|
+
export declare function updateOrCreateVersion(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['app_versions']['Insert']): Promise<import("@supabase/supabase-js").PostgrestSingleResponse<null>>;
|
|
5291
5291
|
export declare function uploadUrl(supabase: SupabaseClient<Database>, appId: string, name: string): Promise<string>;
|
|
5292
5292
|
export declare const BROTLI_MIN_UPDATER_VERSION_V5 = "5.10.0";
|
|
5293
5293
|
export declare const BROTLI_MIN_UPDATER_VERSION_V6 = "6.25.0";
|
|
@@ -5303,7 +5303,7 @@ export declare function zipFileUnix(filePath: string): Buffer<ArrayBuffer>;
|
|
|
5303
5303
|
export declare function zipFileWindows(filePath: string): Promise<Buffer>;
|
|
5304
5304
|
export declare function uploadTUS(apikey: string, data: Buffer, orgId: string, appId: string, name: string, spinner: ReturnType<typeof spinnerC>, localConfig: CapgoConfig, chunkSize: number): Promise<boolean>;
|
|
5305
5305
|
export declare function deletedFailedVersion(supabase: SupabaseClient<Database>, appId: string, name: string): Promise<void>;
|
|
5306
|
-
export declare function updateOrCreateChannel(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['channels']['Insert']): Promise<import("@supabase/
|
|
5306
|
+
export declare function updateOrCreateChannel(supabase: SupabaseClient<Database>, update: Database['public']['Tables']['channels']['Insert']): Promise<import("@supabase/supabase-js").PostgrestSingleResponse<{
|
|
5307
5307
|
allow_dev: boolean;
|
|
5308
5308
|
allow_device: boolean;
|
|
5309
5309
|
allow_device_self_set: boolean;
|
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
domains:
|
|
2
|
+
- name: cli-usage
|
|
3
|
+
summary: High-level command routing, setup, diagnostics, app management, docs generation, MCP, and GitHub support commands.
|
|
4
|
+
primary_sources:
|
|
5
|
+
- webdocs/init.mdx
|
|
6
|
+
- webdocs/doctor.mdx
|
|
7
|
+
- webdocs/login.mdx
|
|
8
|
+
- webdocs/app.mdx
|
|
9
|
+
- webdocs/account.mdx
|
|
10
|
+
- webdocs/probe.mdx
|
|
11
|
+
- webdocs/star.mdx
|
|
12
|
+
- webdocs/star-all.mdx
|
|
13
|
+
- src/index.ts
|
|
14
|
+
- name: ota-release-management
|
|
15
|
+
summary: OTA bundle uploads, channel operations, compatibility checks, cleanup, and encryption-key workflows.
|
|
16
|
+
primary_sources:
|
|
17
|
+
- webdocs/bundle.mdx
|
|
18
|
+
- webdocs/channel.mdx
|
|
19
|
+
- webdocs/key.mdx
|
|
20
|
+
- src/index.ts
|
|
21
|
+
- name: native-builds
|
|
22
|
+
summary: Native cloud build requests and local build credential management for iOS and Android.
|
|
23
|
+
primary_sources:
|
|
24
|
+
- webdocs/build.mdx
|
|
25
|
+
- src/index.ts
|
|
26
|
+
- name: organization-management
|
|
27
|
+
summary: Account lookup, organization administration, and deprecated organisation aliases.
|
|
28
|
+
primary_sources:
|
|
29
|
+
- webdocs/account.mdx
|
|
30
|
+
- webdocs/organization.mdx
|
|
31
|
+
- webdocs/organisation.mdx
|
|
32
|
+
- src/index.ts
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# Capgo CLI skill spec
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Provide a small Capgo CLI skill set that helps an agent choose and invoke the correct CLI commands for app setup, OTA release operations, organization administration, MCP setup, GitHub support commands, and native cloud builds without exceeding TanStack Intent size limits.
|
|
6
|
+
|
|
7
|
+
## Sources
|
|
8
|
+
|
|
9
|
+
- `webdocs/*.mdx` for published command descriptions, examples, and option tables.
|
|
10
|
+
- `src/index.ts` for the currently registered commands, aliases, and flags that may not yet be fully reflected in the web docs.
|
|
11
|
+
- `AGENTS.md` for repository-specific maintenance requirements.
|
|
12
|
+
|
|
13
|
+
## Skill set
|
|
14
|
+
|
|
15
|
+
- `usage`: routing, setup, diagnostics, app commands, docs generation, MCP, and GitHub support commands.
|
|
16
|
+
- `release-management`: bundle, channel, compatibility, cleanup, and encryption-key workflows.
|
|
17
|
+
- `native-builds`: native cloud build requests and build credential storage/update flows.
|
|
18
|
+
- `organization-management`: account ID lookup, organization admin flows, and deprecated `organisation` aliases.
|
|
19
|
+
|
|
20
|
+
## Scope
|
|
21
|
+
|
|
22
|
+
- Include the documented command purpose, invocation patterns, key options, and important caveats.
|
|
23
|
+
- Prefer the public user-facing examples already used by the project.
|
|
24
|
+
- Keep the skills aligned with the published docs and current CLI registration.
|
|
25
|
+
|
|
26
|
+
## Maintenance rules
|
|
27
|
+
|
|
28
|
+
- Any CLI command or option change should update the relevant `skills/*/SKILL.md` file in the same pull request.
|
|
29
|
+
- Use `webdocs/` as the primary wording source and `src/index.ts` as the completeness check.
|
|
30
|
+
- Validate the skills with `bunx @tanstack/intent@latest validate` before release.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
skills:
|
|
2
|
+
- name: usage
|
|
3
|
+
path: skills/usage/SKILL.md
|
|
4
|
+
domain: cli-usage
|
|
5
|
+
focus: High-level routing and shared invocation rules.
|
|
6
|
+
- name: release-management
|
|
7
|
+
path: skills/release-management/SKILL.md
|
|
8
|
+
domain: ota-release-management
|
|
9
|
+
focus: OTA bundle, channel, compatibility, cleanup, and encryption workflows.
|
|
10
|
+
- name: native-builds
|
|
11
|
+
path: skills/native-builds/SKILL.md
|
|
12
|
+
domain: native-builds
|
|
13
|
+
focus: Native build request flows and local build credential management.
|
|
14
|
+
- name: organization-management
|
|
15
|
+
path: skills/organization-management/SKILL.md
|
|
16
|
+
domain: organization-management
|
|
17
|
+
focus: Account and organization administration commands, including deprecated aliases.
|