@capgo/cli 8.29.1 → 8.29.3
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 +845 -889
- package/dist/package.json +2 -2
- package/dist/src/api/app.d.ts +4 -1
- package/dist/src/build/onboarding/mcp/build-tool-schemas.d.ts +18 -14
- package/dist/src/build/onboarding/mcp/credentials-manage.d.ts +19 -10
- package/dist/src/mcp/tool-schemas.d.ts +138 -127
- package/dist/src/organization/set.d.ts +2 -7
- package/dist/src/schemas/app.d.ts +35 -34
- package/dist/src/schemas/auth.d.ts +14 -7
- package/dist/src/schemas/base.d.ts +7 -6
- package/dist/src/schemas/build.d.ts +266 -254
- package/dist/src/schemas/bundle.d.ts +164 -156
- package/dist/src/schemas/channel.d.ts +89 -85
- package/dist/src/schemas/common.d.ts +53 -43
- package/dist/src/schemas/live-update-onboarding.d.ts +35 -22
- package/dist/src/schemas/onboarding.d.ts +156 -57
- package/dist/src/schemas/organization.d.ts +41 -40
- package/dist/src/schemas/{ark_validation.d.ts → schema_validation.d.ts} +0 -1
- package/dist/src/schemas/sdk.d.ts +418 -396
- package/dist/src/schemas/validate.d.ts +1 -1
- package/dist/src/sdk.js +466 -447
- package/dist/src/utils.d.ts +14 -1
- package/package.json +2 -2
- package/dist/src/schemas/arktype.d.ts +0 -2
- package/dist/src/schemas/arktype_config.d.ts +0 -1
package/dist/src/utils.d.ts
CHANGED
|
@@ -144,6 +144,17 @@ interface CapgoFilesConfig {
|
|
|
144
144
|
}
|
|
145
145
|
export declare function getRemoteFileConfig(): Promise<CapgoFilesConfig>;
|
|
146
146
|
export declare function normalizeSupabaseHost(host: string): string;
|
|
147
|
+
export declare function formatCapgoApiErrorBody(body: unknown): string;
|
|
148
|
+
/** Resolve Capgo public API base URL for CLI mutations (app create/update, etc.). */
|
|
149
|
+
export declare function resolveConfiguredCapgoPublicApiHost(config: {
|
|
150
|
+
hostApi: string;
|
|
151
|
+
supaHost?: string;
|
|
152
|
+
supaKey?: string;
|
|
153
|
+
}): string;
|
|
154
|
+
export declare function resolveCapgoPublicApiHost(options?: {
|
|
155
|
+
supaHost?: string;
|
|
156
|
+
supaAnon?: string;
|
|
157
|
+
}, silent?: boolean): Promise<string>;
|
|
147
158
|
export declare function createSupabaseClient(apikey: string, supaHost?: string, supaKey?: string, silent?: boolean, instrument?: boolean, signal?: AbortSignal): Promise<SupabaseClient<Database, "public", "public", {
|
|
148
159
|
Tables: {
|
|
149
160
|
apikey_global_permissions: {
|
|
@@ -371,7 +382,9 @@ export declare function createSupabaseClient(apikey: string, supaHost?: string,
|
|
|
371
382
|
};
|
|
372
383
|
Update: {
|
|
373
384
|
app_id?: string;
|
|
374
|
-
checksum
|
|
385
|
+
checksum? /**
|
|
386
|
+
* Parser for description
|
|
387
|
+
*/: string;
|
|
375
388
|
created_at?: string | null;
|
|
376
389
|
id?: number;
|
|
377
390
|
owner_org?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "8.29.
|
|
4
|
+
"version": "8.29.3",
|
|
5
5
|
"description": "A CLI to upload to capgo servers",
|
|
6
6
|
"author": "Martin martin@capgo.app",
|
|
7
7
|
"license": "Apache 2.0",
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
"react": "^19.2.8",
|
|
219
219
|
"rrweb-snapshot": "^2.1.1",
|
|
220
220
|
"string-width": "^8.2.2",
|
|
221
|
-
"
|
|
221
|
+
"zod": "^4.4.3",
|
|
222
222
|
"@standard-schema/spec": "^1.1.0"
|
|
223
223
|
},
|
|
224
224
|
"optionalDependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|