@midscene/computer 1.16.5 → 1.17.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/cli.mjs +4 -2
- package/dist/es/index.mjs +4 -2
- package/dist/lib/cli.js +4 -2
- package/dist/lib/index.js +4 -2
- package/package.json +3 -3
package/dist/es/cli.mjs
CHANGED
|
@@ -1237,7 +1237,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
1237
1237
|
}
|
|
1238
1238
|
async healthCheck(displays) {
|
|
1239
1239
|
console.log('[HealthCheck] Starting health check...');
|
|
1240
|
-
console.log("[HealthCheck] @midscene/computer v1.
|
|
1240
|
+
console.log("[HealthCheck] @midscene/computer v1.17.0");
|
|
1241
1241
|
console.log('[HealthCheck] Taking screenshot...');
|
|
1242
1242
|
const screenshotTimeout = 15000;
|
|
1243
1243
|
let timeoutId;
|
|
@@ -1766,6 +1766,7 @@ function createPlatformActions() {
|
|
|
1766
1766
|
return {
|
|
1767
1767
|
ListDisplays: defineAction({
|
|
1768
1768
|
name: 'ListDisplays',
|
|
1769
|
+
supportedBySystemOne: true,
|
|
1769
1770
|
description: 'List all available displays/monitors',
|
|
1770
1771
|
call: async ()=>await ComputerDevice.listDisplays()
|
|
1771
1772
|
})
|
|
@@ -2228,6 +2229,7 @@ class RDPDevice {
|
|
|
2228
2229
|
}),
|
|
2229
2230
|
defineAction({
|
|
2230
2231
|
name: 'ListDisplays',
|
|
2232
|
+
supportedBySystemOne: true,
|
|
2231
2233
|
description: 'List all available displays/monitors',
|
|
2232
2234
|
call: async ()=>{
|
|
2233
2235
|
this.assertConnected();
|
|
@@ -2726,7 +2728,7 @@ const tools = new ComputerMidsceneTools({
|
|
|
2726
2728
|
});
|
|
2727
2729
|
runToolsCLI(tools, 'midscene-computer', {
|
|
2728
2730
|
stripPrefix: 'computer_',
|
|
2729
|
-
version: "1.
|
|
2731
|
+
version: "1.17.0",
|
|
2730
2732
|
extraCommands: createReportCliCommands()
|
|
2731
2733
|
}).catch((e)=>{
|
|
2732
2734
|
process.exit(reportCLIError(e));
|
package/dist/es/index.mjs
CHANGED
|
@@ -1237,7 +1237,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
1237
1237
|
}
|
|
1238
1238
|
async healthCheck(displays) {
|
|
1239
1239
|
console.log('[HealthCheck] Starting health check...');
|
|
1240
|
-
console.log("[HealthCheck] @midscene/computer v1.
|
|
1240
|
+
console.log("[HealthCheck] @midscene/computer v1.17.0");
|
|
1241
1241
|
console.log('[HealthCheck] Taking screenshot...');
|
|
1242
1242
|
const screenshotTimeout = 15000;
|
|
1243
1243
|
let timeoutId;
|
|
@@ -1766,6 +1766,7 @@ function createPlatformActions() {
|
|
|
1766
1766
|
return {
|
|
1767
1767
|
ListDisplays: defineAction({
|
|
1768
1768
|
name: 'ListDisplays',
|
|
1769
|
+
supportedBySystemOne: true,
|
|
1769
1770
|
description: 'List all available displays/monitors',
|
|
1770
1771
|
call: async ()=>await ComputerDevice.listDisplays()
|
|
1771
1772
|
})
|
|
@@ -2271,6 +2272,7 @@ class RDPDevice {
|
|
|
2271
2272
|
}),
|
|
2272
2273
|
defineAction({
|
|
2273
2274
|
name: 'ListDisplays',
|
|
2275
|
+
supportedBySystemOne: true,
|
|
2274
2276
|
description: 'List all available displays/monitors',
|
|
2275
2277
|
call: async ()=>{
|
|
2276
2278
|
this.assertConnected();
|
|
@@ -2765,7 +2767,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
|
|
|
2765
2767
|
}
|
|
2766
2768
|
}
|
|
2767
2769
|
function version() {
|
|
2768
|
-
const currentVersion = "1.
|
|
2770
|
+
const currentVersion = "1.17.0";
|
|
2769
2771
|
console.log(`@midscene/computer v${currentVersion}`);
|
|
2770
2772
|
return currentVersion;
|
|
2771
2773
|
}
|
package/dist/lib/cli.js
CHANGED
|
@@ -1263,7 +1263,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
1263
1263
|
}
|
|
1264
1264
|
async healthCheck(displays) {
|
|
1265
1265
|
console.log('[HealthCheck] Starting health check...');
|
|
1266
|
-
console.log("[HealthCheck] @midscene/computer v1.
|
|
1266
|
+
console.log("[HealthCheck] @midscene/computer v1.17.0");
|
|
1267
1267
|
console.log('[HealthCheck] Taking screenshot...');
|
|
1268
1268
|
const screenshotTimeout = 15000;
|
|
1269
1269
|
let timeoutId;
|
|
@@ -1792,6 +1792,7 @@ function createPlatformActions() {
|
|
|
1792
1792
|
return {
|
|
1793
1793
|
ListDisplays: (0, device_namespaceObject.defineAction)({
|
|
1794
1794
|
name: 'ListDisplays',
|
|
1795
|
+
supportedBySystemOne: true,
|
|
1795
1796
|
description: 'List all available displays/monitors',
|
|
1796
1797
|
call: async ()=>await ComputerDevice.listDisplays()
|
|
1797
1798
|
})
|
|
@@ -2255,6 +2256,7 @@ class RDPDevice {
|
|
|
2255
2256
|
}),
|
|
2256
2257
|
(0, device_namespaceObject.defineAction)({
|
|
2257
2258
|
name: 'ListDisplays',
|
|
2259
|
+
supportedBySystemOne: true,
|
|
2258
2260
|
description: 'List all available displays/monitors',
|
|
2259
2261
|
call: async ()=>{
|
|
2260
2262
|
this.assertConnected();
|
|
@@ -2753,7 +2755,7 @@ const tools = new ComputerMidsceneTools({
|
|
|
2753
2755
|
});
|
|
2754
2756
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-computer', {
|
|
2755
2757
|
stripPrefix: 'computer_',
|
|
2756
|
-
version: "1.
|
|
2758
|
+
version: "1.17.0",
|
|
2757
2759
|
extraCommands: (0, core_namespaceObject.createReportCliCommands)()
|
|
2758
2760
|
}).catch((e)=>{
|
|
2759
2761
|
process.exit((0, cli_namespaceObject.reportCLIError)(e));
|
package/dist/lib/index.js
CHANGED
|
@@ -1289,7 +1289,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
1289
1289
|
}
|
|
1290
1290
|
async healthCheck(displays) {
|
|
1291
1291
|
console.log('[HealthCheck] Starting health check...');
|
|
1292
|
-
console.log("[HealthCheck] @midscene/computer v1.
|
|
1292
|
+
console.log("[HealthCheck] @midscene/computer v1.17.0");
|
|
1293
1293
|
console.log('[HealthCheck] Taking screenshot...');
|
|
1294
1294
|
const screenshotTimeout = 15000;
|
|
1295
1295
|
let timeoutId;
|
|
@@ -1818,6 +1818,7 @@ function createPlatformActions() {
|
|
|
1818
1818
|
return {
|
|
1819
1819
|
ListDisplays: (0, device_namespaceObject.defineAction)({
|
|
1820
1820
|
name: 'ListDisplays',
|
|
1821
|
+
supportedBySystemOne: true,
|
|
1821
1822
|
description: 'List all available displays/monitors',
|
|
1822
1823
|
call: async ()=>await ComputerDevice.listDisplays()
|
|
1823
1824
|
})
|
|
@@ -2325,6 +2326,7 @@ class RDPDevice {
|
|
|
2325
2326
|
}),
|
|
2326
2327
|
(0, device_namespaceObject.defineAction)({
|
|
2327
2328
|
name: 'ListDisplays',
|
|
2329
|
+
supportedBySystemOne: true,
|
|
2328
2330
|
description: 'List all available displays/monitors',
|
|
2329
2331
|
call: async ()=>{
|
|
2330
2332
|
this.assertConnected();
|
|
@@ -2823,7 +2825,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
|
|
|
2823
2825
|
}
|
|
2824
2826
|
const env_namespaceObject = require("@midscene/shared/env");
|
|
2825
2827
|
function version() {
|
|
2826
|
-
const currentVersion = "1.
|
|
2828
|
+
const currentVersion = "1.17.0";
|
|
2827
2829
|
console.log(`@midscene/computer v${currentVersion}`);
|
|
2828
2830
|
return currentVersion;
|
|
2829
2831
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/computer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Midscene.js Computer Desktop Automation",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@computer-use/libnut": "^4.2.0",
|
|
34
34
|
"clipboardy": "^4.0.0",
|
|
35
35
|
"screenshot-desktop": "^1.15.3",
|
|
36
|
-
"@midscene/
|
|
37
|
-
"@midscene/
|
|
36
|
+
"@midscene/shared": "1.17.0",
|
|
37
|
+
"@midscene/core": "1.17.0"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
40
|
"node-mac-permissions": "2.5.0"
|