@ancplua/qyl-api-schema 7.0.0 → 7.1.0
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/generated/json-schema/qyl-api-schema.json +583 -0
- package/generated/openapi/qyl.openapi.json +583 -0
- package/generated/otel-keys.gen.tsp +5 -1
- package/generated/ts-runtime/api.d.ts +155 -0
- package/generated/ts-runtime/api.js +44 -1
- package/index.tsp +1 -0
- package/models/diagnostics.tsp +204 -0
- package/models/mcp-tools.tsp +97 -0
- package/package.json +6 -4
|
@@ -15913,6 +15913,376 @@
|
|
|
15913
15913
|
"maxLength": 256,
|
|
15914
15914
|
"description": "User identifier (pseudonymized for privacy)"
|
|
15915
15915
|
},
|
|
15916
|
+
"Diagnostics.AgentDiagnosticCheckId": {
|
|
15917
|
+
"type": "string",
|
|
15918
|
+
"minLength": 1,
|
|
15919
|
+
"maxLength": 128,
|
|
15920
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
15921
|
+
"description": "Stable machine identifier of one diagnostic check. This identifier is a value and must never be promoted to a telemetry key."
|
|
15922
|
+
},
|
|
15923
|
+
"Diagnostics.AgentDiagnosticCheckOutcome": {
|
|
15924
|
+
"type": "string",
|
|
15925
|
+
"enum": [
|
|
15926
|
+
"pass",
|
|
15927
|
+
"fail",
|
|
15928
|
+
"unknown"
|
|
15929
|
+
],
|
|
15930
|
+
"description": "Machine-computed result of one diagnostic check. For exists, an absent or null actual variable produces fail. For every other operator, missing required operands produce unknown; incompatible operand types also produce unknown. not_evaluated is deliberately not a check outcome."
|
|
15931
|
+
},
|
|
15932
|
+
"Diagnostics.AgentDiagnosticCheckResult": {
|
|
15933
|
+
"type": "object",
|
|
15934
|
+
"required": [
|
|
15935
|
+
"check_id",
|
|
15936
|
+
"operator",
|
|
15937
|
+
"actual",
|
|
15938
|
+
"outcome"
|
|
15939
|
+
],
|
|
15940
|
+
"properties": {
|
|
15941
|
+
"check_id": {
|
|
15942
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckId"
|
|
15943
|
+
},
|
|
15944
|
+
"operator": {
|
|
15945
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOperator"
|
|
15946
|
+
},
|
|
15947
|
+
"actual": {
|
|
15948
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
15949
|
+
},
|
|
15950
|
+
"expected": {
|
|
15951
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
15952
|
+
},
|
|
15953
|
+
"expected_type": {
|
|
15954
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
15955
|
+
},
|
|
15956
|
+
"outcome": {
|
|
15957
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckOutcome"
|
|
15958
|
+
}
|
|
15959
|
+
},
|
|
15960
|
+
"unevaluatedProperties": {
|
|
15961
|
+
"not": {}
|
|
15962
|
+
},
|
|
15963
|
+
"description": "One structural, machine-computed check result. actual and expected reference variable names only. For equal, not_equal, contains, less_than, and greater_than, expected is required and expected_type is omitted. For exists, both are omitted and an absent or null actual variable produces fail. For type_is, expected is omitted and expected_type is required. For operators other than exists, missing required operands produce unknown; incompatible operand types also produce unknown. not_evaluated is reserved for the snapshot aggregate when checks is empty and is not emitted for an individual check."
|
|
15964
|
+
},
|
|
15965
|
+
"Diagnostics.AgentDiagnosticClassification": {
|
|
15966
|
+
"type": "string",
|
|
15967
|
+
"enum": [
|
|
15968
|
+
"public",
|
|
15969
|
+
"internal",
|
|
15970
|
+
"sensitive",
|
|
15971
|
+
"secret"
|
|
15972
|
+
],
|
|
15973
|
+
"description": "Data-handling classification assigned before a diagnostic variable is captured."
|
|
15974
|
+
},
|
|
15975
|
+
"Diagnostics.AgentDiagnosticExtensionId": {
|
|
15976
|
+
"type": "string",
|
|
15977
|
+
"enum": [
|
|
15978
|
+
"qyl.agent.diagnostic.snapshot"
|
|
15979
|
+
],
|
|
15980
|
+
"description": "The versioned extension discriminator for a protected agent diagnostic snapshot."
|
|
15981
|
+
},
|
|
15982
|
+
"Diagnostics.AgentDiagnosticFormatVersion": {
|
|
15983
|
+
"type": "integer",
|
|
15984
|
+
"format": "int32",
|
|
15985
|
+
"minimum": 1,
|
|
15986
|
+
"maximum": 1,
|
|
15987
|
+
"description": "Wire-format version of an agent diagnostic snapshot. Version 1 is the only accepted format."
|
|
15988
|
+
},
|
|
15989
|
+
"Diagnostics.AgentDiagnosticOperator": {
|
|
15990
|
+
"type": "string",
|
|
15991
|
+
"enum": [
|
|
15992
|
+
"equal",
|
|
15993
|
+
"not_equal",
|
|
15994
|
+
"exists",
|
|
15995
|
+
"type_is",
|
|
15996
|
+
"contains",
|
|
15997
|
+
"less_than",
|
|
15998
|
+
"greater_than"
|
|
15999
|
+
],
|
|
16000
|
+
"description": "Closed operation evaluated by a diagnostic check. Checks are structural and never carry expression strings."
|
|
16001
|
+
},
|
|
16002
|
+
"Diagnostics.AgentDiagnosticOutcome": {
|
|
16003
|
+
"type": "string",
|
|
16004
|
+
"enum": [
|
|
16005
|
+
"pass",
|
|
16006
|
+
"fail",
|
|
16007
|
+
"unknown",
|
|
16008
|
+
"not_evaluated"
|
|
16009
|
+
],
|
|
16010
|
+
"description": "Machine-computed aggregate result of a diagnostic snapshot. unknown reports one or more unknown check outcomes. not_evaluated is reserved for a snapshot whose checks array is empty."
|
|
16011
|
+
},
|
|
16012
|
+
"Diagnostics.AgentDiagnosticPhase": {
|
|
16013
|
+
"type": "string",
|
|
16014
|
+
"enum": [
|
|
16015
|
+
"input",
|
|
16016
|
+
"output",
|
|
16017
|
+
"error",
|
|
16018
|
+
"checkpoint"
|
|
16019
|
+
],
|
|
16020
|
+
"description": "Execution boundary at which the state frame was captured."
|
|
16021
|
+
},
|
|
16022
|
+
"Diagnostics.AgentDiagnosticProbeId": {
|
|
16023
|
+
"type": "string",
|
|
16024
|
+
"minLength": 1,
|
|
16025
|
+
"maxLength": 128,
|
|
16026
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16027
|
+
"description": "Stable machine identifier of the probe that captured a diagnostic snapshot. This identifier is a value and must never be promoted to a telemetry key."
|
|
16028
|
+
},
|
|
16029
|
+
"Diagnostics.AgentDiagnosticSnapshot": {
|
|
16030
|
+
"type": "object",
|
|
16031
|
+
"required": [
|
|
16032
|
+
"extension_id",
|
|
16033
|
+
"format_version",
|
|
16034
|
+
"snapshot_id",
|
|
16035
|
+
"capture_nonce",
|
|
16036
|
+
"probe_id",
|
|
16037
|
+
"phase",
|
|
16038
|
+
"variables",
|
|
16039
|
+
"checks",
|
|
16040
|
+
"outcome"
|
|
16041
|
+
],
|
|
16042
|
+
"properties": {
|
|
16043
|
+
"extension_id": {
|
|
16044
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticExtensionId"
|
|
16045
|
+
},
|
|
16046
|
+
"format_version": {
|
|
16047
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticFormatVersion"
|
|
16048
|
+
},
|
|
16049
|
+
"snapshot_id": {
|
|
16050
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
16051
|
+
},
|
|
16052
|
+
"capture_nonce": {
|
|
16053
|
+
"type": "string",
|
|
16054
|
+
"minLength": 32,
|
|
16055
|
+
"maxLength": 32,
|
|
16056
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
16057
|
+
"description": "Fresh 128-bit random nonce encoded as exactly 32 lowercase hexadecimal characters. It prevents equality inference across otherwise identical protected captures and must not be used as an identity key."
|
|
16058
|
+
},
|
|
16059
|
+
"probe_id": {
|
|
16060
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
16061
|
+
},
|
|
16062
|
+
"phase": {
|
|
16063
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
16064
|
+
},
|
|
16065
|
+
"variables": {
|
|
16066
|
+
"type": "array",
|
|
16067
|
+
"items": {
|
|
16068
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariable"
|
|
16069
|
+
},
|
|
16070
|
+
"maxItems": 64
|
|
16071
|
+
},
|
|
16072
|
+
"checks": {
|
|
16073
|
+
"type": "array",
|
|
16074
|
+
"items": {
|
|
16075
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckResult"
|
|
16076
|
+
},
|
|
16077
|
+
"maxItems": 64
|
|
16078
|
+
},
|
|
16079
|
+
"outcome": {
|
|
16080
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOutcome"
|
|
16081
|
+
}
|
|
16082
|
+
},
|
|
16083
|
+
"unevaluatedProperties": {
|
|
16084
|
+
"not": {}
|
|
16085
|
+
},
|
|
16086
|
+
"description": "Version 1 protected JSON state frame captured for an artificial-intelligence agent. extension_id and format_version are its schema identity. capture_nonce is fresh entropy and is not a stable identifier. Variables and checks are bounded, dynamic names remain values, and no human-oriented message or expression text is part of the contract. Overall outcome is not_evaluated only when checks is empty. For a non-empty checks array it is fail if any check fails, otherwise unknown if any check is unknown, otherwise pass."
|
|
16087
|
+
},
|
|
16088
|
+
"Diagnostics.AgentDiagnosticSnapshotId": {
|
|
16089
|
+
"type": "string",
|
|
16090
|
+
"minLength": 1,
|
|
16091
|
+
"maxLength": 128,
|
|
16092
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16093
|
+
"description": "Stable machine identifier of one diagnostic snapshot. This identifier is a value and must never be promoted to a telemetry key."
|
|
16094
|
+
},
|
|
16095
|
+
"Diagnostics.AgentDiagnosticSnapshotSummary": {
|
|
16096
|
+
"type": "object",
|
|
16097
|
+
"required": [
|
|
16098
|
+
"extension_id",
|
|
16099
|
+
"format_version",
|
|
16100
|
+
"snapshot_id",
|
|
16101
|
+
"probe_id",
|
|
16102
|
+
"phase",
|
|
16103
|
+
"outcome",
|
|
16104
|
+
"variable_count",
|
|
16105
|
+
"check_count",
|
|
16106
|
+
"failed_check_count",
|
|
16107
|
+
"content_ref"
|
|
16108
|
+
],
|
|
16109
|
+
"properties": {
|
|
16110
|
+
"extension_id": {
|
|
16111
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticExtensionId"
|
|
16112
|
+
},
|
|
16113
|
+
"format_version": {
|
|
16114
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticFormatVersion"
|
|
16115
|
+
},
|
|
16116
|
+
"snapshot_id": {
|
|
16117
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
16118
|
+
},
|
|
16119
|
+
"probe_id": {
|
|
16120
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
16121
|
+
},
|
|
16122
|
+
"phase": {
|
|
16123
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
16124
|
+
},
|
|
16125
|
+
"outcome": {
|
|
16126
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOutcome"
|
|
16127
|
+
},
|
|
16128
|
+
"variable_count": {
|
|
16129
|
+
"type": "integer",
|
|
16130
|
+
"format": "int32",
|
|
16131
|
+
"minimum": 0,
|
|
16132
|
+
"maximum": 64
|
|
16133
|
+
},
|
|
16134
|
+
"check_count": {
|
|
16135
|
+
"type": "integer",
|
|
16136
|
+
"format": "int32",
|
|
16137
|
+
"minimum": 0,
|
|
16138
|
+
"maximum": 64
|
|
16139
|
+
},
|
|
16140
|
+
"failed_check_count": {
|
|
16141
|
+
"type": "integer",
|
|
16142
|
+
"format": "int32",
|
|
16143
|
+
"minimum": 0,
|
|
16144
|
+
"maximum": 64
|
|
16145
|
+
},
|
|
16146
|
+
"content_ref": {
|
|
16147
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContentRef"
|
|
16148
|
+
}
|
|
16149
|
+
},
|
|
16150
|
+
"unevaluatedProperties": {
|
|
16151
|
+
"not": {}
|
|
16152
|
+
},
|
|
16153
|
+
"description": "Value-free event-data projection for a protected agent diagnostic snapshot. Encode this shape in WorkflowEventAppend.data on the existing content_captured event kind. content_ref must also occur in that event's content_refs and identifies UTF-8 JSON conforming to AgentDiagnosticSnapshot. Counts are computed from the referenced snapshot; failed_check_count counts checks whose outcome is fail. No variable names, values, human messages, expressions, nonce, or classifications may appear in this summary."
|
|
16154
|
+
},
|
|
16155
|
+
"Diagnostics.AgentDiagnosticValueType": {
|
|
16156
|
+
"type": "string",
|
|
16157
|
+
"enum": [
|
|
16158
|
+
"null",
|
|
16159
|
+
"boolean",
|
|
16160
|
+
"integer",
|
|
16161
|
+
"number",
|
|
16162
|
+
"string",
|
|
16163
|
+
"json"
|
|
16164
|
+
],
|
|
16165
|
+
"description": "Declared JSON-level type of a diagnostic variable."
|
|
16166
|
+
},
|
|
16167
|
+
"Diagnostics.AgentDiagnosticVariable": {
|
|
16168
|
+
"anyOf": [
|
|
16169
|
+
{
|
|
16170
|
+
"$ref": "#/components/schemas/Diagnostics.CapturedAgentDiagnosticVariable"
|
|
16171
|
+
},
|
|
16172
|
+
{
|
|
16173
|
+
"$ref": "#/components/schemas/Diagnostics.RedactedAgentDiagnosticVariable"
|
|
16174
|
+
},
|
|
16175
|
+
{
|
|
16176
|
+
"$ref": "#/components/schemas/Diagnostics.OmittedAgentDiagnosticVariable"
|
|
16177
|
+
}
|
|
16178
|
+
],
|
|
16179
|
+
"description": "One dynamically named variable in a protected diagnostic snapshot. Capture is the discriminator and makes value presence unambiguous."
|
|
16180
|
+
},
|
|
16181
|
+
"Diagnostics.AgentDiagnosticVariableBase": {
|
|
16182
|
+
"type": "object",
|
|
16183
|
+
"required": [
|
|
16184
|
+
"name",
|
|
16185
|
+
"type",
|
|
16186
|
+
"classification"
|
|
16187
|
+
],
|
|
16188
|
+
"properties": {
|
|
16189
|
+
"name": {
|
|
16190
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
16191
|
+
},
|
|
16192
|
+
"type": {
|
|
16193
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
16194
|
+
},
|
|
16195
|
+
"classification": {
|
|
16196
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticClassification"
|
|
16197
|
+
}
|
|
16198
|
+
},
|
|
16199
|
+
"description": "Common identity and policy fields for one dynamic diagnostic variable."
|
|
16200
|
+
},
|
|
16201
|
+
"Diagnostics.AgentDiagnosticVariableName": {
|
|
16202
|
+
"type": "string",
|
|
16203
|
+
"minLength": 1,
|
|
16204
|
+
"maxLength": 128,
|
|
16205
|
+
"pattern": "^[A-Za-z0-9_][A-Za-z0-9._:/\\[\\]-]{0,127}$",
|
|
16206
|
+
"description": "Stable machine name of one dynamically captured variable. Names are data values, never telemetry attribute keys, event names, or span names."
|
|
16207
|
+
},
|
|
16208
|
+
"Diagnostics.CapturedAgentDiagnosticVariable": {
|
|
16209
|
+
"type": "object",
|
|
16210
|
+
"required": [
|
|
16211
|
+
"capture",
|
|
16212
|
+
"value"
|
|
16213
|
+
],
|
|
16214
|
+
"properties": {
|
|
16215
|
+
"capture": {
|
|
16216
|
+
"type": "string",
|
|
16217
|
+
"enum": [
|
|
16218
|
+
"value"
|
|
16219
|
+
]
|
|
16220
|
+
},
|
|
16221
|
+
"value": {
|
|
16222
|
+
"anyOf": [
|
|
16223
|
+
{},
|
|
16224
|
+
{
|
|
16225
|
+
"type": "null"
|
|
16226
|
+
}
|
|
16227
|
+
]
|
|
16228
|
+
}
|
|
16229
|
+
},
|
|
16230
|
+
"unevaluatedProperties": {
|
|
16231
|
+
"not": {}
|
|
16232
|
+
},
|
|
16233
|
+
"allOf": [
|
|
16234
|
+
{
|
|
16235
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16236
|
+
}
|
|
16237
|
+
],
|
|
16238
|
+
"description": "A variable whose typed JSON value is present in protected snapshot content. The value is required and must match type: null is JSON null; boolean is a JSON boolean; integer is a signed 64-bit JSON integer; number is a finite JSON number; string is a JSON string; json is a JSON object or array. The protected content boundary, not this model, controls access to all captured values."
|
|
16239
|
+
},
|
|
16240
|
+
"Diagnostics.OmittedAgentDiagnosticVariable": {
|
|
16241
|
+
"type": "object",
|
|
16242
|
+
"required": [
|
|
16243
|
+
"capture"
|
|
16244
|
+
],
|
|
16245
|
+
"properties": {
|
|
16246
|
+
"capture": {
|
|
16247
|
+
"type": "string",
|
|
16248
|
+
"enum": [
|
|
16249
|
+
"omitted"
|
|
16250
|
+
]
|
|
16251
|
+
}
|
|
16252
|
+
},
|
|
16253
|
+
"unevaluatedProperties": {
|
|
16254
|
+
"not": {}
|
|
16255
|
+
},
|
|
16256
|
+
"allOf": [
|
|
16257
|
+
{
|
|
16258
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16259
|
+
}
|
|
16260
|
+
],
|
|
16261
|
+
"description": "A variable whose value was unavailable or deliberately not captured. A value field is forbidden."
|
|
16262
|
+
},
|
|
16263
|
+
"Diagnostics.RedactedAgentDiagnosticVariable": {
|
|
16264
|
+
"type": "object",
|
|
16265
|
+
"required": [
|
|
16266
|
+
"capture"
|
|
16267
|
+
],
|
|
16268
|
+
"properties": {
|
|
16269
|
+
"capture": {
|
|
16270
|
+
"type": "string",
|
|
16271
|
+
"enum": [
|
|
16272
|
+
"redacted"
|
|
16273
|
+
]
|
|
16274
|
+
}
|
|
16275
|
+
},
|
|
16276
|
+
"unevaluatedProperties": {
|
|
16277
|
+
"not": {}
|
|
16278
|
+
},
|
|
16279
|
+
"allOf": [
|
|
16280
|
+
{
|
|
16281
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableBase"
|
|
16282
|
+
}
|
|
16283
|
+
],
|
|
16284
|
+
"description": "A variable observed by the probe whose value was replaced by policy. A value field is forbidden."
|
|
16285
|
+
},
|
|
15916
16286
|
"Domains.Observe.Session.DeviceType": {
|
|
15917
16287
|
"type": "string",
|
|
15918
16288
|
"enum": [
|
|
@@ -16783,6 +17153,42 @@
|
|
|
16783
17153
|
},
|
|
16784
17154
|
"description": "Structured output for the app-only fetch_workflow_graph_updates tool."
|
|
16785
17155
|
},
|
|
17156
|
+
"Mcp.Tools.GetActiveWorkflowRunInput": {
|
|
17157
|
+
"type": "object",
|
|
17158
|
+
"unevaluatedProperties": {
|
|
17159
|
+
"not": {}
|
|
17160
|
+
},
|
|
17161
|
+
"description": "Input for get_active_workflow_run."
|
|
17162
|
+
},
|
|
17163
|
+
"Mcp.Tools.GetActiveWorkflowRunOutput": {
|
|
17164
|
+
"type": "object",
|
|
17165
|
+
"required": [
|
|
17166
|
+
"active",
|
|
17167
|
+
"live_controls_available"
|
|
17168
|
+
],
|
|
17169
|
+
"properties": {
|
|
17170
|
+
"active": {
|
|
17171
|
+
"type": "boolean"
|
|
17172
|
+
},
|
|
17173
|
+
"live_controls_available": {
|
|
17174
|
+
"type": "boolean"
|
|
17175
|
+
},
|
|
17176
|
+
"run_id": {
|
|
17177
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
17178
|
+
},
|
|
17179
|
+
"thread_id": {
|
|
17180
|
+
"type": "string"
|
|
17181
|
+
},
|
|
17182
|
+
"started_at": {
|
|
17183
|
+
"type": "string",
|
|
17184
|
+
"format": "date-time"
|
|
17185
|
+
}
|
|
17186
|
+
},
|
|
17187
|
+
"unevaluatedProperties": {
|
|
17188
|
+
"not": {}
|
|
17189
|
+
},
|
|
17190
|
+
"description": "Structured output for get_active_workflow_run."
|
|
17191
|
+
},
|
|
16786
17192
|
"Mcp.Tools.GetTraceInput": {
|
|
16787
17193
|
"type": "object",
|
|
16788
17194
|
"required": [
|
|
@@ -16873,6 +17279,58 @@
|
|
|
16873
17279
|
},
|
|
16874
17280
|
"description": "Structured output for get_workflow_graph."
|
|
16875
17281
|
},
|
|
17282
|
+
"Mcp.Tools.InspectWorkflowEventsInput": {
|
|
17283
|
+
"type": "object",
|
|
17284
|
+
"required": [
|
|
17285
|
+
"run_id",
|
|
17286
|
+
"after_sequence"
|
|
17287
|
+
],
|
|
17288
|
+
"properties": {
|
|
17289
|
+
"run_id": {
|
|
17290
|
+
"$ref": "#/components/schemas/Workflow.WorkflowRunId"
|
|
17291
|
+
},
|
|
17292
|
+
"after_sequence": {
|
|
17293
|
+
"$ref": "#/components/schemas/Workflow.WorkflowJournalPosition"
|
|
17294
|
+
},
|
|
17295
|
+
"limit": {
|
|
17296
|
+
"type": "integer",
|
|
17297
|
+
"format": "int32",
|
|
17298
|
+
"minimum": 1,
|
|
17299
|
+
"maximum": 1000,
|
|
17300
|
+
"default": 250
|
|
17301
|
+
},
|
|
17302
|
+
"content_ref": {
|
|
17303
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContentRef",
|
|
17304
|
+
"description": "Optional captured payload to retrieve lazily for the selected run."
|
|
17305
|
+
}
|
|
17306
|
+
},
|
|
17307
|
+
"unevaluatedProperties": {
|
|
17308
|
+
"not": {}
|
|
17309
|
+
},
|
|
17310
|
+
"description": "Input for inspect_workflow_events."
|
|
17311
|
+
},
|
|
17312
|
+
"Mcp.Tools.InspectWorkflowEventsOutput": {
|
|
17313
|
+
"type": "object",
|
|
17314
|
+
"required": [
|
|
17315
|
+
"page",
|
|
17316
|
+
"mode"
|
|
17317
|
+
],
|
|
17318
|
+
"properties": {
|
|
17319
|
+
"page": {
|
|
17320
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEventPage"
|
|
17321
|
+
},
|
|
17322
|
+
"content": {
|
|
17323
|
+
"$ref": "#/components/schemas/Workflow.WorkflowContent"
|
|
17324
|
+
},
|
|
17325
|
+
"mode": {
|
|
17326
|
+
"$ref": "#/components/schemas/Mcp.Tools.McpDataMode"
|
|
17327
|
+
}
|
|
17328
|
+
},
|
|
17329
|
+
"unevaluatedProperties": {
|
|
17330
|
+
"not": {}
|
|
17331
|
+
},
|
|
17332
|
+
"description": "Structured output for inspect_workflow_events."
|
|
17333
|
+
},
|
|
16876
17334
|
"Mcp.Tools.ListSessionsInput": {
|
|
16877
17335
|
"type": "object",
|
|
16878
17336
|
"properties": {
|
|
@@ -17226,6 +17684,131 @@
|
|
|
17226
17684
|
"not": {}
|
|
17227
17685
|
}
|
|
17228
17686
|
},
|
|
17687
|
+
"Mcp.Tools.RecordDiagnosticSnapshotCheckInput": {
|
|
17688
|
+
"type": "object",
|
|
17689
|
+
"required": [
|
|
17690
|
+
"check_id",
|
|
17691
|
+
"operator",
|
|
17692
|
+
"actual"
|
|
17693
|
+
],
|
|
17694
|
+
"properties": {
|
|
17695
|
+
"check_id": {
|
|
17696
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticCheckId"
|
|
17697
|
+
},
|
|
17698
|
+
"operator": {
|
|
17699
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticOperator"
|
|
17700
|
+
},
|
|
17701
|
+
"actual": {
|
|
17702
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
17703
|
+
},
|
|
17704
|
+
"expected": {
|
|
17705
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
17706
|
+
},
|
|
17707
|
+
"expected_type": {
|
|
17708
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticValueType"
|
|
17709
|
+
}
|
|
17710
|
+
},
|
|
17711
|
+
"unevaluatedProperties": {
|
|
17712
|
+
"not": {}
|
|
17713
|
+
},
|
|
17714
|
+
"description": "One structural diagnostic check submitted for evaluation. equal, not_equal, contains, less_than, and greater_than require expected and forbid expected_type; type_is requires expected_type and forbids expected; exists forbids both."
|
|
17715
|
+
},
|
|
17716
|
+
"Mcp.Tools.RecordDiagnosticSnapshotInput": {
|
|
17717
|
+
"type": "object",
|
|
17718
|
+
"required": [
|
|
17719
|
+
"snapshot_id",
|
|
17720
|
+
"probe_id",
|
|
17721
|
+
"phase",
|
|
17722
|
+
"variables"
|
|
17723
|
+
],
|
|
17724
|
+
"properties": {
|
|
17725
|
+
"snapshot_id": {
|
|
17726
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
17727
|
+
},
|
|
17728
|
+
"probe_id": {
|
|
17729
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticProbeId"
|
|
17730
|
+
},
|
|
17731
|
+
"phase": {
|
|
17732
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticPhase"
|
|
17733
|
+
},
|
|
17734
|
+
"variables": {
|
|
17735
|
+
"type": "array",
|
|
17736
|
+
"items": {
|
|
17737
|
+
"$ref": "#/components/schemas/Mcp.Tools.RecordDiagnosticSnapshotVariableInput"
|
|
17738
|
+
},
|
|
17739
|
+
"maxItems": 64
|
|
17740
|
+
},
|
|
17741
|
+
"checks": {
|
|
17742
|
+
"type": "array",
|
|
17743
|
+
"items": {
|
|
17744
|
+
"$ref": "#/components/schemas/Mcp.Tools.RecordDiagnosticSnapshotCheckInput"
|
|
17745
|
+
},
|
|
17746
|
+
"maxItems": 64,
|
|
17747
|
+
"default": []
|
|
17748
|
+
}
|
|
17749
|
+
},
|
|
17750
|
+
"unevaluatedProperties": {
|
|
17751
|
+
"not": {}
|
|
17752
|
+
},
|
|
17753
|
+
"description": "Input for record_diagnostic_snapshot. Reuse the same snapshot_id and semantic payload when retrying; changing the payload under an existing snapshot_id is a conflict."
|
|
17754
|
+
},
|
|
17755
|
+
"Mcp.Tools.RecordDiagnosticSnapshotOutput": {
|
|
17756
|
+
"type": "object",
|
|
17757
|
+
"required": [
|
|
17758
|
+
"recorded",
|
|
17759
|
+
"code",
|
|
17760
|
+
"snapshot_id"
|
|
17761
|
+
],
|
|
17762
|
+
"properties": {
|
|
17763
|
+
"recorded": {
|
|
17764
|
+
"type": "boolean"
|
|
17765
|
+
},
|
|
17766
|
+
"code": {
|
|
17767
|
+
"type": "string"
|
|
17768
|
+
},
|
|
17769
|
+
"snapshot_id": {
|
|
17770
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticSnapshotId"
|
|
17771
|
+
},
|
|
17772
|
+
"event_id": {
|
|
17773
|
+
"$ref": "#/components/schemas/Workflow.WorkflowEventId"
|
|
17774
|
+
},
|
|
17775
|
+
"field": {
|
|
17776
|
+
"type": "string"
|
|
17777
|
+
}
|
|
17778
|
+
},
|
|
17779
|
+
"unevaluatedProperties": {
|
|
17780
|
+
"not": {}
|
|
17781
|
+
},
|
|
17782
|
+
"description": "Structured output for record_diagnostic_snapshot."
|
|
17783
|
+
},
|
|
17784
|
+
"Mcp.Tools.RecordDiagnosticSnapshotVariableInput": {
|
|
17785
|
+
"type": "object",
|
|
17786
|
+
"required": [
|
|
17787
|
+
"name",
|
|
17788
|
+
"classification",
|
|
17789
|
+
"value"
|
|
17790
|
+
],
|
|
17791
|
+
"properties": {
|
|
17792
|
+
"name": {
|
|
17793
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticVariableName"
|
|
17794
|
+
},
|
|
17795
|
+
"classification": {
|
|
17796
|
+
"$ref": "#/components/schemas/Diagnostics.AgentDiagnosticClassification"
|
|
17797
|
+
},
|
|
17798
|
+
"value": {
|
|
17799
|
+
"anyOf": [
|
|
17800
|
+
{},
|
|
17801
|
+
{
|
|
17802
|
+
"type": "null"
|
|
17803
|
+
}
|
|
17804
|
+
]
|
|
17805
|
+
}
|
|
17806
|
+
},
|
|
17807
|
+
"unevaluatedProperties": {
|
|
17808
|
+
"not": {}
|
|
17809
|
+
},
|
|
17810
|
+
"description": "One dynamically named JSON value submitted for protected diagnostic capture. Classification is applied before the frame leaves the observer bridge."
|
|
17811
|
+
},
|
|
17229
17812
|
"Mcp.Tools.SearchLogsInput": {
|
|
17230
17813
|
"type": "object",
|
|
17231
17814
|
"properties": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// <auto-generated/>
|
|
2
2
|
// Generated by qyl's Weaver pipeline (emit_typespec_keys.py) from:
|
|
3
3
|
// open-telemetry/semantic-conventions v1.43.0 (89aae438b3b3b0a8dd33003c9d70592baf7dbd0d)
|
|
4
|
-
// open-telemetry/semantic-conventions-genai
|
|
4
|
+
// open-telemetry/semantic-conventions-genai f77b9235f2ad49fe95b61e9809ca82bb08ef9d47 (f77b9235f2ad49fe95b61e9809ca82bb08ef9d47)
|
|
5
5
|
// Schema: https://opentelemetry.io/schemas/1.43.0
|
|
6
6
|
// GenAI schema: https://opentelemetry.io/schemas/gen-ai-dev/1.42.0-dev
|
|
7
7
|
// Licensed under Apache-2.0 (inherited from OpenTelemetry upstream)
|
|
@@ -891,6 +891,8 @@ namespace Qyl.Telemetry.SemanticConventions.Keys.GenAi {
|
|
|
891
891
|
const RequestStopSequences: string = "gen_ai.request.stop_sequences";
|
|
892
892
|
/** Indicates whether the GenAI request was made in streaming mode. */
|
|
893
893
|
const RequestStream: string = "gen_ai.request.stream";
|
|
894
|
+
/** The cursor identifying the last streamed event already received, used to resume a streamed response from that position. */
|
|
895
|
+
const RequestStreamCursor: string = "gen_ai.request.stream_cursor";
|
|
894
896
|
/** The temperature setting for the GenAI request. */
|
|
895
897
|
const RequestTemperature: string = "gen_ai.request.temperature";
|
|
896
898
|
/** The top-K sampling setting for the GenAI request: restricts token generation at each step to the K most likely next tokens. */
|
|
@@ -903,6 +905,8 @@ namespace Qyl.Telemetry.SemanticConventions.Keys.GenAi {
|
|
|
903
905
|
const ResponseId: string = "gen_ai.response.id";
|
|
904
906
|
/** The name of the model that generated the response. */
|
|
905
907
|
const ResponseModel: string = "gen_ai.response.model";
|
|
908
|
+
/** The lifecycle status of a generated response, as reported by the provider when the response is fetched or polled. */
|
|
909
|
+
const ResponseStatus: string = "gen_ai.response.status";
|
|
906
910
|
/** Time to first chunk in a streaming response, measured from request issuance, in seconds. The value is measured from when the client issues the generation request to when the first chunk is received in the response stream. */
|
|
907
911
|
const ResponseTimeToFirstChunk: string = "gen_ai.response.time_to_first_chunk";
|
|
908
912
|
/** The documents retrieved. */
|