@midscene/computer 1.9.8 → 1.10.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 CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createReportCliCommands, z } from "@midscene/core";
2
2
  import { reportCLIError, runToolsCLI } from "@midscene/shared/cli";
3
+ import { agentBehaviorInitArgShape, extractAgentBehaviorInitArgs, getAgentInitArgsSignature, shouldRebuildAgentForInitArgs } from "@midscene/shared/agent-tools/agent-behavior-init-args";
4
+ import { BaseMidsceneTools } from "@midscene/shared/agent-tools/base-tools";
3
5
  import { getDebug } from "@midscene/shared/logger";
4
- import { agentBehaviorInitArgShape, extractAgentBehaviorInitArgs, getAgentInitArgsSignature, shouldRebuildAgentForInitArgs } from "@midscene/shared/mcp/agent-behavior-init-args";
5
- import { BaseMidsceneTools } from "@midscene/shared/mcp/base-tools";
6
6
  import { Agent } from "@midscene/core/agent";
7
7
  import { execFileSync, execSync, spawn, spawnSync } from "node:child_process";
8
8
  import { chmodSync, existsSync, statSync } from "node:fs";
@@ -695,7 +695,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
695
695
  }
696
696
  async healthCheck() {
697
697
  console.log('[HealthCheck] Starting health check...');
698
- console.log("[HealthCheck] @midscene/computer v1.9.8");
698
+ console.log("[HealthCheck] @midscene/computer v1.10.0");
699
699
  console.log('[HealthCheck] Taking screenshot...');
700
700
  const screenshotTimeout = 15000;
701
701
  let timeoutId;
@@ -1874,7 +1874,7 @@ async function agentForRDPComputer(opts) {
1874
1874
  await device.connect();
1875
1875
  return new ComputerAgent(device, opts);
1876
1876
  }
1877
- function mcp_tools_define_property(obj, key, value) {
1877
+ function agent_tools_define_property(obj, key, value) {
1878
1878
  if (key in obj) Object.defineProperty(obj, key, {
1879
1879
  value: value,
1880
1880
  enumerable: true,
@@ -1884,7 +1884,7 @@ function mcp_tools_define_property(obj, key, value) {
1884
1884
  else obj[key] = value;
1885
1885
  return obj;
1886
1886
  }
1887
- const mcp_tools_debug = getDebug('mcp:computer-tools');
1887
+ const agent_tools_debug = getDebug('agent-tools:computer');
1888
1888
  const RDP_SECURITY_PROTOCOLS = [
1889
1889
  'auto',
1890
1890
  'tls',
@@ -1952,14 +1952,14 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1952
1952
  try {
1953
1953
  await this.agent.destroy?.();
1954
1954
  } catch (error) {
1955
- mcp_tools_debug('Failed to destroy agent during cleanup:', error);
1955
+ agent_tools_debug('Failed to destroy agent during cleanup:', error);
1956
1956
  }
1957
1957
  this.agent = void 0;
1958
1958
  }
1959
1959
  if (this.agent) return this.agent;
1960
1960
  const reportOptions = this.readCliReportAgentOptions();
1961
1961
  if (opts?.mode === 'rdp') {
1962
- mcp_tools_debug('Creating RDP Computer agent for host:', opts.host);
1962
+ agent_tools_debug('Creating RDP Computer agent for host:', opts.host);
1963
1963
  const { mode: _mode, ...rdpFields } = opts;
1964
1964
  const agent = await agentForRDPComputer({
1965
1965
  ...rdpFields,
@@ -1971,7 +1971,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1971
1971
  }
1972
1972
  const displayId = opts?.mode === 'local' ? opts.displayId : void 0;
1973
1973
  const headless = opts?.mode === 'local' ? opts.headless : void 0;
1974
- mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
1974
+ agent_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
1975
1975
  const agentOpts = {
1976
1976
  ...displayId ? {
1977
1977
  displayId
@@ -2002,7 +2002,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2002
2002
  try {
2003
2003
  await this.agent.destroy?.();
2004
2004
  } catch (error) {
2005
- mcp_tools_debug('Failed to destroy agent during connect:', error);
2005
+ agent_tools_debug('Failed to destroy agent during connect:', error);
2006
2006
  }
2007
2007
  this.agent = void 0;
2008
2008
  this.lastInitArgsSignature = void 0;
@@ -2045,7 +2045,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2045
2045
  ];
2046
2046
  }
2047
2047
  constructor(...args){
2048
- super(...args), mcp_tools_define_property(this, "lastInitArgsSignature", void 0), mcp_tools_define_property(this, "initArgSpec", {
2048
+ super(...args), agent_tools_define_property(this, "lastInitArgsSignature", void 0), agent_tools_define_property(this, "initArgSpec", {
2049
2049
  namespace: 'computer',
2050
2050
  shape: computerInitArgShape,
2051
2051
  cli: {
@@ -2058,7 +2058,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2058
2058
  const tools = new ComputerMidsceneTools();
2059
2059
  runToolsCLI(tools, 'midscene-computer', {
2060
2060
  stripPrefix: 'computer_',
2061
- version: "1.9.8",
2061
+ version: "1.10.0",
2062
2062
  extraCommands: createReportCliCommands()
2063
2063
  }).catch((e)=>{
2064
2064
  process.exit(reportCLIError(e));
package/dist/es/index.mjs CHANGED
@@ -13,8 +13,8 @@ import { Agent } from "@midscene/core/agent";
13
13
  import { once } from "node:events";
14
14
  import { createInterface } from "node:readline";
15
15
  import { z } from "@midscene/core";
16
- import { agentBehaviorInitArgShape, extractAgentBehaviorInitArgs, getAgentInitArgsSignature, shouldRebuildAgentForInitArgs } from "@midscene/shared/mcp/agent-behavior-init-args";
17
- import { BaseMidsceneTools } from "@midscene/shared/mcp/base-tools";
16
+ import { agentBehaviorInitArgShape, extractAgentBehaviorInitArgs, getAgentInitArgsSignature, shouldRebuildAgentForInitArgs } from "@midscene/shared/agent-tools/agent-behavior-init-args";
17
+ import { BaseMidsceneTools } from "@midscene/shared/agent-tools/base-tools";
18
18
  import { overrideAIConfig } from "@midscene/shared/env";
19
19
  function _define_property(obj, key, value) {
20
20
  if (key in obj) Object.defineProperty(obj, key, {
@@ -695,7 +695,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
695
695
  }
696
696
  async healthCheck() {
697
697
  console.log('[HealthCheck] Starting health check...');
698
- console.log("[HealthCheck] @midscene/computer v1.9.8");
698
+ console.log("[HealthCheck] @midscene/computer v1.10.0");
699
699
  console.log('[HealthCheck] Taking screenshot...');
700
700
  const screenshotTimeout = 15000;
701
701
  let timeoutId;
@@ -1917,7 +1917,7 @@ async function agentForRDPComputer(opts) {
1917
1917
  await device.connect();
1918
1918
  return new ComputerAgent(device, opts);
1919
1919
  }
1920
- function mcp_tools_define_property(obj, key, value) {
1920
+ function agent_tools_define_property(obj, key, value) {
1921
1921
  if (key in obj) Object.defineProperty(obj, key, {
1922
1922
  value: value,
1923
1923
  enumerable: true,
@@ -1927,7 +1927,7 @@ function mcp_tools_define_property(obj, key, value) {
1927
1927
  else obj[key] = value;
1928
1928
  return obj;
1929
1929
  }
1930
- const mcp_tools_debug = getDebug('mcp:computer-tools');
1930
+ const agent_tools_debug = getDebug('agent-tools:computer');
1931
1931
  const RDP_SECURITY_PROTOCOLS = [
1932
1932
  'auto',
1933
1933
  'tls',
@@ -1995,14 +1995,14 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
1995
1995
  try {
1996
1996
  await this.agent.destroy?.();
1997
1997
  } catch (error) {
1998
- mcp_tools_debug('Failed to destroy agent during cleanup:', error);
1998
+ agent_tools_debug('Failed to destroy agent during cleanup:', error);
1999
1999
  }
2000
2000
  this.agent = void 0;
2001
2001
  }
2002
2002
  if (this.agent) return this.agent;
2003
2003
  const reportOptions = this.readCliReportAgentOptions();
2004
2004
  if (opts?.mode === 'rdp') {
2005
- mcp_tools_debug('Creating RDP Computer agent for host:', opts.host);
2005
+ agent_tools_debug('Creating RDP Computer agent for host:', opts.host);
2006
2006
  const { mode: _mode, ...rdpFields } = opts;
2007
2007
  const agent = await agentForRDPComputer({
2008
2008
  ...rdpFields,
@@ -2014,7 +2014,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2014
2014
  }
2015
2015
  const displayId = opts?.mode === 'local' ? opts.displayId : void 0;
2016
2016
  const headless = opts?.mode === 'local' ? opts.headless : void 0;
2017
- mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2017
+ agent_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2018
2018
  const agentOpts = {
2019
2019
  ...displayId ? {
2020
2020
  displayId
@@ -2045,7 +2045,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2045
2045
  try {
2046
2046
  await this.agent.destroy?.();
2047
2047
  } catch (error) {
2048
- mcp_tools_debug('Failed to destroy agent during connect:', error);
2048
+ agent_tools_debug('Failed to destroy agent during connect:', error);
2049
2049
  }
2050
2050
  this.agent = void 0;
2051
2051
  this.lastInitArgsSignature = void 0;
@@ -2088,7 +2088,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2088
2088
  ];
2089
2089
  }
2090
2090
  constructor(...args){
2091
- super(...args), mcp_tools_define_property(this, "lastInitArgsSignature", void 0), mcp_tools_define_property(this, "initArgSpec", {
2091
+ super(...args), agent_tools_define_property(this, "lastInitArgsSignature", void 0), agent_tools_define_property(this, "initArgSpec", {
2092
2092
  namespace: 'computer',
2093
2093
  shape: computerInitArgShape,
2094
2094
  cli: {
@@ -2099,7 +2099,7 @@ class ComputerMidsceneTools extends BaseMidsceneTools {
2099
2099
  }
2100
2100
  }
2101
2101
  function version() {
2102
- const currentVersion = "1.9.8";
2102
+ const currentVersion = "1.10.0";
2103
2103
  console.log(`@midscene/computer v${currentVersion}`);
2104
2104
  return currentVersion;
2105
2105
  }
package/dist/lib/cli.js CHANGED
@@ -26,9 +26,9 @@ var __webpack_require__ = {};
26
26
  var __webpack_exports__ = {};
27
27
  const core_namespaceObject = require("@midscene/core");
28
28
  const cli_namespaceObject = require("@midscene/shared/cli");
29
+ const agent_behavior_init_args_namespaceObject = require("@midscene/shared/agent-tools/agent-behavior-init-args");
30
+ const base_tools_namespaceObject = require("@midscene/shared/agent-tools/base-tools");
29
31
  const logger_namespaceObject = require("@midscene/shared/logger");
30
- const agent_behavior_init_args_namespaceObject = require("@midscene/shared/mcp/agent-behavior-init-args");
31
- const base_tools_namespaceObject = require("@midscene/shared/mcp/base-tools");
32
32
  const agent_namespaceObject = require("@midscene/core/agent");
33
33
  const external_node_child_process_namespaceObject = require("node:child_process");
34
34
  const external_node_fs_namespaceObject = require("node:fs");
@@ -721,7 +721,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
721
721
  }
722
722
  async healthCheck() {
723
723
  console.log('[HealthCheck] Starting health check...');
724
- console.log("[HealthCheck] @midscene/computer v1.9.8");
724
+ console.log("[HealthCheck] @midscene/computer v1.10.0");
725
725
  console.log('[HealthCheck] Taking screenshot...');
726
726
  const screenshotTimeout = 15000;
727
727
  let timeoutId;
@@ -1901,7 +1901,7 @@ async function agentForRDPComputer(opts) {
1901
1901
  await device.connect();
1902
1902
  return new ComputerAgent(device, opts);
1903
1903
  }
1904
- function mcp_tools_define_property(obj, key, value) {
1904
+ function agent_tools_define_property(obj, key, value) {
1905
1905
  if (key in obj) Object.defineProperty(obj, key, {
1906
1906
  value: value,
1907
1907
  enumerable: true,
@@ -1911,7 +1911,7 @@ function mcp_tools_define_property(obj, key, value) {
1911
1911
  else obj[key] = value;
1912
1912
  return obj;
1913
1913
  }
1914
- const mcp_tools_debug = (0, logger_namespaceObject.getDebug)('mcp:computer-tools');
1914
+ const agent_tools_debug = (0, logger_namespaceObject.getDebug)('agent-tools:computer');
1915
1915
  const RDP_SECURITY_PROTOCOLS = [
1916
1916
  'auto',
1917
1917
  'tls',
@@ -1979,14 +1979,14 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
1979
1979
  try {
1980
1980
  await this.agent.destroy?.();
1981
1981
  } catch (error) {
1982
- mcp_tools_debug('Failed to destroy agent during cleanup:', error);
1982
+ agent_tools_debug('Failed to destroy agent during cleanup:', error);
1983
1983
  }
1984
1984
  this.agent = void 0;
1985
1985
  }
1986
1986
  if (this.agent) return this.agent;
1987
1987
  const reportOptions = this.readCliReportAgentOptions();
1988
1988
  if (opts?.mode === 'rdp') {
1989
- mcp_tools_debug('Creating RDP Computer agent for host:', opts.host);
1989
+ agent_tools_debug('Creating RDP Computer agent for host:', opts.host);
1990
1990
  const { mode: _mode, ...rdpFields } = opts;
1991
1991
  const agent = await agentForRDPComputer({
1992
1992
  ...rdpFields,
@@ -1998,7 +1998,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
1998
1998
  }
1999
1999
  const displayId = opts?.mode === 'local' ? opts.displayId : void 0;
2000
2000
  const headless = opts?.mode === 'local' ? opts.headless : void 0;
2001
- mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2001
+ agent_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2002
2002
  const agentOpts = {
2003
2003
  ...displayId ? {
2004
2004
  displayId
@@ -2029,7 +2029,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2029
2029
  try {
2030
2030
  await this.agent.destroy?.();
2031
2031
  } catch (error) {
2032
- mcp_tools_debug('Failed to destroy agent during connect:', error);
2032
+ agent_tools_debug('Failed to destroy agent during connect:', error);
2033
2033
  }
2034
2034
  this.agent = void 0;
2035
2035
  this.lastInitArgsSignature = void 0;
@@ -2072,7 +2072,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2072
2072
  ];
2073
2073
  }
2074
2074
  constructor(...args){
2075
- super(...args), mcp_tools_define_property(this, "lastInitArgsSignature", void 0), mcp_tools_define_property(this, "initArgSpec", {
2075
+ super(...args), agent_tools_define_property(this, "lastInitArgsSignature", void 0), agent_tools_define_property(this, "initArgSpec", {
2076
2076
  namespace: 'computer',
2077
2077
  shape: computerInitArgShape,
2078
2078
  cli: {
@@ -2085,7 +2085,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2085
2085
  const tools = new ComputerMidsceneTools();
2086
2086
  (0, cli_namespaceObject.runToolsCLI)(tools, 'midscene-computer', {
2087
2087
  stripPrefix: 'computer_',
2088
- version: "1.9.8",
2088
+ version: "1.10.0",
2089
2089
  extraCommands: (0, core_namespaceObject.createReportCliCommands)()
2090
2090
  }).catch((e)=>{
2091
2091
  process.exit((0, cli_namespaceObject.reportCLIError)(e));
package/dist/lib/index.js CHANGED
@@ -747,7 +747,7 @@ Available Displays: ${displays.length > 0 ? displays.map((d)=>d.name).join(', ')
747
747
  }
748
748
  async healthCheck() {
749
749
  console.log('[HealthCheck] Starting health check...');
750
- console.log("[HealthCheck] @midscene/computer v1.9.8");
750
+ console.log("[HealthCheck] @midscene/computer v1.10.0");
751
751
  console.log('[HealthCheck] Taking screenshot...');
752
752
  const screenshotTimeout = 15000;
753
753
  let timeoutId;
@@ -1972,9 +1972,9 @@ async function agentForRDPComputer(opts) {
1972
1972
  return new ComputerAgent(device, opts);
1973
1973
  }
1974
1974
  const core_namespaceObject = require("@midscene/core");
1975
- const agent_behavior_init_args_namespaceObject = require("@midscene/shared/mcp/agent-behavior-init-args");
1976
- const base_tools_namespaceObject = require("@midscene/shared/mcp/base-tools");
1977
- function mcp_tools_define_property(obj, key, value) {
1975
+ const agent_behavior_init_args_namespaceObject = require("@midscene/shared/agent-tools/agent-behavior-init-args");
1976
+ const base_tools_namespaceObject = require("@midscene/shared/agent-tools/base-tools");
1977
+ function agent_tools_define_property(obj, key, value) {
1978
1978
  if (key in obj) Object.defineProperty(obj, key, {
1979
1979
  value: value,
1980
1980
  enumerable: true,
@@ -1984,7 +1984,7 @@ function mcp_tools_define_property(obj, key, value) {
1984
1984
  else obj[key] = value;
1985
1985
  return obj;
1986
1986
  }
1987
- const mcp_tools_debug = (0, logger_namespaceObject.getDebug)('mcp:computer-tools');
1987
+ const agent_tools_debug = (0, logger_namespaceObject.getDebug)('agent-tools:computer');
1988
1988
  const RDP_SECURITY_PROTOCOLS = [
1989
1989
  'auto',
1990
1990
  'tls',
@@ -2052,14 +2052,14 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2052
2052
  try {
2053
2053
  await this.agent.destroy?.();
2054
2054
  } catch (error) {
2055
- mcp_tools_debug('Failed to destroy agent during cleanup:', error);
2055
+ agent_tools_debug('Failed to destroy agent during cleanup:', error);
2056
2056
  }
2057
2057
  this.agent = void 0;
2058
2058
  }
2059
2059
  if (this.agent) return this.agent;
2060
2060
  const reportOptions = this.readCliReportAgentOptions();
2061
2061
  if (opts?.mode === 'rdp') {
2062
- mcp_tools_debug('Creating RDP Computer agent for host:', opts.host);
2062
+ agent_tools_debug('Creating RDP Computer agent for host:', opts.host);
2063
2063
  const { mode: _mode, ...rdpFields } = opts;
2064
2064
  const agent = await agentForRDPComputer({
2065
2065
  ...rdpFields,
@@ -2071,7 +2071,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2071
2071
  }
2072
2072
  const displayId = opts?.mode === 'local' ? opts.displayId : void 0;
2073
2073
  const headless = opts?.mode === 'local' ? opts.headless : void 0;
2074
- mcp_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2074
+ agent_tools_debug('Creating Computer agent with displayId:', displayId || 'primary');
2075
2075
  const agentOpts = {
2076
2076
  ...displayId ? {
2077
2077
  displayId
@@ -2102,7 +2102,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2102
2102
  try {
2103
2103
  await this.agent.destroy?.();
2104
2104
  } catch (error) {
2105
- mcp_tools_debug('Failed to destroy agent during connect:', error);
2105
+ agent_tools_debug('Failed to destroy agent during connect:', error);
2106
2106
  }
2107
2107
  this.agent = void 0;
2108
2108
  this.lastInitArgsSignature = void 0;
@@ -2145,7 +2145,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2145
2145
  ];
2146
2146
  }
2147
2147
  constructor(...args){
2148
- super(...args), mcp_tools_define_property(this, "lastInitArgsSignature", void 0), mcp_tools_define_property(this, "initArgSpec", {
2148
+ super(...args), agent_tools_define_property(this, "lastInitArgsSignature", void 0), agent_tools_define_property(this, "initArgSpec", {
2149
2149
  namespace: 'computer',
2150
2150
  shape: computerInitArgShape,
2151
2151
  cli: {
@@ -2157,7 +2157,7 @@ class ComputerMidsceneTools extends base_tools_namespaceObject.BaseMidsceneTools
2157
2157
  }
2158
2158
  const env_namespaceObject = require("@midscene/shared/env");
2159
2159
  function version() {
2160
- const currentVersion = "1.9.8";
2160
+ const currentVersion = "1.10.0";
2161
2161
  console.log(`@midscene/computer v${currentVersion}`);
2162
2162
  return currentVersion;
2163
2163
  }
@@ -1,17 +1,17 @@
1
1
  import { AbstractInterface } from '@midscene/core/device';
2
2
  import { Agent } from '@midscene/core/agent';
3
- import { AgentBehaviorInitArgs } from '@midscene/shared/mcp/agent-behavior-init-args';
3
+ import { AgentBehaviorInitArgs } from '@midscene/shared/agent-tools/agent-behavior-init-args';
4
4
  import { AgentOpt } from '@midscene/core/agent';
5
- import { BaseMidsceneTools } from '@midscene/shared/mcp/base-tools';
5
+ import { BaseMidsceneTools } from '@midscene/shared/agent-tools/base-tools';
6
6
  import { ChildProcessWithoutNullStreams } from 'node:child_process';
7
7
  import { ComputerInputPrimitives } from '@midscene/core/device';
8
8
  import type { DeviceAction } from '@midscene/core';
9
- import { InitArgSpec } from '@midscene/shared/mcp/base-tools';
9
+ import { InitArgSpec } from '@midscene/shared/agent-tools/base-tools';
10
10
  import type { InterfaceType } from '@midscene/core';
11
11
  import { overrideAIConfig } from '@midscene/shared/env';
12
12
  import type { Size } from '@midscene/core';
13
13
  import { SpawnOptionsWithoutStdio } from 'node:child_process';
14
- import type { ToolDefinition } from '@midscene/shared/mcp/types';
14
+ import type { ToolDefinition } from '@midscene/shared/agent-tools/types';
15
15
 
16
16
  declare interface AccessibilityCheckResult {
17
17
  hasPermission: boolean;
@@ -153,7 +153,7 @@ export declare interface ComputerDeviceOpt {
153
153
  /**
154
154
  * Discriminated union describing the two ways `computer_*` tools can spawn an
155
155
  * agent. `mode` is filled in by `initArgSpec.adapt` based on whether `host` is
156
- * set, so callers (CLI/MCP/YAML) never have to provide it explicitly.
156
+ * set, so callers (CLI/YAML) never have to provide it explicitly.
157
157
  */
158
158
  declare type ComputerInitArgs = ComputerLocalInitArgs | ComputerRDPInitArgs;
159
159
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midscene/computer",
3
- "version": "1.9.8",
3
+ "version": "1.10.0",
4
4
  "description": "Midscene.js Computer Desktop Automation",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,19 +27,14 @@
27
27
  "import": "./dist/es/index.mjs",
28
28
  "require": "./dist/lib/index.js"
29
29
  },
30
- "./mcp-server": {
31
- "types": "./dist/types/mcp-server.d.ts",
32
- "import": "./dist/es/mcp-server.mjs",
33
- "require": "./dist/lib/mcp-server.js"
34
- },
35
30
  "./package.json": "./package.json"
36
31
  },
37
32
  "dependencies": {
38
33
  "@computer-use/libnut": "^4.2.0",
39
34
  "clipboardy": "^4.0.0",
40
35
  "screenshot-desktop": "^1.15.3",
41
- "@midscene/core": "1.9.8",
42
- "@midscene/shared": "1.9.8"
36
+ "@midscene/shared": "1.10.0",
37
+ "@midscene/core": "1.10.0"
43
38
  },
44
39
  "optionalDependencies": {
45
40
  "node-mac-permissions": "2.5.0"