@applitools/mcp 0.10.2 → 0.10.4
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 +56 -0
- package/dist/index.js +23 -8
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,62 @@ All notable changes to the Applitools Eyes MCP will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.10.4](https://github.com/Applitools-Dev/sdk/compare/js/mcp@0.10.3...js/mcp@0.10.4) (2026-11-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* @applitools/utils bumped to 1.15.4
|
|
14
|
+
|
|
15
|
+
* @applitools/eyes-results bumped to 0.2.9
|
|
16
|
+
|
|
17
|
+
* @applitools/logger bumped to 2.3.4
|
|
18
|
+
|
|
19
|
+
* @applitools/req bumped to 1.11.8
|
|
20
|
+
#### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* give each request its own retry budget and bound Retry-After ([#4418](https://github.com/Applitools-Dev/sdk/issues/4418)) ([9acdcfb](https://github.com/Applitools-Dev/sdk/commit/9acdcfb921729e796a49f5a1129911fa4eb19fce))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* @applitools/image bumped to 1.3.6
|
|
27
|
+
|
|
28
|
+
* @applitools/core-base bumped to 1.43.0
|
|
29
|
+
#### Features
|
|
30
|
+
|
|
31
|
+
* log DOM size and upload time | AD-17825 ([#4432](https://github.com/Applitools-Dev/sdk/issues/4432)) ([8b5c224](https://github.com/Applitools-Dev/sdk/commit/8b5c22492f3783c7ce26769bf084bfe794e770e9))
|
|
32
|
+
* pdf conversion client and visual match | AD-15596 ([#4132](https://github.com/Applitools-Dev/sdk/issues/4132)) ([d05f600](https://github.com/Applitools-Dev/sdk/commit/d05f60051145f1d447296caa35d56996e25cdbd1))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
#### Bug Fixes
|
|
36
|
+
|
|
37
|
+
* send the serviceUrlNew check and its log events through the configured proxy | FLD-5197 ([#4453](https://github.com/Applitools-Dev/sdk/issues/4453)) ([fe2bb46](https://github.com/Applitools-Dev/sdk/commit/fe2bb462e644c62b685fb35e60c06f978eacc439))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
#### Code Refactoring
|
|
41
|
+
|
|
42
|
+
* spread the optional httpVersion with && in requests ([#4462](https://github.com/Applitools-Dev/sdk/issues/4462)) ([c3a144e](https://github.com/Applitools-Dev/sdk/commit/c3a144e97f48968c23b781b7e11ebb3ec8b3b7ab))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
* @applitools/test-server bumped to 1.4.10
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## [0.10.3](https://github.com/Applitools-Dev/sdk/compare/js/mcp@0.10.2...js/mcp@0.10.3) (2026-11-05)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Dependencies
|
|
53
|
+
|
|
54
|
+
* @applitools/core-base bumped to 1.42.0
|
|
55
|
+
#### Features
|
|
56
|
+
|
|
57
|
+
* run the Eyes session lifecycle on the task graph | AD-16964 ([#4361](https://github.com/Applitools-Dev/sdk/issues/4361)) ([51eb00f](https://github.com/Applitools-Dev/sdk/commit/51eb00f60f5e95a91689f170192b4d7d580437af))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
#### Code Refactoring
|
|
61
|
+
|
|
62
|
+
* split deps from after, typed labels, filler awaits | AD-16964 ([#4362](https://github.com/Applitools-Dev/sdk/issues/4362)) ([6aaf46b](https://github.com/Applitools-Dev/sdk/commit/6aaf46be75059911917c8c31e8e008126cea2c5a))
|
|
63
|
+
|
|
8
64
|
## [0.10.2](https://github.com/Applitools-Dev/sdk/compare/js/mcp@0.10.1...js/mcp@0.10.2) (2026-11-04)
|
|
9
65
|
|
|
10
66
|
|
package/dist/index.js
CHANGED
|
@@ -4499,8 +4499,8 @@ function gateRejectionCount() {
|
|
|
4499
4499
|
|
|
4500
4500
|
var name = "@applitools/mcp";
|
|
4501
4501
|
var mcpName = "io.github.applitools/applitools";
|
|
4502
|
-
var mcpRegistryVersion = "1.0.
|
|
4503
|
-
var version = "0.10.
|
|
4502
|
+
var mcpRegistryVersion = "1.0.16";
|
|
4503
|
+
var version = "0.10.4";
|
|
4504
4504
|
var description = "Applitools MCP server for AI coding assistants";
|
|
4505
4505
|
var main = "./dist/index.js";
|
|
4506
4506
|
var bin = "./dist/index.js";
|
|
@@ -4558,7 +4558,7 @@ var dependencies = {
|
|
|
4558
4558
|
"@applitools/logger": "workspace:*",
|
|
4559
4559
|
"@applitools/req": "workspace:*",
|
|
4560
4560
|
"@applitools/utils": "workspace:*",
|
|
4561
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
4561
|
+
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
4562
4562
|
dotenv: "^16.3.1",
|
|
4563
4563
|
zod: "^4.0.0"
|
|
4564
4564
|
};
|
|
@@ -4576,10 +4576,10 @@ var devDependencies = {
|
|
|
4576
4576
|
"eslint-config-prettier": "^10.1.8",
|
|
4577
4577
|
"eslint-plugin-prettier": "^5.5.4",
|
|
4578
4578
|
"fast-glob": "^3.3.2",
|
|
4579
|
-
hono: "^4.
|
|
4579
|
+
hono: "^4.12.25",
|
|
4580
4580
|
mocha: "^11.7.5",
|
|
4581
4581
|
prettier: "^3.7.4",
|
|
4582
|
-
rollup: "^4.
|
|
4582
|
+
rollup: "^4.59.0",
|
|
4583
4583
|
"rollup-plugin-copy": "^3.5.0",
|
|
4584
4584
|
"rollup-plugin-node-externals": "^8.1.2",
|
|
4585
4585
|
typescript: "~5.9.3",
|
|
@@ -8805,7 +8805,9 @@ const SummaryExampleShape = zod.z.array(SummaryExampleFindingShape).superRefine(
|
|
|
8805
8805
|
* reaches `commands.ts` is stripped to exactly one shape, as it was when each level had its own tool.
|
|
8806
8806
|
*/
|
|
8807
8807
|
const ReviewEndFindingsShape = zod.z
|
|
8808
|
-
.union([zod.z.array(StepEndFindingShape.loose()), zod.z.array(SummaryExampleFindingShape.loose())]
|
|
8808
|
+
.union([zod.z.array(StepEndFindingShape.loose()), zod.z.array(SummaryExampleFindingShape.loose())], {
|
|
8809
|
+
error: issue => (issue.code === 'invalid_union' ? issue.errors.map(formatIssues).join(' | or | ') : undefined),
|
|
8810
|
+
})
|
|
8809
8811
|
.describe('Which shape this takes depends on scope: "step" takes one consolidated summary per changed area (areaRect, ' +
|
|
8810
8812
|
'summary, consistent, dynamic, isExpected/isBug, sources); "batch"/"scenario"/"session" take one summary per ' +
|
|
8811
8813
|
"finding with its own example link (summary, example, isExpected/isBug, sources). See each field's own " +
|
|
@@ -8820,6 +8822,19 @@ const JsonFileArgShape = zod.z
|
|
|
8820
8822
|
'large enough to risk the response not finishing before its JSON closes (e.g. many entries, or many that share ' +
|
|
8821
8823
|
'one repetitive cause such as one locale/theme change touching every changed area alike) — writing to a file has ' +
|
|
8822
8824
|
'no such limit. The tool reads and validates the file exactly as if its contents had been sent inline.');
|
|
8825
|
+
// The MCP SDK reports a failed union by its own message alone ("Invalid input"), so these unions
|
|
8826
|
+
// spell out what their branches rejected — otherwise the model never learns which field was wrong.
|
|
8827
|
+
function formatIssues(issues) {
|
|
8828
|
+
return issues
|
|
8829
|
+
.map(issue => (issue.path.length ? `${issue.path.join('.')}: ${issue.message}` : issue.message))
|
|
8830
|
+
.join('; ');
|
|
8831
|
+
}
|
|
8832
|
+
/** An array argument that may instead be sent as a file path (JsonFileArgShape); a rejection reports the inline array's issues. */
|
|
8833
|
+
function inlineOrFilePath(inline) {
|
|
8834
|
+
return zod.z.union([inline, JsonFileArgShape], {
|
|
8835
|
+
error: issue => (issue.code === 'invalid_union' ? formatIssues(issue.errors[0]) : undefined),
|
|
8836
|
+
});
|
|
8837
|
+
}
|
|
8823
8838
|
|
|
8824
8839
|
/**
|
|
8825
8840
|
* Build the canonical Eyes dashboard URL for a single test session.
|
|
@@ -11265,7 +11280,7 @@ function registerReviewTools(server, deps = defaultPhaseTrackerDeps) {
|
|
|
11265
11280
|
inputSchema: {
|
|
11266
11281
|
scope: EndScopeShape,
|
|
11267
11282
|
...REVIEW_SCOPE_ID_SHAPES,
|
|
11268
|
-
findings:
|
|
11283
|
+
findings: inlineOrFilePath(ReviewEndFindingsShape),
|
|
11269
11284
|
rootScope: RootScopeShape,
|
|
11270
11285
|
mode: ModeShape,
|
|
11271
11286
|
restart: RestartShape,
|
|
@@ -11326,7 +11341,7 @@ function registerReviewTools(server, deps = defaultPhaseTrackerDeps) {
|
|
|
11326
11341
|
inputSchema: {
|
|
11327
11342
|
sessionUrl: zod.z.string().describe(SESSION_URL_DESC),
|
|
11328
11343
|
stepIndex: zod.z.number().int().nonnegative().describe(STEP_INDEX_DESC),
|
|
11329
|
-
reports:
|
|
11344
|
+
reports: inlineOrFilePath(DiffReportsShape),
|
|
11330
11345
|
rootScope: RootScopeShape,
|
|
11331
11346
|
mode: ModeShape,
|
|
11332
11347
|
restart: RestartShape,
|