@nbakka/mcp-appium 2.0.26 → 2.0.27

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.
Files changed (2) hide show
  1. package/lib/server.js +3 -7
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -143,11 +143,7 @@ const createMcpServer = () => {
143
143
  "mobile_learn_current_app_context",
144
144
  "Follow these instructions strictly to navigate through the app. This should be the first step after launching the app and before performing any tests. Provide the Google Sheet name to fetch locatorName and androidLocator from the specified sheet.",
145
145
  {
146
- sheetName: {
147
- type: "string",
148
- description: "Exact name of the Google Sheets tab (sheet) to fetch locator data from.",
149
- // required by zod or MCP implicitly if needed
150
- },
146
+ sheetName: zod_1.z.string().describe("The name of the Google Sheet to fetch locator data from"),
151
147
  },
152
148
  async ({ sheetName }) => {
153
149
  try {
@@ -187,8 +183,8 @@ const createMcpServer = () => {
187
183
 
188
184
  // Normalize headers
189
185
  const header = rows[0].map(h => h.toString().toLowerCase().trim());
190
- const locatorNameIdx = header.indexOf('locator name');
191
- const androidLocatorIdx = header.findIndex(h => h === 'android xpath' || h === 'android locator');
186
+ const locatorNameIdx = header.indexOf('locatorName');
187
+ const androidLocatorIdx = header.findIndex(h => h === 'androidXpath' || h === 'androidLocator');
192
188
 
193
189
  if (locatorNameIdx === -1 || androidLocatorIdx === -1) {
194
190
  return `Required columns "locator name" and/or "android xpath" not found in sheet "${sheetName}". Notes loaded: ${JSON.stringify(notes)}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.26",
3
+ "version": "2.0.27",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"