appforshare-mcp 1.0.0 → 1.0.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 +1 -1
- package/dist/server.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ No local uploads needed? Use the hosted server instead: `https://appforshare.io/
|
|
|
31
31
|
|
|
32
32
|
| Tool | What it does |
|
|
33
33
|
|---|---|
|
|
34
|
-
| `upload_build` | Upload a local .ipa or .
|
|
34
|
+
| `upload_build` | Upload a local .ipa, .apk or .aab (release notes, channel). Returns the install link and readiness result. |
|
|
35
35
|
| `list_builds`, `latest_build` | Builds with install links, filtered by platform, app, project or channel. |
|
|
36
36
|
| `build_info` | One build with every store readiness finding and its fix. |
|
|
37
37
|
| `list_projects`, `whoami` | Projects in the account; account, plan and role of the token. |
|
package/dist/server.js
CHANGED
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
7
7
|
const node_fs_1 = require("node:fs");
|
|
8
8
|
const node_path_1 = require("node:path");
|
|
9
9
|
const node_readline_1 = require("node:readline");
|
|
10
|
-
const VERSION = '1.0.
|
|
10
|
+
const VERSION = '1.0.1';
|
|
11
11
|
const TOKEN = process.env.APPFORSHARE_TOKEN ?? '';
|
|
12
12
|
const API = (process.env.APPFORSHARE_API ?? 'https://appforshare.io').replace(/\/$/, '');
|
|
13
13
|
const UA = `appforshare-mcp/${VERSION}`;
|
|
@@ -19,11 +19,11 @@ const log = (s) => process.stderr.write(`appforshare-mcp: ${s}\n`);
|
|
|
19
19
|
const UPLOAD_TOOL = {
|
|
20
20
|
name: 'upload_build',
|
|
21
21
|
title: 'Upload a build',
|
|
22
|
-
description: 'Upload an .ipa or .
|
|
22
|
+
description: 'Upload an .ipa, .apk or .aab from this computer to AppForShare and return its install link and store readiness result. An .aab is turned into one APK for testers. Optional release notes and a channel (such as beta) whose stable link then opens this build.',
|
|
23
23
|
inputSchema: {
|
|
24
24
|
type: 'object',
|
|
25
25
|
properties: {
|
|
26
|
-
path: { type: 'string', description: 'Path to the .ipa or .
|
|
26
|
+
path: { type: 'string', description: 'Path to the .ipa, .apk or .aab file' },
|
|
27
27
|
notes: { type: 'string', description: 'Release notes shown to testers (Pro and Team)' },
|
|
28
28
|
channel: { type: 'string', description: 'Put the build into this channel when it is ready (Pro and Team)' },
|
|
29
29
|
},
|
|
@@ -96,8 +96,8 @@ async function upload(args) {
|
|
|
96
96
|
if (typeof args.path !== 'string' || !args.path.trim())
|
|
97
97
|
throw new ToolError('path is required');
|
|
98
98
|
const file = (0, node_path_1.resolve)(args.path);
|
|
99
|
-
if (!/\.(ipa|apk)$/i.test(file))
|
|
100
|
-
throw new ToolError('Only .ipa and .
|
|
99
|
+
if (!/\.(ipa|apk|aab)$/i.test(file))
|
|
100
|
+
throw new ToolError('Only .ipa, .apk and .aab files can be shared. An .aab is turned into an APK for testers.');
|
|
101
101
|
let size;
|
|
102
102
|
try {
|
|
103
103
|
size = (0, node_fs_1.statSync)(file).size;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appforshare-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "AppForShare MCP server for Claude Code, Cursor, Codex and other AI tools: upload iOS and Android builds, get install links, check store readiness and follow App Store and Google Play releases.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "AppForShare",
|