pabal-store-api-mcp 1.3.7 → 1.3.8
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 +11 -0
- package/package.json +1 -1
package/dist/src/index.js
CHANGED
|
@@ -12,6 +12,17 @@ import { handleAsoCreateVersion } from "./tools/release/create.js";
|
|
|
12
12
|
import { handleAsoPullReleaseNotes } from "./tools/release/pull-notes.js";
|
|
13
13
|
import { handleUpdateNotes } from "./tools/release/update-notes.js";
|
|
14
14
|
import { handleCheckLatestVersions } from "./tools/release/check-versions.js";
|
|
15
|
+
// Redirect console.log and console.info to stderr
|
|
16
|
+
// This prevents third-party libraries (like appstore-connect-sdk) from corrupting
|
|
17
|
+
// the stdout JSON-RPC stream required by strict MCP clients (like Antigravity).
|
|
18
|
+
const originalLog = console.log;
|
|
19
|
+
const originalInfo = console.info;
|
|
20
|
+
console.log = function (...args) {
|
|
21
|
+
console.error(...args);
|
|
22
|
+
};
|
|
23
|
+
console.info = function (...args) {
|
|
24
|
+
console.error(...args);
|
|
25
|
+
};
|
|
15
26
|
// MCP config sets cwd to project root, so we don't need to chdir
|
|
16
27
|
// Just verify we're in the right place
|
|
17
28
|
console.error(`[MCP] 📂 Working directory: ${process.cwd()}`);
|