@appscreenshotstudio/mcp 0.4.0 → 0.4.1
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/README.md +2 -1
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -171,7 +171,8 @@ Once installed, use `/appscreenshotstudio` in Claude Code or just ask "generate
|
|
|
171
171
|
| `iphone-6.9` | iPhone 16 Pro Max | 1260x2736 | App Store |
|
|
172
172
|
| `ipad-13` | iPad Pro 13" | 2064x2752 | App Store |
|
|
173
173
|
| `android-phone` | Android Phone | 1080x2340 | Play Store |
|
|
174
|
-
| `android-tablet-10` | Android Tablet
|
|
174
|
+
| `android-tablet-10` | Android Tablet 7" | 1200x1920 | Play Store |
|
|
175
|
+
| `apple-watch-ultra` | Apple Watch Ultra 2 | 410x502 | App Store |
|
|
175
176
|
|
|
176
177
|
## Design Features
|
|
177
178
|
|
package/dist/index.js
CHANGED
|
@@ -28,11 +28,13 @@ if (args[0] === 'install-skill') {
|
|
|
28
28
|
const API_BASE = process.env.APPSCREENSHOTSTUDIO_URL || 'https://appscreenshotstudio.com';
|
|
29
29
|
const API_KEY = process.env.APPSCREENSHOTSTUDIO_API_KEY;
|
|
30
30
|
// ─── Devices (mirrors lib/device-specs.ts) ─────────────────────────────────────
|
|
31
|
+
// ⚠️ Keep in sync: lib/device-specs.ts, mcp-server/README.md, docs/api page, docs/mcp page
|
|
31
32
|
const DEVICES = [
|
|
32
33
|
{ id: 'iphone-6.9', name: 'iPhone 16 Pro Max', width: 1260, height: 2736, category: 'iphone', required: true },
|
|
33
34
|
{ id: 'ipad-13', name: 'iPad Pro 13"', width: 2064, height: 2752, category: 'ipad', required: true },
|
|
34
35
|
{ id: 'android-phone', name: 'Android Phone', width: 1080, height: 2340, category: 'android-phone', required: true },
|
|
35
|
-
{ id: 'android-tablet-10', name: 'Android Tablet
|
|
36
|
+
{ id: 'android-tablet-10', name: 'Android Tablet 7"', width: 1200, height: 1920, category: 'android-tablet', required: true },
|
|
37
|
+
{ id: 'apple-watch-ultra', name: 'Apple Watch Ultra 2', width: 410, height: 502, category: 'apple-watch', required: true },
|
|
36
38
|
];
|
|
37
39
|
const VALID_DEVICE_IDS = DEVICES.map(d => d.id);
|
|
38
40
|
// ─── API helper ─────────────────────────────────────────────────────────────────
|
|
@@ -690,7 +692,7 @@ This tool helps you gather the right information so generate-screenshots produce
|
|
|
690
692
|
if (platform === 'android' || platform === 'both') {
|
|
691
693
|
deviceTips.push('**Android (required for Play Store):**');
|
|
692
694
|
deviceTips.push('- Android Phone (android-phone): 1080×2340 — REQUIRED');
|
|
693
|
-
deviceTips.push('- Android Tablet
|
|
695
|
+
deviceTips.push('- Android Tablet 7" (android-tablet-10): 1200×1920 — optional');
|
|
694
696
|
deviceTips.push('');
|
|
695
697
|
}
|
|
696
698
|
// Schema reminder
|