@capgo/cli 7.89.4 → 7.89.6

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.
@@ -107,7 +107,7 @@ export declare function getBundleVersion(f?: string, file?: string | undefined):
107
107
  */
108
108
  export declare function getInstalledVersion(packageName: string, rootDir?: string, packageJsonPath?: string): Promise<string | null>;
109
109
  export declare function getAllPackagesDependencies(f?: string, file?: string | undefined): Promise<Map<string, string>>;
110
- export declare function getConfig(): Promise<{
110
+ export declare function getConfig(silent?: boolean): Promise<{
111
111
  config: {
112
112
  [x: string]: unknown;
113
113
  appId: string;
@@ -120,7 +120,7 @@ export declare function getConfig(): Promise<{
120
120
  }>;
121
121
  export declare function updateConfigbyKey(key: string, newConfig: any): Promise<ExtConfigPairs>;
122
122
  export declare function updateConfigUpdater(newConfig: any): Promise<ExtConfigPairs>;
123
- export declare function getLocalConfig(): Promise<CapgoConfig>;
123
+ export declare function getLocalConfig(silent?: boolean): Promise<CapgoConfig>;
124
124
  interface CapgoConfig {
125
125
  supaHost?: string;
126
126
  supaKey?: string;
@@ -129,7 +129,7 @@ interface CapgoConfig {
129
129
  hostFilesApi: string;
130
130
  hostApi: string;
131
131
  }
132
- export declare function getRemoteConfig(): Promise<CapgoConfig>;
132
+ export declare function getRemoteConfig(silent?: boolean): Promise<CapgoConfig>;
133
133
  interface CapgoFilesConfig {
134
134
  partialUpload: boolean;
135
135
  partialUploadForced: boolean;
@@ -140,7 +140,7 @@ interface CapgoFilesConfig {
140
140
  alertUploadSize: number;
141
141
  }
142
142
  export declare function getRemoteFileConfig(): Promise<CapgoFilesConfig>;
143
- export declare function createSupabaseClient(apikey: string, supaHost?: string, supaKey?: string): Promise<SupabaseClient<Database, "public", "public", {
143
+ export declare function createSupabaseClient(apikey: string, supaHost?: string, supaKey?: string, silent?: boolean): Promise<SupabaseClient<Database, "public", "public", {
144
144
  Tables: {
145
145
  apikeys: {
146
146
  Row: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.89.4",
4
+ "version": "7.89.6",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -72,13 +72,14 @@
72
72
  "test:build-zip-filter": "bun test/test-build-zip-filter.mjs",
73
73
  "test:checksum": "bun test/test-checksum-algorithm.mjs",
74
74
  "test:ci-prompts": "bun test/test-ci-prompts.mjs",
75
+ "test:prompt-preferences": "bun test/test-prompt-preferences.mjs",
75
76
  "test:esm-sdk": "node test/test-sdk-esm.mjs",
76
77
  "test:mcp": "node test/test-mcp.mjs",
77
78
  "test:version-detection": "node test/test-get-installed-version.mjs",
78
79
  "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh",
79
80
  "test:platform-paths": "bun test/test-platform-paths.mjs",
80
81
  "test:payload-split": "bun test/test-payload-split.mjs",
81
- "test": "bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
82
+ "test": "bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:prompt-preferences && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
82
83
  },
83
84
  "devDependencies": {
84
85
  "@antfu/eslint-config": "^7.0.0",
@@ -25,6 +25,7 @@ Use this skill for OTA update workflows in Capgo Cloud.
25
25
  - External URL mode is useful for very large or privacy-sensitive bundles.
26
26
  - Encryption is recommended for trustless distribution.
27
27
  - Interactive prompts are disabled automatically in CI and other non-interactive sessions so uploads do not block automation.
28
+ - Optional upload prompts can remember the user's answer on the current machine so future uploads can skip the same question.
28
29
  - Important options:
29
30
  - `-p, --path <path>`
30
31
  - `-c, --channel <channel>`