@midscene/computer 1.7.6-beta-20260427023820.0 → 1.7.6

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 CHANGED
@@ -411,7 +411,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
411
411
  }
412
412
  async healthCheck() {
413
413
  console.log('[HealthCheck] Starting health check...');
414
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
414
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
415
415
  console.log('[HealthCheck] Taking screenshot...');
416
416
  const screenshotTimeout = 15000;
417
417
  let timeoutId;
@@ -863,7 +863,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
863
863
  }
864
864
  if (this.agent) return this.agent;
865
865
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
866
- const reportFileName = this.readCliReportFileName();
866
+ const reportOptions = this.readCliReportAgentOptions();
867
867
  const agentOpts = {
868
868
  ...displayId ? {
869
869
  displayId
@@ -871,9 +871,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
871
871
  ...void 0 !== headless ? {
872
872
  headless
873
873
  } : {},
874
- ...reportFileName ? {
875
- reportFileName
876
- } : {}
874
+ ...reportOptions ?? {}
877
875
  };
878
876
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
879
877
  this.agent = agent;
@@ -949,7 +947,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
949
947
  const tools = new ComputerMidsceneTools();
950
948
  runToolsCLI(tools, 'midscene-computer', {
951
949
  stripPrefix: 'computer_',
952
- version: "1.7.6-beta-20260427023820.0",
950
+ version: "1.7.6",
953
951
  extraCommands: createReportCliCommands()
954
952
  }).catch((e)=>{
955
953
  process.exit(reportCLIError(e));
package/dist/es/index.mjs CHANGED
@@ -411,7 +411,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
411
411
  }
412
412
  async healthCheck() {
413
413
  console.log('[HealthCheck] Starting health check...');
414
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
414
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
415
415
  console.log('[HealthCheck] Taking screenshot...');
416
416
  const screenshotTimeout = 15000;
417
417
  let timeoutId;
@@ -1518,7 +1518,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1518
1518
  }
1519
1519
  if (this.agent) return this.agent;
1520
1520
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
1521
- const reportFileName = this.readCliReportFileName();
1521
+ const reportOptions = this.readCliReportAgentOptions();
1522
1522
  const agentOpts = {
1523
1523
  ...displayId ? {
1524
1524
  displayId
@@ -1526,9 +1526,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1526
1526
  ...void 0 !== headless ? {
1527
1527
  headless
1528
1528
  } : {},
1529
- ...reportFileName ? {
1530
- reportFileName
1531
- } : {}
1529
+ ...reportOptions ?? {}
1532
1530
  };
1533
1531
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
1534
1532
  this.agent = agent;
@@ -1602,7 +1600,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1602
1600
  }
1603
1601
  }
1604
1602
  function version() {
1605
- const currentVersion = "1.7.6-beta-20260427023820.0";
1603
+ const currentVersion = "1.7.6";
1606
1604
  console.log(`@midscene/computer v${currentVersion}`);
1607
1605
  return currentVersion;
1608
1606
  }
@@ -411,7 +411,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
411
411
  }
412
412
  async healthCheck() {
413
413
  console.log('[HealthCheck] Starting health check...');
414
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
414
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
415
415
  console.log('[HealthCheck] Taking screenshot...');
416
416
  const screenshotTimeout = 15000;
417
417
  let timeoutId;
@@ -863,7 +863,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
863
863
  }
864
864
  if (this.agent) return this.agent;
