@devicecloud.dev/dcd 5.11.0-beta.4 → 5.11.0-beta.5
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/commands/cloud.d.ts +1 -1
- package/dist/commands/live.js +1 -1
- package/dist/config/flags/device.flags.d.ts +1 -1
- package/dist/config/flags/device.flags.js +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/mcp/tools/run-cloud-test.js +1 -1
- package/dist/services/device-validation.service.js +1 -1
- package/dist/types/domain/device.types.d.ts +0 -2
- package/dist/types/domain/device.types.js +0 -2
- package/dist/utils/device-matrix.js +1 -1
- package/package.json +1 -1
package/dist/commands/cloud.d.ts
CHANGED
|
@@ -197,7 +197,7 @@ export declare const cloudCommand: import("citty").CommandDef<{
|
|
|
197
197
|
};
|
|
198
198
|
readonly 'android-device-matrix': {
|
|
199
199
|
readonly type: "string";
|
|
200
|
-
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-
|
|
200
|
+
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-8:34 or pixel-8:34:play. Repeatable — every flow runs once per cell (no cross-product). Cannot be combined with --ios-device-matrix.";
|
|
201
201
|
};
|
|
202
202
|
readonly orientation: {
|
|
203
203
|
readonly type: "string";
|
package/dist/commands/live.js
CHANGED
|
@@ -133,7 +133,7 @@ const startSub = defineCommand({
|
|
|
133
133
|
},
|
|
134
134
|
'android-device': {
|
|
135
135
|
type: 'string',
|
|
136
|
-
description: '[Android] Device profile to match a cloud run (options: pixel-6, pixel-
|
|
136
|
+
description: '[Android] Device profile to match a cloud run (options: pixel-6, pixel-8, pixel-10, pixel-10-pro, pixel-10-pro-xl, pixel-11)',
|
|
137
137
|
},
|
|
138
138
|
'android-api-level': {
|
|
139
139
|
type: 'string',
|
|
@@ -37,7 +37,7 @@ export declare const deviceFlags: {
|
|
|
37
37
|
};
|
|
38
38
|
readonly 'android-device-matrix': {
|
|
39
39
|
readonly type: "string";
|
|
40
|
-
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-
|
|
40
|
+
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-8:34 or pixel-8:34:play. Repeatable — every flow runs once per cell (no cross-product). Cannot be combined with --ios-device-matrix.";
|
|
41
41
|
};
|
|
42
42
|
readonly orientation: {
|
|
43
43
|
readonly type: "string";
|
|
@@ -42,7 +42,7 @@ export const deviceFlags = {
|
|
|
42
42
|
},
|
|
43
43
|
'android-device-matrix': {
|
|
44
44
|
type: 'string',
|
|
45
|
-
description: `[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-
|
|
45
|
+
description: `[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-8:34 or pixel-8:34:play. Repeatable — every flow runs once per cell (no cross-product). Cannot be combined with --ios-device-matrix.`,
|
|
46
46
|
},
|
|
47
47
|
orientation: {
|
|
48
48
|
type: 'string',
|
package/dist/constants.d.ts
CHANGED
|
@@ -183,7 +183,7 @@ export declare const flags: {
|
|
|
183
183
|
};
|
|
184
184
|
readonly 'android-device-matrix': {
|
|
185
185
|
readonly type: "string";
|
|
186
|
-
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-
|
|
186
|
+
readonly description: "[Android only] Device-matrix cell as <device>:<apiLevel> (append :play for Google Play), e.g. pixel-8:34 or pixel-8:34:play. Repeatable — every flow runs once per cell (no cross-product). Cannot be combined with --ios-device-matrix.";
|
|
187
187
|
};
|
|
188
188
|
readonly orientation: {
|
|
189
189
|
readonly type: "string";
|
|
@@ -55,7 +55,7 @@ export function registerRunCloudTest(server) {
|
|
|
55
55
|
iosVersion: z.string().optional().describe('iOS version, e.g. "17"'),
|
|
56
56
|
iosDevice: z.string().optional().describe('iOS device, e.g. "iphone-14"'),
|
|
57
57
|
androidApiLevel: z.string().optional().describe('Android API level, e.g. "34"'),
|
|
58
|
-
androidDevice: z.string().optional().describe('Android device, e.g. "pixel-
|
|
58
|
+
androidDevice: z.string().optional().describe('Android device, e.g. "pixel-10"'),
|
|
59
59
|
googlePlay: z.boolean().optional().describe('Use a Google Play-enabled Android image'),
|
|
60
60
|
name: z.string().optional().describe('A name for this run'),
|
|
61
61
|
env: z
|
|
@@ -71,7 +71,7 @@ export class DeviceValidationService {
|
|
|
71
71
|
// Mirrors the API, which applies these same global defaults to a
|
|
72
72
|
// request that omits either half (execution-planner.service.ts)
|
|
73
73
|
// and then rejects an incompatible pair.
|
|
74
|
-
defaultDevice: 'pixel-
|
|
74
|
+
defaultDevice: 'pixel-10',
|
|
75
75
|
defaultVersion: '36',
|
|
76
76
|
device,
|
|
77
77
|
deviceArg: argNames.androidDevice,
|
|
@@ -30,9 +30,7 @@ export declare enum EiOSDevices {
|
|
|
30
30
|
export declare enum EAndroidDevices {
|
|
31
31
|
'generic-tablet' = "generic-tablet",
|
|
32
32
|
'pixel-6' = "pixel-6",
|
|
33
|
-
'pixel-6-pro' = "pixel-6-pro",
|
|
34
33
|
'pixel-7' = "pixel-7",
|
|
35
|
-
'pixel-7-pro' = "pixel-7-pro",
|
|
36
34
|
'pixel-8' = "pixel-8",
|
|
37
35
|
'pixel-10' = "pixel-10",
|
|
38
36
|
'pixel-10-pro' = "pixel-10-pro",
|
|
@@ -32,9 +32,7 @@ export var EAndroidDevices;
|
|
|
32
32
|
(function (EAndroidDevices) {
|
|
33
33
|
EAndroidDevices["generic-tablet"] = "generic-tablet";
|
|
34
34
|
EAndroidDevices["pixel-6"] = "pixel-6";
|
|
35
|
-
EAndroidDevices["pixel-6-pro"] = "pixel-6-pro";
|
|
36
35
|
EAndroidDevices["pixel-7"] = "pixel-7";
|
|
37
|
-
EAndroidDevices["pixel-7-pro"] = "pixel-7-pro";
|
|
38
36
|
EAndroidDevices["pixel-8"] = "pixel-8";
|
|
39
37
|
EAndroidDevices["pixel-10"] = "pixel-10";
|
|
40
38
|
EAndroidDevices["pixel-10-pro"] = "pixel-10-pro";
|
|
@@ -54,7 +54,7 @@ export function parseDeviceMatrix(iosConfigs, androidConfigs) {
|
|
|
54
54
|
!parts[0] ||
|
|
55
55
|
!parts[1] ||
|
|
56
56
|
(parts.length === 3 && parts[2] !== 'play')) {
|
|
57
|
-
throw new CliError(`Invalid --android-device-matrix "${raw}". Expected <device>:<apiLevel> or <device>:<apiLevel>:play, e.g. pixel-
|
|
57
|
+
throw new CliError(`Invalid --android-device-matrix "${raw}". Expected <device>:<apiLevel> or <device>:<apiLevel>:play, e.g. pixel-8:34 or pixel-8:34:play.`);
|
|
58
58
|
}
|
|
59
59
|
configs.push({
|
|
60
60
|
androidDevice: parts[0],
|
package/package.json
CHANGED