@mcp-use/client 2.4.6-canary.2 → 2.4.6-canary.4

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/index.js CHANGED
@@ -1662,7 +1662,7 @@ init_connector_telemetry();
1662
1662
  init_logging();
1663
1663
 
1664
1664
  // src/utils/version.ts
1665
- var VERSION = "2.4.6-canary.2";
1665
+ var VERSION = "2.4.6-canary.4";
1666
1666
  function getPackageVersion() {
1667
1667
  return VERSION;
1668
1668
  }
@@ -3698,7 +3698,7 @@ function resolveClientOptions(clientOptions) {
3698
3698
  }
3699
3699
  function createConnectorFromConfig(serverConfig, connectorOptions) {
3700
3700
  const clientInfo = normalizeClientInfo(serverConfig.clientInfo);
3701
- if ("command" in serverConfig && "args" in serverConfig) {
3701
+ if ("command" in serverConfig) {
3702
3702
  throw new Error(
3703
3703
  "Stdio connector is not supported in this environment. Stdio connections require Node.js and are only available in the Node.js MCPClient."
3704
3704
  );
@@ -6091,7 +6091,7 @@ var MCPClient = class _MCPClient extends BaseMCPClient {
6091
6091
  ...serverConfig,
6092
6092
  clientInfo: serverConfig.clientInfo ?? this.config.clientInfo
6093
6093
  };
6094
- if ("command" in merged && "args" in merged) {
6094
+ if ("command" in merged) {
6095
6095
  const { StdioConnector: StdioConnector2 } = await Promise.resolve().then(() => (init_stdio(), stdio_exports));
6096
6096
  const stdioConfig = merged;
6097
6097
  return new StdioConnector2({