@midscene/ios 1.2.1-beta-20260108154312.0 → 1.2.1-beta-20260109060244.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 +31 -3
- package/dist/lib/mcp-server.js +31 -3
- package/package.json +5 -5
- package/static/index.html +1 -1
- package/static/static/js/{index.463fa2e0.js → index.0710e537.js} +4 -4
- package/static/static/js/index.0710e537.js.map +1 -0
- package/static/static/js/index.463fa2e0.js.map +0 -1
- /package/static/static/js/{index.463fa2e0.js.LICENSE.txt → index.0710e537.js.LICENSE.txt} +0 -0
package/dist/es/mcp-server.mjs
CHANGED
|
@@ -1070,8 +1070,36 @@ class IOSMidsceneTools extends BaseMidsceneTools {
|
|
|
1070
1070
|
],
|
|
1071
1071
|
isError: false
|
|
1072
1072
|
};
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
name: 'ios_disconnect',
|
|
1077
|
+
description: 'Disconnect from current iOS device and release WebDriverAgent resources',
|
|
1078
|
+
schema: {},
|
|
1079
|
+
handler: async ()=>{
|
|
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
|
+
}
|
|
1075
1103
|
}
|
|
1076
1104
|
];
|
|
1077
1105
|
}
|
|
@@ -1083,7 +1111,7 @@ class IOSMCPServer extends BaseMCPServer {
|
|
|
1083
1111
|
constructor(toolsManager){
|
|
1084
1112
|
super({
|
|
1085
1113
|
name: '@midscene/ios-mcp',
|
|
1086
|
-
version: "1.2.1-beta-
|
|
1114
|
+
version: "1.2.1-beta-20260109060244.0",
|
|
1087
1115
|
description: 'Control the iOS device using natural language commands'
|
|
1088
1116
|
}, toolsManager);
|
|
1089
1117
|
}
|
package/dist/lib/mcp-server.js
CHANGED
|
@@ -1110,8 +1110,36 @@ class IOSMidsceneTools extends mcp_namespaceObject.BaseMidsceneTools {
|
|
|
1110
1110
|
],
|
|
1111
1111
|
isError: false
|
|
1112
1112
|
};
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1113
|
+
}
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
name: 'ios_disconnect',
|
|
1117
|
+
description: 'Disconnect from current iOS device and release WebDriverAgent resources',
|
|
1118
|
+
schema: {},
|
|
1119
|
+
handler: async ()=>{
|
|
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
|
+
}
|
|
1115
1143
|
}
|
|
1116
1144
|
];
|
|
1117
1145
|
}
|
|
@@ -1123,7 +1151,7 @@ class IOSMCPServer extends mcp_namespaceObject.BaseMCPServer {
|
|
|
1123
1151
|
constructor(toolsManager){
|
|
1124
1152
|
super({
|
|
1125
1153
|
name: '@midscene/ios-mcp',
|
|
1126
|
-
version: "1.2.1-beta-
|
|
1154
|
+
version: "1.2.1-beta-20260109060244.0",
|
|
1127
1155
|
description: 'Control the iOS device using natural language commands'
|
|
1128
1156
|
}, toolsManager);
|
|
1129
1157
|
}
|
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-20260109060244.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-20260109060244.0",
|
|
47
|
+
"@midscene/shared": "1.2.1-beta-20260109060244.0",
|
|
48
|
+
"@midscene/webdriver": "1.2.1-beta-20260109060244.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-20260109060244.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.0710e537.js"></script><link href="/static/css/index.8c3984b3.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|