@nbakka/mcp-appium 2.0.95 → 2.0.96

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 +10 -10
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -872,7 +872,6 @@ tool(
872
872
  app.post(`/approve/${sessionId}`, (req, res) => {
873
873
  const session = approvalSessions.get(sessionId);
874
874
  if (session) {
875
- // overwrite authoritative copy with the submitted version
876
875
  session.testCases = req.body;
877
876
  session.finalTestCases = req.body;
878
877
  session.status = 'approved';
@@ -911,16 +910,17 @@ tool(
911
910
  }
912
911
  }, 300000);
913
912
 
914
- return {
915
- status: "review_started",
916
- sessionId,
917
- message: "Test case review interface opened.",
918
- testCasesCount: testCases.length,
919
- browserUrl: `http://localhost:${port}`,
920
- instructions: "Use check_approval_status tool to poll."
921
- };
913
+ // Return a simple string instead of an object
914
+ return `✅ Test case review interface opened successfully!
915
+ Session ID: ${sessionId}
916
+ Test Cases Count: ${testCases.length}
917
+ Browser URL: http://localhost:${port}
918
+ Status: review_started
919
+
920
+ Instructions: Use check_approval_status tool with session ID "${sessionId}" to poll for approval status.`;
921
+
922
922
  } catch (err) {
923
- return { status: "error", message: `Error setting up review interface: ${err.message}` };
923
+ return `❌ Error setting up review interface: ${err.message}`;
924
924
  }
925
925
  }
926
926
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.95",
3
+ "version": "2.0.96",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"