@midscene/computer 1.10.3 → 1.10.4-beta-20260707113337.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 -3
- package/dist/es/index.mjs +4 -3
- package/dist/lib/cli.js +4 -3
- package/dist/lib/index.js +4 -3
- package/package.json +3 -3
package/dist/es/cli.mjs
CHANGED
|
@@ -378,7 +378,8 @@ function escapePowershellSingleQuoted(value) {
|
|
|
378
378
|
return value.replace(/'/g, "''");
|
|
379
379
|
}
|
|
380
380
|
function runPowershell(script) {
|
|
381
|
-
const
|
|
381
|
+
const prefixed = `$ProgressPreference = 'SilentlyContinue'\n${script}`;
|
|
382
|
+
const encoded = Buffer.from(prefixed, 'utf16le').toString('base64');
|
|
382
383
|
return execFileSync('powershell.exe', [
|
|
383
384
|
'-NoProfile',
|
|
384
385
|
'-NonInteractive',
|
|
@@ -730,7 +731,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
730
731
|
}
|
|
731
732
|
async healthCheck() {
|
|
732
733
|
console.log('[HealthCheck] Starting health check...');
|
|
733
|
-
console.log("[HealthCheck] @midscene/computer v1.10.
|
|
734
|
+
console.log("[HealthCheck] @midscene/computer v1.10.4-beta-20260707113337.0");
|
|
734
735
|
console.log('[HealthCheck] Taking screenshot...');
|
|
735
736
|
const screenshotTimeout = 15000;
|
|
736
737
|
let timeoutId;
|
|
@@ -2123,7 +2124,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
|
|
|
2123
2124
|
const tools = new ComputerMidsceneTools();
|
|
2124
2125
|
runToolsCLI(tools, 'midscene-computer', {
|
|
2125
2126
|
stripPrefix: 'computer_',
|
|
2126
|
-
version: "1.10.
|
|
2127
|
+
version: "1.10.4-beta-20260707113337.0",
|
|
2127
2128
|
extraCommands: createReportCliCommands()
|
|
2128
2129
|
}).catch((e)=>{
|
|
2129
2130
|
process.exit(reportCLIError(e));
|
package/dist/es/index.mjs
CHANGED
|
@@ -378,7 +378,8 @@ function escapePowershellSingleQuoted(value) {
|
|
|
378
378
|
return value.replace(/'/g, "''");
|
|
379
379
|
}
|
|
380
380
|
function runPowershell(script) {
|
|
381
|
-
const
|
|
381
|
+
const prefixed = `$ProgressPreference = 'SilentlyContinue'\n${script}`;
|
|
382
|
+
const encoded = Buffer.from(prefixed, 'utf16le').toString('base64');
|
|
382
383
|
return execFileSync('powershell.exe', [
|
|
383
384
|
'-NoProfile',
|
|
384
385
|
'-NonInteractive',
|
|
@@ -730,7 +731,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
730
731
|
}
|
|
731
732
|
async healthCheck() {
|
|
732
733
|
console.log('[HealthCheck] Starting health check...');
|
|
733
|
-
console.log("[HealthCheck] @midscene/computer v1.10.
|
|
734
|
+
console.log("[HealthCheck] @midscene/computer v1.10.4-beta-20260707113337.0");
|
|
734
735
|
console.log('[HealthCheck] Taking screenshot...');
|
|
735
736
|
const screenshotTimeout = 15000;
|
|
736
737
|
let timeoutId;
|
|
@@ -2164,7 +2165,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
|
|
|
2164
2165
|
}
|
|
2165
2166
|
}
|
|
2166
2167
|
function version() {
|
|
2167
|
-
const currentVersion = "1.10.
|
|
2168
|
+
const currentVersion = "1.10.4-beta-20260707113337.0";
|
|
2168
2169
|
console.log(`@midscene/computer v${currentVersion}`);
|
|
2169
2170
|
return currentVersion;
|
|
2170
2171
|
}
|
package/dist/lib/cli.js
CHANGED
|
@@ -404,7 +404,8 @@ function escapePowershellSingleQuoted(value) {
|
|
|
404
404
|
return value.replace(/'/g, "''");
|
|
405
405
|
}
|
|
406
406
|
function runPowershell(script) {
|
|
407
|
-
const
|
|
407
|
+
const prefixed = `$ProgressPreference = 'SilentlyContinue'\n${script}`;
|
|
408
|
+
const encoded = Buffer.from(prefixed, 'utf16le').toString('base64');
|
|
408
409
|
return (0, external_node_child_process_namespaceObject.execFileSync)('powershell.exe', [
|
|
409
410
|
'-NoProfile',
|
|
410
411
|
'-NonInteractive',
|
|
@@ -756,7 +757,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
756
757
|
}
|
|
757
758
|
async healthCheck() {
|
|
758
759
|
console.log('[HealthCheck] Starting health check...');
|
|
759
|
-
console.log("[HealthCheck] @midscene/computer v1.10.
|
|
760
|
+
console.log("[HealthCheck] @midscene/computer v1.10.4-beta-20260707113337.0");
|
|
760
761
|
console.log('[HealthCheck] Taking screenshot...');
|
|
761
762
|
const screenshotTimeout = 15000;
|
|
762
763
|
let timeoutId;
|
|
@@ -2150,7 +2151,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
|
|
|
2150
2151
|
const tools = new ComputerMidsceneTools();
|
|
2151
2152
|
(0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-computer', {
|
|
2152
2153
|
stripPrefix: 'computer_',
|
|
2153
|
-
version: "1.10.
|
|
2154
|
+
version: "1.10.4-beta-20260707113337.0",
|
|
2154
2155
|
extraCommands: (0, core_namespaceObject.createReportCliCommands)()
|
|
2155
2156
|
}).catch((e)=>{
|
|
2156
2157
|
process.exit((0, cli_namespaceObject.reportCLIError)(e));
|
package/dist/lib/index.js
CHANGED
|
@@ -430,7 +430,8 @@ function escapePowershellSingleQuoted(value) {
|
|
|
430
430
|
return value.replace(/'/g, "''");
|
|
431
431
|
}
|
|
432
432
|
function runPowershell(script) {
|
|
433
|
-
const
|
|
433
|
+
const prefixed = `$ProgressPreference = 'SilentlyContinue'\n${script}`;
|
|
434
|
+
const encoded = Buffer.from(prefixed, 'utf16le').toString('base64');
|
|
434
435
|
return (0, external_node_child_process_namespaceObject.execFileSync)('powershell.exe', [
|
|
435
436
|
'-NoProfile',
|
|
436
437
|
'-NonInteractive',
|
|
@@ -782,7 +783,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
|
|
|
782
783
|
}
|
|
783
784
|
async healthCheck() {
|
|
784
785
|
console.log('[HealthCheck] Starting health check...');
|
|
785
|
-
console.log("[HealthCheck] @midscene/computer v1.10.
|
|
786
|
+
console.log("[HealthCheck] @midscene/computer v1.10.4-beta-20260707113337.0");
|
|
786
787
|
console.log('[HealthCheck] Taking screenshot...');
|
|
787
788
|
const screenshotTimeout = 15000;
|
|
788
789
|
let timeoutId;
|
|
@@ -2222,7 +2223,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
|
|
|
2222
2223
|
}
|
|
2223
2224
|
const env_namespaceObject = require("@midscene/shared/env");
|
|
2224
2225
|
function version() {
|
|
2225
|
-
const currentVersion = "1.10.
|
|
2226
|
+
const currentVersion = "1.10.4-beta-20260707113337.0";
|
|
2226
2227
|
console.log(`@midscene/computer v${currentVersion}`);
|
|
2227
2228
|
return currentVersion;
|
|
2228
2229
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/computer",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.4-beta-20260707113337.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/core": "1.10.
|
|
37
|
-
"@midscene/shared": "1.10.
|
|
36
|
+
"@midscene/core": "1.10.4-beta-20260707113337.0",
|
|
37
|
+
"@midscene/shared": "1.10.4-beta-20260707113337.0"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
40
|
"node-mac-permissions": "2.5.0"
|