@testomatio/mcp-enterprise 2.2.0-beta → 2.2.0-beta.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/package.json +2 -2
- package/src/analytics.js +4 -1
- package/src/load-core.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testomatio/mcp-enterprise",
|
|
3
|
-
"version": "2.2.0-beta",
|
|
3
|
+
"version": "2.2.0-beta.1",
|
|
4
4
|
"description": "Enterprise Model Context Protocol server for Testomat.io API with analytics tools",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"directory": "packages/enterprise"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@testomatio/mcp": "2.2.0-beta",
|
|
30
|
+
"@testomatio/mcp": "2.2.0-beta.1",
|
|
31
31
|
"commander": "^12.0.0"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
package/src/analytics.js
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ANALYTICS_TESTS_TQL_INPUT_DESCRIPTION,
|
|
5
5
|
ANALYTICS_TESTS_TQL_REFERENCE,
|
|
6
6
|
TOOL_DEFINITIONS,
|
|
7
|
+
backendSlimQuery,
|
|
7
8
|
slimList,
|
|
8
9
|
withListOptions,
|
|
9
10
|
} from './load-core.js';
|
|
@@ -139,7 +140,7 @@ export const ENTERPRISE_TOOL_DEFINITIONS = [
|
|
|
139
140
|
export function registerAnalyticsHandlers(handlers) {
|
|
140
141
|
handlers.analytics_tests = async (args = {}) =>
|
|
141
142
|
this.asText(
|
|
142
|
-
slimList(await analyticsTests.call(this, args), {
|
|
143
|
+
slimList(await analyticsTests.call(this, { ...args, ...backendSlimQuery(args) }), {
|
|
143
144
|
verbose: args.verbose,
|
|
144
145
|
fields: args.fields,
|
|
145
146
|
entity: 'analytics_tests',
|
|
@@ -162,6 +163,7 @@ function analyticsTests({
|
|
|
162
163
|
threshold_ms: thresholdMs,
|
|
163
164
|
maturity_days: maturityDays,
|
|
164
165
|
run,
|
|
166
|
+
slim,
|
|
165
167
|
} = {}) {
|
|
166
168
|
return this.apiClient.list(`analytics/tests/${this.pickRequiredArg({ kind }, 'kind')}`, {
|
|
167
169
|
q,
|
|
@@ -176,6 +178,7 @@ function analyticsTests({
|
|
|
176
178
|
threshold_ms: thresholdMs,
|
|
177
179
|
maturity_days: maturityDays,
|
|
178
180
|
run,
|
|
181
|
+
slim,
|
|
179
182
|
});
|
|
180
183
|
}
|
|
181
184
|
|