@midscene/ios 1.2.1-beta-20260109060244.0 → 1.2.1-beta-20260109075435.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/mcp-server.mjs +2 -25
- package/dist/lib/mcp-server.js +2 -25
- package/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/{index.0710e537.js → index.ccc6becb.js} +3 -3
- package/static/static/js/index.ccc6becb.js.map +1 -0
- package/static/static/js/index.0710e537.js.map +0 -1
- /package/static/static/js/{index.0710e537.js.LICENSE.txt → index.ccc6becb.js.LICENSE.txt} +0 -0
package/dist/es/mcp-server.mjs
CHANGED
|
@@ -1076,30 +1076,7 @@ class IOSMidsceneTools extends BaseMidsceneTools {
|
|
|
1076
1076
|
name: 'ios_disconnect',
|
|
1077
1077
|
description: 'Disconnect from current iOS device and release WebDriverAgent resources',
|
|
1078
1078
|
schema: {},
|
|
1079
|
-
handler:
|
|
1080
|
-
if (!this.agent) return {
|
|
1081
|
-
content: [
|
|
1082
|
-
{
|
|
1083
|
-
type: 'text',
|
|
1084
|
-
text: 'No active connection to disconnect'
|
|
1085
|
-
}
|
|
1086
|
-
]
|
|
1087
|
-
};
|
|
1088
|
-
try {
|
|
1089
|
-
await this.agent.destroy?.();
|
|
1090
|
-
} catch (error) {
|
|
1091
|
-
debug('Failed to destroy agent during disconnect:', error);
|
|
1092
|
-
}
|
|
1093
|
-
this.agent = void 0;
|
|
1094
|
-
return {
|
|
1095
|
-
content: [
|
|
1096
|
-
{
|
|
1097
|
-
type: 'text',
|
|
1098
|
-
text: 'Disconnected from iOS device'
|
|
1099
|
-
}
|
|
1100
|
-
]
|
|
1101
|
-
};
|
|
1102
|
-
}
|
|
1079
|
+
handler: this.createDisconnectHandler('iOS device')
|
|
1103
1080
|
}
|
|
1104
1081
|
];
|
|
1105
1082
|
}
|
|
@@ -1111,7 +1088,7 @@ class IOSMCPServer extends BaseMCPServer {
|
|
|
1111
1088
|
constructor(toolsManager){
|
|
1112
1089
|
super({
|
|
1113
1090
|
name: '@midscene/ios-mcp',
|
|
1114
|
-
version: "1.2.1-beta-
|
|
1091
|
+
version: "1.2.1-beta-20260109075435.0",
|
|
1115
1092
|
description: 'Control the iOS device using natural language commands'
|
|
1116
1093
|
}, toolsManager);
|
|
1117
1094
|
}
|
package/dist/lib/mcp-server.js
CHANGED
|
@@ -1116,30 +1116,7 @@ class IOSMidsceneTools extends mcp_namespaceObject.BaseMidsceneTools {
|
|
|
1116
1116
|
name: 'ios_disconnect',
|
|
1117
1117
|
description: 'Disconnect from current iOS device and release WebDriverAgent resources',
|
|
1118
1118
|
schema: {},
|
|
1119
|
-
handler:
|
|
1120
|
-
if (!this.agent) return {
|
|
1121
|
-
content: [
|
|
1122
|
-
{
|
|
1123
|
-
type: 'text',
|
|
1124
|
-
text: 'No active connection to disconnect'
|
|
1125
|
-
}
|
|
1126
|
-
]
|
|
1127
|
-
};
|
|
1128
|
-
try {
|
|
1129
|
-
await this.agent.destroy?.();
|
|
1130
|
-
} catch (error) {
|
|
1131
|
-
debug('Failed to destroy agent during disconnect:', error);
|
|
1132
|
-
}
|
|
1133
|
-
this.agent = void 0;
|
|
1134
|
-
return {
|
|
1135
|
-
content: [
|
|
1136
|
-
{
|
|
1137
|
-
type: 'text',
|
|
1138
|
-
text: 'Disconnected from iOS device'
|
|
1139
|
-
}
|
|
1140
|
-
]
|
|
1141
|
-
};
|
|
1142
|
-
}
|
|
1119
|
+
handler: this.createDisconnectHandler('iOS device')
|
|
1143
1120
|
}
|
|
1144
1121
|
];
|
|
1145
1122
|
}
|
|
@@ -1151,7 +1128,7 @@ class IOSMCPServer extends mcp_namespaceObject.BaseMCPServer {
|
|
|
1151
1128
|
constructor(toolsManager){
|
|
1152
1129
|
super({
|
|
1153
1130
|
name: '@midscene/ios-mcp',
|
|
1154
|
-
version: "1.2.1-beta-
|
|
1131
|
+
version: "1.2.1-beta-20260109075435.0",
|
|
1155
1132
|
description: 'Control the iOS device using natural language commands'
|
|
1156
1133
|
}, toolsManager);
|
|
1157
1134
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midscene/ios",
|
|
3
|
-
"version": "1.2.1-beta-
|
|
3
|
+
"version": "1.2.1-beta-20260109075435.0",
|
|
4
4
|
"description": "iOS automation library for Midscene",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iOS UI automation",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@inquirer/prompts": "^7.8.6",
|
|
45
45
|
"open": "10.1.0",
|
|
46
|
-
"@midscene/core": "1.2.1-beta-
|
|
47
|
-
"@midscene/shared": "1.2.1-beta-
|
|
48
|
-
"@midscene/webdriver": "1.2.1-beta-
|
|
46
|
+
"@midscene/core": "1.2.1-beta-20260109075435.0",
|
|
47
|
+
"@midscene/shared": "1.2.1-beta-20260109075435.0",
|
|
48
|
+
"@midscene/webdriver": "1.2.1-beta-20260109075435.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@rslib/core": "^0.18.3",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"tsx": "^4.19.2",
|
|
56
56
|
"vitest": "3.0.5",
|
|
57
57
|
"zod": "3.24.3",
|
|
58
|
-
"@midscene/playground": "1.2.1-beta-
|
|
58
|
+
"@midscene/playground": "1.2.1-beta-20260109075435.0"
|
|
59
59
|
},
|
|
60
60
|
"license": "MIT",
|
|
61
61
|
"scripts": {
|
package/static/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.7b1abe58.js"></script><script defer src="/static/js/430.53da0b9c.js"></script><script defer src="/static/js/index.
|
|
1
|
+
<!doctype html><html><head><link rel="icon" href="/favicon.ico"><title>Midscene Playground</title><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><script defer src="/static/js/lib-react.7b1abe58.js"></script><script defer src="/static/js/430.53da0b9c.js"></script><script defer src="/static/js/index.ccc6becb.js"></script><link href="/static/css/index.8c3984b3.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|