@debugg-ai/debugg-ai-mcp 6.1.0 → 6.1.2

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/CHANGELOG.md CHANGED
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ### Changed — test_suite `run` retired (platform-g3am)
11
+ - The server removed its suite-run route, so `run` only produced a raw HTML 404. It is gone from the tool's actions and description; a call from an older client now returns an `ActionRetired` error naming `results`, `check_app_in_browser` and `trigger_crawl`, without contacting the server.
12
+
10
13
  ### Fixed — REST client now CONNECT-tunnels through HTTPS_PROXY / honors NO_PROXY (platform-y2ob.3)
11
14
  - The API client (axios) sent an absolute-URI request to the proxy, which CONNECT-only proxies reject with HTTP 405, so a proxied user failed before any tunnel was attempted. It now opens a CONNECT tunnel via the same proxy selection and NO_PROXY matching as the tunnel websocket. A 407 names the proxy host (never its credentials). No proxy, or a NO_PROXY match: unchanged.
12
15
 
@@ -1,7 +1,6 @@
1
1
  import { ensureConfirmed } from '../utils/confirmDestructive.js';
2
2
  import { searchTestSuitesHandler } from './searchTestSuitesHandler.js';
3
3
  import { createTestSuiteHandler } from './createTestSuiteHandler.js';
4
- import { runTestSuiteHandler } from './runTestSuiteHandler.js';
5
4
  import { getTestSuiteResultsHandler } from './getTestSuiteResultsHandler.js';
6
5
  import { deleteTestSuiteHandler } from './deleteTestSuiteHandler.js';
7
6
  export async function testSuiteHandler(input, ctx) {
@@ -14,10 +13,15 @@ export async function testSuiteHandler(input, ctx) {
14
13
  const { action, ...rest } = input;
15
14
  return createTestSuiteHandler(rest, ctx);
16
15
  }
17
- case 'run': {
18
- const { action, ...rest } = input;
19
- return runTestSuiteHandler(rest, ctx);
20
- }
16
+ case 'run':
17
+ // The server no longer has a suite-run route; calling it only yields a raw HTML 404.
18
+ return {
19
+ content: [{ type: 'text', text: JSON.stringify({
20
+ error: 'ActionRetired',
21
+ message: 'test_suite "run" is no longer supported: the DebuggAI server removed suite runs. Use action "results" for existing outcomes, or check_app_in_browser / trigger_crawl to exercise an app.',
22
+ }, null, 2) }],
23
+ isError: true,
24
+ };
21
25
  case 'results': {
22
26
  const { action, ...rest } = input;
23
27
  return getTestSuiteResultsHandler(rest, ctx);
@@ -1,10 +1,9 @@
1
1
  import { TestSuiteInputSchema } from '../types/index.js';
2
2
  import { testSuiteHandler } from '../handlers/testSuiteHandler.js';
3
3
  import { DESTRUCTIVE } from './annotations.js';
4
- const DESCRIPTION = `Manage and run test suites. Identify a suite by suiteUuid, or suiteName + a project identifier (projectUuid|projectName). Pass an "action":
4
+ const DESCRIPTION = `Manage test suites. Identify a suite by suiteUuid, or suiteName + a project identifier (projectUuid|projectName). Pass an "action":
5
5
  - "list" {projectUuid|projectName, search?, page?, pageSize?} → paginated suites with status/pass-rate.
6
6
  - "create" {name, description, projectUuid|projectName} → create a suite.
7
- - "run" {suiteUuid|(suiteName+project), targetUrl?} → run all tests async. Poll with action:"results".
8
7
  - "results" {suiteUuid|(suiteName+project)} → suite + per-test outcomes.
9
8
  - "delete" {suiteUuid|(suiteName+project), confirm?} → soft-delete (DESTRUCTIVE; requires confirmation).`;
10
9
  const PROJECT_PROPS = {
@@ -24,7 +23,7 @@ export function buildTestSuiteTool() {
24
23
  inputSchema: {
25
24
  type: 'object',
26
25
  properties: {
27
- action: { type: 'string', enum: ['list', 'create', 'run', 'results', 'delete'], description: 'Operation to perform.' },
26
+ action: { type: 'string', enum: ['list', 'create', 'results', 'delete'], description: 'Operation to perform.' },
28
27
  ...SUITE_PROPS,
29
28
  ...PROJECT_PROPS,
30
29
  name: { type: 'string', description: '[create] Suite name.' },
@@ -32,7 +31,6 @@ export function buildTestSuiteTool() {
32
31
  search: { type: 'string', description: '[list] Text filter over name/description.' },
33
32
  page: { type: 'number', description: '[list] Page (1-indexed).' },
34
33
  pageSize: { type: 'number', description: '[list] Page size (1..100).' },
35
- targetUrl: { type: 'string', description: '[run] Override the default test target (full URL).' },
36
34
  confirm: { type: 'boolean', description: '[delete] Set true to confirm deletion (when the client cannot prompt).' },
37
35
  },
38
36
  required: ['action'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@debugg-ai/debugg-ai-mcp",
3
- "version": "6.1.0",
3
+ "version": "6.1.2",
4
4
  "description": "Zero-Config, Fully AI-Managed End-to-End Testing for all code gen platforms.",
5
5
  "type": "module",
6
6
  "caddy": "2.11.3",