@skyramp/mcp 0.0.47 → 0.0.48

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.
@@ -6,7 +6,7 @@ import { stripVTControlCharacters } from "util";
6
6
  import { logger } from "../utils/logger.js";
7
7
  const DEFAULT_TIMEOUT = 300000; // 5 minutes
8
8
  const MAX_CONCURRENT_EXECUTIONS = 5;
9
- const EXECUTOR_DOCKER_IMAGE = "skyramp/executor:v1.2.41";
9
+ const EXECUTOR_DOCKER_IMAGE = "skyramp/executor:v1.3.0";
10
10
  const DOCKER_PLATFORM = "linux/amd64";
11
11
  const EXECUTION_PROGRESS_INTERVAL = 10000; // 10 seconds between progress updates during execution
12
12
  // Files and directories to exclude when mounting workspace to Docker container
@@ -8,7 +8,7 @@ const scenarioTestSchema = {
8
8
  .describe("Name of the test scenario with multiple steps. Describe the complete workflow you want to test, including all actions and their sequence.KEEP IT SHORT AND DESCRIPTIVE AS USED FOR FILE NAME"),
9
9
  destination: z
10
10
  .string()
11
- .describe("Destination host (e.g., api.example.com) to be used for the test"),
11
+ .describe("Destination hostname or IP address for the test (e.g., api.example.com, localhost, 192.168.1.1). Do NOT include port numbers."),
12
12
  apiSchema: z
13
13
  .string()
14
14
  .describe("MUST be absolute path (/path/to/openapi.json) to the OpenAPI/Swagger schema file or a URL to the OpenAPI/Swagger schema file (e.g. https://demoshop.skyramp.dev/openapi.json). Required for accurate API mapping."),
@@ -15,8 +15,12 @@ export class McpLogger {
15
15
  message,
16
16
  ...(data && { data }),
17
17
  };
18
- // Use console.error for structured logging (this goes to stderr)
19
- console.error(JSON.stringify(logEntry));
18
+ try {
19
+ console.error(JSON.stringify(logEntry));
20
+ }
21
+ catch (error) {
22
+ // silently ignore
23
+ }
20
24
  }
21
25
  debug(message, data) {
22
26
  this.sendLogMessage("debug", message, data);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyramp/mcp",
3
- "version": "0.0.47",
3
+ "version": "0.0.48",
4
4
  "main": "build/index.js",
5
5
  "type": "module",
6
6
  "bin": {
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@modelcontextprotocol/sdk": "^1.24.3",
46
- "@skyramp/skyramp": "^1.2.41",
46
+ "@skyramp/skyramp": "^1.3.0",
47
47
  "@playwright/test": "^1.55.0",
48
48
  "dockerode": "^4.0.6",
49
49
  "fast-glob": "^3.3.3",