865
865
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
866
- const reportFileName = this.readCliReportFileName();
866
+ const reportOptions = this.readCliReportAgentOptions();
867
867
  const agentOpts = {
868
868
  ...displayId ? {
869
869
  displayId
@@ -871,9 +871,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
871
871
  ...void 0 !== headless ? {
872
872
  headless
873
873
  } : {},
874
- ...reportFileName ? {
875
- reportFileName
876
- } : {}
874
+ ...reportOptions ?? {}
877
875
  };
878
876
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
879
877
  this.agent = agent;
@@ -953,7 +951,7 @@ class ComputerMCPServer extends BaseMCPServer {
953
951
  constructor(toolsManager){
954
952
  super({
955
953
  name: '@midscene/computer-mcp',
956
- version: "1.7.6-beta-20260427023820.0",
954
+ version: "1.7.6",
957
955
  description: 'Control the computer desktop using natural language commands'
958
956
  }, toolsManager);
959
957
  }
package/dist/lib/cli.js CHANGED
@@ -437,7 +437,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
437
437
  }
438
438
  async healthCheck() {
439
439
  console.log('[HealthCheck] Starting health check...');
440
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
440
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
441
441
  console.log('[HealthCheck] Taking screenshot...');
442
442
  const screenshotTimeout = 15000;
443
443
  let timeoutId;
@@ -891,7 +891,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
891
891
  }
892
892
  if (this.agent) return this.agent;
893
893
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
894
- const reportFileName = this.readCliReportFileName();
894
+ const reportOptions = this.readCliReportAgentOptions();
895
895
  const agentOpts = {
896
896
  ...displayId ? {
897
897
  displayId
@@ -899,9 +899,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
899
899
  ...void 0 !== headless ? {
900
900
  headless
901
901
  } : {},
902
- ...reportFileName ? {
903
- reportFileName
904
- } : {}
902
+ ...reportOptions ?? {}
905
903
  };
906
904
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
907
905
  this.agent = agent;
@@ -977,7 +975,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
977
975
  const tools = new ComputerMidsceneTools();
978
976
  (0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-computer', {
979
977
  stripPrefix: 'computer_',
980
- version: "1.7.6-beta-20260427023820.0",
978
+ version: "1.7.6",
981
979
  extraCommands: (0, core_namespaceObject.createReportCliCommands)()
982
980
  }).catch((e)=>{
983
981
  process.exit((0, cli_namespaceObject.reportCLIError)(e));
package/dist/lib/index.js CHANGED
@@ -463,7 +463,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
463
463
  }
464
464
  async healthCheck() {
465
465
  console.log('[HealthCheck] Starting health check...');
466
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
466
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
467
467
  console.log('[HealthCheck] Taking screenshot...');
468
468
  const screenshotTimeout = 15000;
469
469
  let timeoutId;
@@ -1573,7 +1573,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
1573
1573
  }
1574
1574
  if (this.agent) return this.agent;
1575
1575
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
1576
- const reportFileName = this.readCliReportFileName();
1576
+ const reportOptions = this.readCliReportAgentOptions();
1577
1577
  const agentOpts = {
1578
1578
  ...displayId ? {
1579
1579
  displayId
@@ -1581,9 +1581,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
1581
1581
  ...void 0 !== headless ? {
1582
1582
  headless
1583
1583
  } : {},
1584
- ...reportFileName ? {
1585
- reportFileName
1586
- } : {}
1584
+ ...reportOptions ?? {}
1587
1585
  };
1588
1586
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
1589
1587
  this.agent = agent;
@@ -1658,7 +1656,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
1658
1656
  }
1659
1657
  const env_namespaceObject = require("@midscene/shared/env");
1660
1658
  function version() {
1661
- const currentVersion = "1.7.6-beta-20260427023820.0";
1659
+ const currentVersion = "1.7.6";
1662
1660
  console.log(`@midscene/computer v${currentVersion}`);
1663
1661
  return currentVersion;
1664
1662
  }
@@ -452,7 +452,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
452
452
  }
453
453
  async healthCheck() {
454
454
  console.log('[HealthCheck] Starting health check...');
455
- console.log("[HealthCheck] @midscene/computer v1.7.6-beta-20260427023820.0");
455
+ console.log("[HealthCheck] @midscene/computer v1.7.6");
456
456
  console.log('[HealthCheck] Taking screenshot...');
457
457
  const screenshotTimeout = 15000;
458
458
  let timeoutId;
@@ -907,7 +907,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
907
907
  }
908
908
  if (this.agent) return this.agent;
909
909
  mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
910
- const reportFileName = this.readCliReportFileName();
910
+ const reportOptions = this.readCliReportAgentOptions();
911
911
  const agentOpts = {
912
912
  ...displayId ? {
913
913
  displayId
@@ -915,9 +915,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
915
915
  ...void 0 !== headless ? {
916
916
  headless
917
917
  } : {},
918
- ...reportFileName ? {
919
- reportFileName
920
- } : {}
918
+ ...reportOptions ?? {}
921
919
  };
922
920
  const agent = await agentFromComputer(Object.keys(agentOpts).length > 0 ? agentOpts : void 0);
923
921
  this.agent = agent;
@@ -997,7 +995,7 @@ class ComputerMCPServer extends mcp_namespaceObject.BaseMCPServer {
997
995
  constructor(toolsManager){
998
996
  super({
999
997
  name: '@midscene/computer-mcp',
1000
- version: "1.7.6-beta-20260427023820.0",
998
+ version: "1.7.6",
1001
999
  description: 'Control the computer desktop using natural language commands'
1002
1000
  }, toolsManager);
1003
1001
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/computer",
3
- "version": "1.7.6-beta-20260427023820.0",
3
+ "version": "1.7.6",
4
4
  "description": "Midscene.js Computer Desktop Automation",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,8 +38,8 @@
38
38
  "@computer-use/libnut": "^4.2.0",
39
39
  "clipboardy": "^4.0.0",
40
40
  "screenshot-desktop": "^1.15.3",
41
- "@midscene/core": "1.7.6-beta-20260427023820.0",
42
- "@midscene/shared": "1.7.6-beta-20260427023820.0"
41
+ "@midscene/core": "1.7.6",
42
+ "@midscene/shared": "1.7.6"
43
43
  },
44
44
  "optionalDependencies": {
45
45
  "node-mac-permissions": "2.5.0"