@appscreenshotstudio/mcp
Advanced tools
+8
-2
@@ -195,3 +195,3 @@ #!/usr/bin/env node | ||
| name: 'appscreenshotstudio', | ||
| version: '0.5.4', | ||
| version: '0.5.5', | ||
| }); | ||
@@ -442,2 +442,5 @@ // Tool 1: generate-screenshots | ||
| const creditsRemaining = res.data.credits_remaining; | ||
| // A device switch ("make this for iPad") clones the project. All further | ||
| // edits, uploads, and renders must target the NEW project id, not the old one. | ||
| const activeProjectId = data.duplicated_project_id || project_id; | ||
| return { | ||
@@ -449,5 +452,8 @@ content: [{ | ||
| '', | ||
| data.duplicated_project_id | ||
| ? `NEW PROJECT CREATED at the target device size: ${data.duplicated_project_id}\nUse this project_id for all further edits, screenshot uploads, and rendering. The original project (${project_id}) is unchanged.` | ||
| : '', | ||
| `Cards: ${data.canvas_state?.cards?.length || 0}`, | ||
| `Credits remaining: ${creditsRemaining}`, | ||
| `Project URL: ${API_BASE}/builder/${project_id}`, | ||
| `Project URL: ${API_BASE}/builder/${activeProjectId}`, | ||
| '', | ||
@@ -454,0 +460,0 @@ data.suggestions?.length |
+1
-1
| { | ||
| "name": "@appscreenshotstudio/mcp", | ||
| "version": "0.5.4", | ||
| "version": "0.5.5", | ||
| "description": "MCP server for generating App Store screenshots via AppScreenshotStudio", | ||
@@ -5,0 +5,0 @@ "type": "module", |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
73737
0.75%1015
0.59%7
-12.5%