@capgo/cli 7.88.9 → 7.89.2

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.88.9",
4
+ "version": "7.89.2",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -95,6 +95,7 @@
95
95
  "@types/node": "^25.0.0",
96
96
  "@types/node-forge": "^1.3.14",
97
97
  "@types/prettyjson": "^0.0.33",
98
+ "@types/qrcode": "^1.5.6",
98
99
  "@types/react": "^18.3.28",
99
100
  "@types/tmp": "^0.2.6",
100
101
  "@vercel/ncc": "^0.38.4",
@@ -121,6 +122,7 @@
121
122
  "ink-spinner": "^5.0.0",
122
123
  "jsonwebtoken": "^9.0.3",
123
124
  "node-forge": "^1.3.3",
125
+ "qrcode": "^1.5.4",
124
126
  "react": "^18.3.1"
125
127
  }
126
128
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Handle a custom_msg from the websocket stream.
3
+ * Known kinds get rich rendering; unknown kinds get a warning + raw dump.
4
+ */
5
+ export declare function handleCustomMsg(kind: string, data: Record<string, unknown>, log: (line: string) => void, warn: (line: string) => void): Promise<void>;
@@ -40,6 +40,8 @@ export interface BuildLogger {
40
40
  buildLog: (msg: string) => void;
41
41
  /** Called with upload progress percentage (0-100) */
42
42
  uploadProgress: (percent: number) => void;
43
+ /** Called with custom messages from the builder (QR codes, etc.) */
44
+ customMsg: (kind: string, data: Record<string, unknown>) => void | Promise<void>;
43
45
  }
44
46
  export type { BuildCredentials, BuildRequestOptions, BuildRequestResponse, BuildRequestResult } from '../schemas/build';
45
47
  /**
@@ -47,6 +49,7 @@ export type { BuildCredentials, BuildRequestOptions, BuildRequestResponse, Build
47
49
  */
48
50
  interface NativeDependencies {
49
51
  packages: Set<string>;
52
+ cordovaPackages: Set<string>;
50
53
  usesSPM: boolean;
51
54
  usesCocoaPods: boolean;
52
55
  }