@wdio/mcp 3.1.0 → 3.1.1
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/lib/server.js +4 -4
- package/lib/server.js.map +1 -1
- package/package.json +1 -1
package/lib/server.js
CHANGED
|
@@ -46,7 +46,7 @@ var package_default = {
|
|
|
46
46
|
type: "git",
|
|
47
47
|
url: "git://github.com/webdriverio/mcp.git"
|
|
48
48
|
},
|
|
49
|
-
version: "3.
|
|
49
|
+
version: "3.1.0",
|
|
50
50
|
description: "MCP server with WebdriverIO for browser and mobile app automation (iOS/Android via Appium)",
|
|
51
51
|
main: "./lib/server.js",
|
|
52
52
|
module: "./lib/server.js",
|
|
@@ -114,7 +114,7 @@ var package_default = {
|
|
|
114
114
|
};
|
|
115
115
|
|
|
116
116
|
// src/server.ts
|
|
117
|
-
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp";
|
|
117
|
+
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
118
118
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
119
119
|
|
|
120
120
|
// src/tools/navigate.tool.ts
|
|
@@ -2152,7 +2152,7 @@ var browserstackLocalBinaryResource = {
|
|
|
2152
2152
|
};
|
|
2153
2153
|
|
|
2154
2154
|
// src/resources/sessions.resource.ts
|
|
2155
|
-
import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp";
|
|
2155
|
+
import { ResourceTemplate } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2156
2156
|
|
|
2157
2157
|
// src/recording/code-generator.ts
|
|
2158
2158
|
function escapeStr(value) {
|
|
@@ -2786,7 +2786,7 @@ var cookiesResource = {
|
|
|
2786
2786
|
|
|
2787
2787
|
// src/resources/app-state.resource.ts
|
|
2788
2788
|
init_state();
|
|
2789
|
-
import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk/server/mcp";
|
|
2789
|
+
import { ResourceTemplate as ResourceTemplate2 } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
2790
2790
|
async function readAppState(bundleId) {
|
|
2791
2791
|
try {
|
|
2792
2792
|
const browser = getBrowser();
|