@nbakka/mcp-appium 2.0.74 → 2.0.76

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 +2 -2
  2. package/package.json +1 -1
package/lib/server.js CHANGED
@@ -674,7 +674,7 @@ tool(
674
674
  }
675
675
  );
676
676
 
677
- tool(
677
+ server.tool(
678
678
  "generate_testcases_from_ticket_data",
679
679
  "Generate manual test cases by analyzing PNG design with JIRA requirements",
680
680
  {
@@ -690,7 +690,7 @@ tool(
690
690
  // Load OpenAI API key from Desktop/openai.json
691
691
  const openaiConfigPath = path.join(os.homedir(), "Desktop", "openai.json");
692
692
  const configContent = await fs.readFile(openaiConfigPath, "utf-8");
693
- const { apiKey } = JSON.parse(configContent);
693
+ const { apiKey } = JSON.parse(configContent.trim());
694
694
 
695
695
  // Load test case generation guidelines
696
696
  const guidelinesPath = path.join(__dirname, 'testcases-generation-context.txt');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nbakka/mcp-appium",
3
- "version": "2.0.74",
3
+ "version": "2.0.76",
4
4
  "description": "Appium MCP",
5
5
  "engines": {
6
6
  "node": ">=18"