@ancplua/qyl-api-schema 11.2.0 → 11.3.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.
|
@@ -1415,6 +1415,13 @@
|
|
|
1415
1415
|
"$ref": "#/$defs/Common.SessionId",
|
|
1416
1416
|
"description": "Session id of one CI run for a per-leg phase breakdown; omit to list recent runs."
|
|
1417
1417
|
},
|
|
1418
|
+
"service_prefix": {
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"minLength": 1,
|
|
1421
|
+
"maxLength": 256,
|
|
1422
|
+
"description": "Case-sensitive service-name prefix identifying CI telemetry in both run lists and phase breakdowns.",
|
|
1423
|
+
"default": "qyl-ci"
|
|
1424
|
+
},
|
|
1418
1425
|
"limit": {
|
|
1419
1426
|
"type": "integer",
|
|
1420
1427
|
"format": "int32",
|
|
@@ -1714,6 +1721,23 @@
|
|
|
1714
1721
|
"properties": {
|
|
1715
1722
|
"trace_id": {
|
|
1716
1723
|
"$ref": "#/$defs/Common.TraceId"
|
|
1724
|
+
},
|
|
1725
|
+
"errors_only": {
|
|
1726
|
+
"type": "boolean",
|
|
1727
|
+
"description": "Return only spans with error status; omitted or false includes all span statuses.",
|
|
1728
|
+
"default": false
|
|
1729
|
+
},
|
|
1730
|
+
"max_spans": {
|
|
1731
|
+
"type": "integer",
|
|
1732
|
+
"format": "int32",
|
|
1733
|
+
"minimum": 1,
|
|
1734
|
+
"maximum": 1000,
|
|
1735
|
+
"description": "Maximum spans to return after filtering; omit to keep all matching spans."
|
|
1736
|
+
},
|
|
1737
|
+
"include_attributes": {
|
|
1738
|
+
"type": "boolean",
|
|
1739
|
+
"description": "Include span, resource, event and link attributes; false omits those attribute collections.",
|
|
1740
|
+
"default": true
|
|
1717
1741
|
}
|
|
1718
1742
|
},
|
|
1719
1743
|
"unevaluatedProperties": {
|
|
@@ -14395,6 +14395,13 @@
|
|
|
14395
14395
|
"$ref": "#/components/schemas/Common.SessionId",
|
|
14396
14396
|
"description": "Session id of one CI run for a per-leg phase breakdown; omit to list recent runs."
|
|
14397
14397
|
},
|
|
14398
|
+
"service_prefix": {
|
|
14399
|
+
"type": "string",
|
|
14400
|
+
"minLength": 1,
|
|
14401
|
+
"maxLength": 256,
|
|
14402
|
+
"description": "Case-sensitive service-name prefix identifying CI telemetry in both run lists and phase breakdowns.",
|
|
14403
|
+
"default": "qyl-ci"
|
|
14404
|
+
},
|
|
14398
14405
|
"limit": {
|
|
14399
14406
|
"type": "integer",
|
|
14400
14407
|
"format": "int32",
|
|
@@ -14694,6 +14701,23 @@
|
|
|
14694
14701
|
"properties": {
|
|
14695
14702
|
"trace_id": {
|
|
14696
14703
|
"$ref": "#/components/schemas/Common.TraceId"
|
|
14704
|
+
},
|
|
14705
|
+
"errors_only": {
|
|
14706
|
+
"type": "boolean",
|
|
14707
|
+
"description": "Return only spans with error status; omitted or false includes all span statuses.",
|
|
14708
|
+
"default": false
|
|
14709
|
+
},
|
|
14710
|
+
"max_spans": {
|
|
14711
|
+
"type": "integer",
|
|
14712
|
+
"format": "int32",
|
|
14713
|
+
"minimum": 1,
|
|
14714
|
+
"maximum": 1000,
|
|
14715
|
+
"description": "Maximum spans to return after filtering; omit to keep all matching spans."
|
|
14716
|
+
},
|
|
14717
|
+
"include_attributes": {
|
|
14718
|
+
"type": "boolean",
|
|
14719
|
+
"description": "Include span, resource, event and link attributes; false omits those attribute collections.",
|
|
14720
|
+
"default": true
|
|
14697
14721
|
}
|
|
14698
14722
|
},
|
|
14699
14723
|
"unevaluatedProperties": {
|
|
@@ -1348,6 +1348,9 @@ export interface ListTracesOutput {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
export interface GetTraceInput {
|
|
1350
1350
|
"trace_id": TraceId;
|
|
1351
|
+
"errors_only"?: boolean;
|
|
1352
|
+
"max_spans"?: number;
|
|
1353
|
+
"include_attributes"?: boolean;
|
|
1351
1354
|
}
|
|
1352
1355
|
export interface GetTraceOutput {
|
|
1353
1356
|
"trace": Trace;
|
|
@@ -1374,6 +1377,7 @@ export interface SearchLogsOutput {
|
|
|
1374
1377
|
}
|
|
1375
1378
|
export interface CiLogInput {
|
|
1376
1379
|
"run_id"?: SessionId;
|
|
1380
|
+
"service_prefix"?: string;
|
|
1377
1381
|
"limit"?: number;
|
|
1378
1382
|
}
|
|
1379
1383
|
export interface CiRunSummary {
|
|
@@ -347,4 +347,4 @@ export const FetchTelemetryViewValues = {
|
|
|
347
347
|
};
|
|
348
348
|
// --- contract revision (scripts/emit-contract-revision.mjs) ---
|
|
349
349
|
/** Revision of the API contract these types were emitted from; compare against HealthReport.contract_revision. */
|
|
350
|
-
export const CONTRACT_REVISION = "sha256:
|
|
350
|
+
export const CONTRACT_REVISION = "sha256:382526f13652d18b";
|
package/models/mcp-tools.tsp
CHANGED
|
@@ -72,6 +72,20 @@ model ListTracesOutput {
|
|
|
72
72
|
model GetTraceInput {
|
|
73
73
|
@encodedName("application/json", "trace_id")
|
|
74
74
|
traceId: TraceId;
|
|
75
|
+
|
|
76
|
+
@doc("Return only spans with error status; omitted or false includes all span statuses.")
|
|
77
|
+
@encodedName("application/json", "errors_only")
|
|
78
|
+
errorsOnly?: boolean = false;
|
|
79
|
+
|
|
80
|
+
@doc("Maximum spans to return after filtering; omit to keep all matching spans.")
|
|
81
|
+
@encodedName("application/json", "max_spans")
|
|
82
|
+
@minValue(1)
|
|
83
|
+
@maxValue(1000)
|
|
84
|
+
maxSpans?: int32;
|
|
85
|
+
|
|
86
|
+
@doc("Include span, resource, event and link attributes; false omits those attribute collections.")
|
|
87
|
+
@encodedName("application/json", "include_attributes")
|
|
88
|
+
includeAttributes?: boolean = true;
|
|
75
89
|
}
|
|
76
90
|
|
|
77
91
|
@doc("Structured output for get_trace.")
|
|
@@ -130,6 +144,12 @@ model CiLogInput {
|
|
|
130
144
|
@encodedName("application/json", "run_id")
|
|
131
145
|
runId?: SessionId;
|
|
132
146
|
|
|
147
|
+
@doc("Case-sensitive service-name prefix identifying CI telemetry in both run lists and phase breakdowns.")
|
|
148
|
+
@encodedName("application/json", "service_prefix")
|
|
149
|
+
@minLength(1)
|
|
150
|
+
@maxLength(256)
|
|
151
|
+
servicePrefix?: string = "qyl-ci";
|
|
152
|
+
|
|
133
153
|
@doc("Maximum CI runs to list.")
|
|
134
154
|
@minValue(1)
|
|
135
155
|
@maxValue(50)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancplua/qyl-api-schema",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.3.1",
|
|
4
4
|
"description": "TypeSpec source of truth for qyl API contracts. Emits OpenAPI, JSON Schema, Qyl.Api.Contracts DTOs, and TypeScript contract types; not an OpenTelemetry package, storage schema, or server implementation.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"workspaces": [
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
"build:runtime": "tsc -p tsconfig.runtime.json"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
|
-
"@typespec/compiler": "
|
|
121
|
+
"@typespec/compiler": "~1.16.0",
|
|
122
122
|
"@typespec/events": "^0.86.0",
|
|
123
|
-
"@typespec/http": "
|
|
124
|
-
"@typespec/openapi": "
|
|
125
|
-
"@typespec/openapi3": "
|
|
123
|
+
"@typespec/http": "~1.16.0",
|
|
124
|
+
"@typespec/openapi": "~1.16.0",
|
|
125
|
+
"@typespec/openapi3": "~1.16.0",
|
|
126
126
|
"@typespec/sse": "^0.86.0",
|
|
127
127
|
"zod": ">=4.5.0 <5"
|
|
128
128
|
},
|