@nbakka/mcp-appium 1.0.12 → 1.0.13
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/package.json +1 -1
- package/src/lib/server.js +4 -3
package/package.json
CHANGED
package/src/lib/server.js
CHANGED
|
@@ -113,7 +113,7 @@ server.tool(
|
|
|
113
113
|
// Open Deep Link tool with package name
|
|
114
114
|
server.tool(
|
|
115
115
|
"open_deep_link",
|
|
116
|
-
"Open deep link on
|
|
116
|
+
"Open deep link on device",
|
|
117
117
|
{
|
|
118
118
|
deepLink: z.string(),
|
|
119
119
|
packageName: z.string(),
|
|
@@ -126,9 +126,9 @@ server.tool(
|
|
|
126
126
|
appActivity: "com.locon.housing.presentation.MainActivity",
|
|
127
127
|
intentAction: "android.intent.action.VIEW",
|
|
128
128
|
intentCategory: "android.intent.category.DEFAULT",
|
|
129
|
-
|
|
129
|
+
optionalIntentArguments: ["-d", deepLink],
|
|
130
130
|
});
|
|
131
|
-
return { content: [{ type: "text", text: `Deep link opened: ${deepLink}
|
|
131
|
+
return { content: [{ type: "text", text: `Deep link opened: ${deepLink}` }] };
|
|
132
132
|
} catch (e) {
|
|
133
133
|
return { content: [{ type: "text", text: `Error opening deep link: ${e.message}` }] };
|
|
134
134
|
}
|
|
@@ -137,6 +137,7 @@ server.tool(
|
|
|
137
137
|
|
|
138
138
|
|
|
139
139
|
|
|
140
|
+
|
|
140
141
|
// Close Session tool
|
|
141
142
|
server.tool(
|
|
142
143
|
"close_session",
|