pabal-store-api-mcp 1.3.17 → 1.3.18

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/dist/src/index.js CHANGED
@@ -210,7 +210,7 @@ registerToolWithInfo("aso-push", {
210
210
  .int()
211
211
  .positive()
212
212
  .optional()
213
- .describe("Google Play image locale batch size. Omit to upload all target locales in one edit commit"),
213
+ .describe("Google Play image locale batch size (default: 1 when uploadImages=true, replacing screenshots per locale while preserving videos)"),
214
214
  dryRun: z
215
215
  .boolean()
216
216
  .optional()
@@ -6,6 +6,7 @@ import { AppStoreService } from "../../core/services/app-store-service.js";
6
6
  import { GooglePlayService } from "../../core/services/google-play-service.js";
7
7
  import { formatPushResult } from "../../core/helpers/formatters.js";
8
8
  const DEFAULT_IMAGE_UPLOAD_TIMEOUT_MS = 10 * 60 * 1000;
9
+ const DEFAULT_IMAGE_LOCALE_BATCH_SIZE = 1;
9
10
  const appResolutionService = new AppResolutionService();
10
11
  const appStoreService = new AppStoreService();
11
12
  const googlePlayService = new GooglePlayService();
@@ -13,6 +14,8 @@ export async function handleAsoPush(options) {
13
14
  const { store = "both", uploadImages = false, locales, dryRun = false, } = options;
14
15
  const imageUploadTimeoutMs = options.imageUploadTimeoutMs ??
15
16
  (uploadImages ? DEFAULT_IMAGE_UPLOAD_TIMEOUT_MS : undefined);
17
+ const imageLocaleBatchSize = options.imageLocaleBatchSize ??
18
+ (uploadImages ? DEFAULT_IMAGE_LOCALE_BATCH_SIZE : undefined);
16
19
  const resolved = appResolutionService.resolve({
17
20
  slug: options.app,
18
21
  packageName: options.packageName,
@@ -37,13 +40,16 @@ export async function handleAsoPush(options) {
37
40
  if (bundleId)
38
41
  console.error(`[MCP] Bundle ID: ${bundleId}`);
39
42
  console.error(`[MCP] Upload Images: ${uploadImages ? "Yes" : "No"}`);
43
+ if (uploadImages) {
44
+ console.error(`[MCP] Image Upload Mode: overwrite screenshots only (videos preserved)`);
45
+ }
40
46
  if (locales?.length)
41
47
  console.error(`[MCP] Locales: ${locales.join(", ")}`);
42
48
  if (imageUploadTimeoutMs) {
43
49
  console.error(`[MCP] Image Upload Timeout: ${imageUploadTimeoutMs}ms`);
44
50
  }
45
- if (options.imageLocaleBatchSize) {
46
- console.error(`[MCP] Image Locale Batch Size: ${options.imageLocaleBatchSize}`);
51
+ if (imageLocaleBatchSize) {
52
+ console.error(`[MCP] Image Locale Batch Size: ${imageLocaleBatchSize}`);
47
53
  }
48
54
  console.error(`[MCP] Mode: ${dryRun ? "Dry run" : "Actual push"}`);
49
55
  let config;
@@ -129,7 +135,9 @@ export async function handleAsoPush(options) {
129
135
  content: [
130
136
  {
131
137
  type: "text",
132
- text: `📋 Dry run - Data that would be pushed:\n${JSON.stringify(configData, null, 2)}`,
138
+ text: `📋 Dry run - Data that would be pushed:\n${JSON.stringify(configData, null, 2)}${uploadImages
139
+ ? "\n\nImage upload mode: overwrite screenshots only; videos/app previews are preserved."
140
+ : ""}`,
133
141
  },
134
142
  ],
135
143
  };
@@ -149,7 +157,7 @@ export async function handleAsoPush(options) {
149
157
  uploadImages,
150
158
  locales,
151
159
  imageUploadTimeoutMs,
152
- imageLocaleBatchSize: options.imageLocaleBatchSize,
160
+ imageLocaleBatchSize,
153
161
  slug,
154
162
  });
155
163
  results.push(formatPushResult("Google Play", result));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pabal-store-api-mcp",
3
- "version": "1.3.17",
3
+ "version": "1.3.18",
4
4
  "description": "MCP server for App Store / Play Store ASO workflows",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",