@midscene/harmony 1.16.5 → 1.16.6-beta-20261023073257.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/es/bin.mjs +3 -0
- package/dist/es/cli.mjs +4 -1
- package/dist/es/index.mjs +3 -0
- package/dist/lib/bin.js +3 -0
- package/dist/lib/cli.js +4 -1
- package/dist/lib/index.js +3 -0
- package/package.json +4 -4
- package/static/index.html +1 -1
- package/static/static/js/{index.d5c12341.js → index.e7933da0.js} +237 -233
- package/static/static/js/index.e7933da0.js.map +1 -0
- package/static/static/js/index.d5c12341.js.map +0 -1
- /package/static/static/js/{index.d5c12341.js.LICENSE.txt → index.e7933da0.js.LICENSE.txt} +0 -0
package/dist/es/bin.mjs
CHANGED
|
@@ -1010,6 +1010,7 @@ const createPlatformActions = (device)=>({
|
|
|
1010
1010
|
}),
|
|
1011
1011
|
HarmonyBackButton: defineAction({
|
|
1012
1012
|
name: 'HarmonyBackButton',
|
|
1013
|
+
supportedBySystemOne: true,
|
|
1013
1014
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
1014
1015
|
call: async ()=>{
|
|
1015
1016
|
await device.back();
|
|
@@ -1017,6 +1018,7 @@ const createPlatformActions = (device)=>({
|
|
|
1017
1018
|
}),
|
|
1018
1019
|
HarmonyHomeButton: defineAction({
|
|
1019
1020
|
name: 'HarmonyHomeButton',
|
|
1021
|
+
supportedBySystemOne: true,
|
|
1020
1022
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
1021
1023
|
call: async ()=>{
|
|
1022
1024
|
await device.home();
|
|
@@ -1024,6 +1026,7 @@ const createPlatformActions = (device)=>({
|
|
|
1024
1026
|
}),
|
|
1025
1027
|
HarmonyRecentAppsButton: defineAction({
|
|
1026
1028
|
name: 'HarmonyRecentAppsButton',
|
|
1029
|
+
supportedBySystemOne: true,
|
|
1027
1030
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
1028
1031
|
call: async ()=>{
|
|
1029
1032
|
await device.recentApps();
|
package/dist/es/cli.mjs
CHANGED
|
@@ -1008,6 +1008,7 @@ const createPlatformActions = (device)=>({
|
|
|
1008
1008
|
}),
|
|
1009
1009
|
HarmonyBackButton: defineAction({
|
|
1010
1010
|
name: 'HarmonyBackButton',
|
|
1011
|
+
supportedBySystemOne: true,
|
|
1011
1012
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
1012
1013
|
call: async ()=>{
|
|
1013
1014
|
await device.back();
|
|
@@ -1015,6 +1016,7 @@ const createPlatformActions = (device)=>({
|
|
|
1015
1016
|
}),
|
|
1016
1017
|
HarmonyHomeButton: defineAction({
|
|
1017
1018
|
name: 'HarmonyHomeButton',
|
|
1019
|
+
supportedBySystemOne: true,
|
|
1018
1020
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
1019
1021
|
call: async ()=>{
|
|
1020
1022
|
await device.home();
|
|
@@ -1022,6 +1024,7 @@ const createPlatformActions = (device)=>({
|
|
|
1022
1024
|
}),
|
|
1023
1025
|
HarmonyRecentAppsButton: defineAction({
|
|
1024
1026
|
name: 'HarmonyRecentAppsButton',
|
|
1027
|
+
supportedBySystemOne: true,
|
|
1025
1028
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
1026
1029
|
call: async ()=>{
|
|
1027
1030
|
await device.recentApps();
|
|
@@ -1316,7 +1319,7 @@ class HarmonyMidsceneTools extends BaseMidsceneTools {
|
|
|
1316
1319
|
const tools = new HarmonyMidsceneTools();
|
|
1317
1320
|
runToolsCLI(tools, 'midscene-harmony', {
|
|
1318
1321
|
stripPrefix: 'harmony_',
|
|
1319
|
-
version: "1.16.
|
|
1322
|
+
version: "1.16.6-beta-20261023073257.0",
|
|
1320
1323
|
extraCommands: createReportCliCommands()
|
|
1321
1324
|
}).catch((e)=>{
|
|
1322
1325
|
process.exit(reportCLIError(e));
|
package/dist/es/index.mjs
CHANGED
|
@@ -979,6 +979,7 @@ const createPlatformActions = (device)=>({
|
|
|
979
979
|
}),
|
|
980
980
|
HarmonyBackButton: defineAction({
|
|
981
981
|
name: 'HarmonyBackButton',
|
|
982
|
+
supportedBySystemOne: true,
|
|
982
983
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
983
984
|
call: async ()=>{
|
|
984
985
|
await device.back();
|
|
@@ -986,6 +987,7 @@ const createPlatformActions = (device)=>({
|
|
|
986
987
|
}),
|
|
987
988
|
HarmonyHomeButton: defineAction({
|
|
988
989
|
name: 'HarmonyHomeButton',
|
|
990
|
+
supportedBySystemOne: true,
|
|
989
991
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
990
992
|
call: async ()=>{
|
|
991
993
|
await device.home();
|
|
@@ -993,6 +995,7 @@ const createPlatformActions = (device)=>({
|
|
|
993
995
|
}),
|
|
994
996
|
HarmonyRecentAppsButton: defineAction({
|
|
995
997
|
name: 'HarmonyRecentAppsButton',
|
|
998
|
+
supportedBySystemOne: true,
|
|
996
999
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
997
1000
|
call: async ()=>{
|
|
998
1001
|
await device.recentApps();
|
package/dist/lib/bin.js
CHANGED
|
@@ -1150,6 +1150,7 @@ var __webpack_exports__ = {};
|
|
|
1150
1150
|
}),
|
|
1151
1151
|
HarmonyBackButton: (0, device_namespaceObject.defineAction)({
|
|
1152
1152
|
name: 'HarmonyBackButton',
|
|
1153
|
+
supportedBySystemOne: true,
|
|
1153
1154
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
1154
1155
|
call: async ()=>{
|
|
1155
1156
|
await device.back();
|
|
@@ -1157,6 +1158,7 @@ var __webpack_exports__ = {};
|
|
|
1157
1158
|
}),
|
|
1158
1159
|
HarmonyHomeButton: (0, device_namespaceObject.defineAction)({
|
|
1159
1160
|
name: 'HarmonyHomeButton',
|
|
1161
|
+
supportedBySystemOne: true,
|
|
1160
1162
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
1161
1163
|
call: async ()=>{
|
|
1162
1164
|
await device.home();
|
|
@@ -1164,6 +1166,7 @@ var __webpack_exports__ = {};
|
|
|
1164
1166
|
}),
|
|
1165
1167
|
HarmonyRecentAppsButton: (0, device_namespaceObject.defineAction)({
|
|
1166
1168
|
name: 'HarmonyRecentAppsButton',
|
|
1169
|
+
supportedBySystemOne: true,
|
|
1167
1170
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
1168
1171
|
call: async ()=>{
|
|
1169
1172
|
await device.recentApps();
|
package/dist/lib/cli.js
CHANGED
|
@@ -1147,6 +1147,7 @@ var __webpack_exports__ = {};
|
|
|
1147
1147
|
}),
|
|
1148
1148
|
HarmonyBackButton: (0, device_namespaceObject.defineAction)({
|
|
1149
1149
|
name: 'HarmonyBackButton',
|
|
1150
|
+
supportedBySystemOne: true,
|
|
1150
1151
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
1151
1152
|
call: async ()=>{
|
|
1152
1153
|
await device.back();
|
|
@@ -1154,6 +1155,7 @@ var __webpack_exports__ = {};
|
|
|
1154
1155
|
}),
|
|
1155
1156
|
HarmonyHomeButton: (0, device_namespaceObject.defineAction)({
|
|
1156
1157
|
name: 'HarmonyHomeButton',
|
|
1158
|
+
supportedBySystemOne: true,
|
|
1157
1159
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
1158
1160
|
call: async ()=>{
|
|
1159
1161
|
await device.home();
|
|
@@ -1161,6 +1163,7 @@ var __webpack_exports__ = {};
|
|
|
1161
1163
|
}),
|
|
1162
1164
|
HarmonyRecentAppsButton: (0, device_namespaceObject.defineAction)({
|
|
1163
1165
|
name: 'HarmonyRecentAppsButton',
|
|
1166
|
+
supportedBySystemOne: true,
|
|
1164
1167
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
1165
1168
|
call: async ()=>{
|
|
1166
1169
|
await device.recentApps();
|
|
@@ -1359,7 +1362,7 @@ var __webpack_exports__ = {};
|
|
|
1359
1362
|
const tools = new HarmonyMidsceneTools();
|
|
1360
1363
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-harmony', {
|
|
1361
1364
|
stripPrefix: 'harmony_',
|
|
1362
|
-
version: "1.16.
|
|
1365
|
+
version: "1.16.6-beta-20261023073257.0",
|
|
1363
1366
|
extraCommands: (0, core_namespaceObject.createReportCliCommands)()
|
|
1364
1367
|
}).catch((e)=>{
|
|
1365
1368
|
process.exit((0, cli_namespaceObject.reportCLIError)(e));
|
package/dist/lib/index.js
CHANGED
|
@@ -1136,6 +1136,7 @@ var __webpack_exports__ = {};
|
|
|
1136
1136
|
}),
|
|
1137
1137
|
HarmonyBackButton: (0, device_namespaceObject.defineAction)({
|
|
1138
1138
|
name: 'HarmonyBackButton',
|
|
1139
|
+
supportedBySystemOne: true,
|
|
1139
1140
|
description: 'Trigger the system "back" operation on HarmonyOS devices',
|
|
1140
1141
|
call: async ()=>{
|
|
1141
1142
|
await device.back();
|
|
@@ -1143,6 +1144,7 @@ var __webpack_exports__ = {};
|
|
|
1143
1144
|
}),
|
|
1144
1145
|
HarmonyHomeButton: (0, device_namespaceObject.defineAction)({
|
|
1145
1146
|
name: 'HarmonyHomeButton',
|
|
1147
|
+
supportedBySystemOne: true,
|
|
1146
1148
|
description: 'Trigger the system "home" operation on HarmonyOS devices',
|
|
1147
1149
|
call: async ()=>{
|
|
1148
1150
|
await device.home();
|
|
@@ -1150,6 +1152,7 @@ var __webpack_exports__ = {};
|
|
|
1150
1152
|
}),
|
|
1151
1153
|
HarmonyRecentAppsButton: (0, device_namespaceObject.defineAction)({
|
|
1152
1154
|
name: 'HarmonyRecentAppsButton',
|
|
1155
|
+
supportedBySystemOne: true,
|
|
1153
1156
|
description: 'Trigger the system "recent apps" operation on HarmonyOS devices',
|
|
1154
1157
|
call: async ()=>{
|
|
1155
1158
|
await device.recentApps();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/harmony",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.6-beta-20261023073257.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/web-infra-dev/midscene.git",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"@inquirer/prompts": "^7.8.6",
|
|
48
48
|
"open": "10.1.0",
|
|
49
49
|
"zod": "^3.25.1",
|
|
50
|
-
"@midscene/playground": "1.16.
|
|
51
|
-
"@midscene/
|
|
52
|
-
"@midscene/
|
|
50
|
+
"@midscene/playground": "1.16.6-beta-20261023073257.0",
|
|
51
|
+
"@midscene/shared": "1.16.6-beta-20261023073257.0",
|
|
52
|
+
"@midscene/core": "1.16.6-beta-20261023073257.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@rslib/core": "^0.18.3",
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.8bb5dc6e.js"></script><script defer src="/static/js/130.0be30229.js"></script><script defer src="/static/js/index.
|
|
1
|
+
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.8bb5dc6e.js"></script><script defer src="/static/js/130.0be30229.js"></script><script defer src="/static/js/index.e7933da0.js"></script><link href="/static/css/index.67caac18.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|