@ancplua/qyl-api-schema 1.0.4 → 1.0.5

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/api/runner.tsp CHANGED
@@ -130,54 +130,6 @@ namespace Qyl.Api.Contracts.Runner {
130
130
  | InternalServerError;
131
131
  }
132
132
 
133
- @route("/runner/mcp/{resource}")
134
- @tag("Runner MCP")
135
- interface RunnerMcpApi {
136
- @doc("Returns the MCP SDK-owned tools/list result without redefining its protocol body.")
137
- @get
138
- @route("/tools")
139
- listTools(@path resource: string):
140
- | unknown
141
- | ForbiddenError
142
- | NotFoundError
143
- | ConflictError
144
- | BadGatewayError
145
- | ServiceUnavailableError
146
- | InternalServerError;
147
-
148
- @doc("Accepts and returns MCP SDK-owned tools/call bodies without redefining the protocol DTOs.")
149
- @post
150
- @route("/tools/call")
151
- callTool(
152
- @path resource: string,
153
- @body request: unknown,
154
- ):
155
- | unknown
156
- | ValidationError
157
- | ForbiddenError
158
- | NotFoundError
159
- | ConflictError
160
- | BadGatewayError
161
- | ServiceUnavailableError
162
- | InternalServerError;
163
-
164
- @doc("Accepts and returns MCP SDK-owned resources/read bodies without redefining the protocol DTOs.")
165
- @post
166
- @route("/resources/read")
167
- readResource(
168
- @path resource: string,
169
- @body request: unknown,
170
- ):
171
- | unknown
172
- | ValidationError
173
- | ForbiddenError
174
- | NotFoundError
175
- | ConflictError
176
- | BadGatewayError
177
- | ServiceUnavailableError
178
- | InternalServerError;
179
- }
180
-
181
133
  @route("/runner/workspaces")
182
134
  @tag("Runner workspaces")
183
135
  @useAuth(RunnerMcpSessionCookieAuth)
@@ -4586,29 +4586,6 @@
4586
4586
  ],
4587
4587
  "description": "HTTP authentication scheme applied to an environment-resolved header secret."
4588
4588
  },
4589
- "Runner.Mcp.RunnerMcpInProcessServerConfiguration": {
4590
- "type": "object",
4591
- "required": [
4592
- "transport",
4593
- "implementation"
4594
- ],
4595
- "properties": {
4596
- "transport": {
4597
- "type": "string",
4598
- "enum": [
4599
- "inproc"
4600
- ]
4601
- },
4602
- "implementation": {
4603
- "type": "string",
4604
- "minLength": 1
4605
- }
4606
- },
4607
- "unevaluatedProperties": {
4608
- "not": {}
4609
- },
4610
- "description": "Sanitized in-process MCP server configuration."
4611
- },
4612
4589
  "Runner.Mcp.RunnerMcpInitializationSnapshot": {
4613
4590
  "type": "object",
4614
4591
  "required": [
@@ -4985,12 +4962,6 @@
4985
4962
  {
4986
4963
  "$ref": "#/$defs/Runner.Mcp.RunnerMcpStreamableHttpServerConfiguration"
4987
4964
  },
4988
- {
4989
- "$ref": "#/$defs/Runner.Mcp.RunnerMcpSseServerConfiguration"
4990
- },
4991
- {
4992
- "$ref": "#/$defs/Runner.Mcp.RunnerMcpInProcessServerConfiguration"
4993
- },
4994
4965
  {
4995
4966
  "$ref": "#/$defs/Runner.Mcp.RunnerMcpBuiltinServerConfiguration"
4996
4967
  }
@@ -5089,35 +5060,6 @@
5089
5060
  "maxLength": 128,
5090
5061
  "description": "Opaque identifier for one authenticated local runner session."
5091
5062
  },
5092
- "Runner.Mcp.RunnerMcpSseServerConfiguration": {
5093
- "type": "object",
5094
- "required": [
5095
- "transport",
5096
- "endpoint"
5097
- ],
5098
- "properties": {
5099
- "transport": {
5100
- "type": "string",
5101
- "enum": [
5102
- "sse"
5103
- ]
5104
- },
5105
- "endpoint": {
5106
- "type": "string",
5107
- "format": "uri"
5108
- },
5109
- "headers": {
5110
- "type": "array",
5111
- "items": {
5112
- "$ref": "#/$defs/Runner.Mcp.RunnerMcpHeaderSecretReference"
5113
- }
5114
- }
5115
- },
5116
- "unevaluatedProperties": {
5117
- "not": {}
5118
- },
5119
- "description": "Sanitized legacy MCP SSE transport configuration."
5120
- },
5121
5063
  "Runner.Mcp.RunnerMcpStatusAssertion": {
5122
5064
  "type": "object",
5123
5065
  "required": [
@@ -5713,8 +5655,6 @@
5713
5655
  "enum": [
5714
5656
  "stdio",
5715
5657
  "streamable_http",
5716
- "sse",
5717
- "inproc",
5718
5658
  "builtin"
5719
5659
  ],
5720
5660
  "description": "Supported MCP server transport owned by the local runner."
@@ -6139,71 +6079,6 @@
6139
6079
  "Operations.LogsApi_list.Response.500": {
6140
6080
  "$ref": "#/$defs/Common.Errors.InternalServerError"
6141
6081
  },
6142
- "Operations.RunnerMcpApi_callTool.Request": {},
6143
- "Operations.RunnerMcpApi_callTool.Response.200": {},
6144
- "Operations.RunnerMcpApi_callTool.Response.400": {
6145
- "$ref": "#/$defs/Common.Errors.ValidationError"
6146
- },
6147
- "Operations.RunnerMcpApi_callTool.Response.403": {
6148
- "$ref": "#/$defs/Common.Errors.ForbiddenError"
6149
- },
6150
- "Operations.RunnerMcpApi_callTool.Response.404": {
6151
- "$ref": "#/$defs/Common.Errors.NotFoundError"
6152
- },
6153
- "Operations.RunnerMcpApi_callTool.Response.409": {
6154
- "$ref": "#/$defs/Common.Errors.ConflictError"
6155
- },
6156
- "Operations.RunnerMcpApi_callTool.Response.500": {
6157
- "$ref": "#/$defs/Common.Errors.InternalServerError"
6158
- },
6159
- "Operations.RunnerMcpApi_callTool.Response.502": {
6160
- "$ref": "#/$defs/Common.Errors.BadGatewayError"
6161
- },
6162
- "Operations.RunnerMcpApi_callTool.Response.503": {
6163
- "$ref": "#/$defs/Common.Errors.ServiceUnavailableError"
6164
- },
6165
- "Operations.RunnerMcpApi_listTools.Response.200": {},
6166
- "Operations.RunnerMcpApi_listTools.Response.403": {
6167
- "$ref": "#/$defs/Common.Errors.ForbiddenError"
6168
- },
6169
- "Operations.RunnerMcpApi_listTools.Response.404": {
6170
- "$ref": "#/$defs/Common.Errors.NotFoundError"
6171
- },
6172
- "Operations.RunnerMcpApi_listTools.Response.409": {
6173
- "$ref": "#/$defs/Common.Errors.ConflictError"
6174
- },
6175
- "Operations.RunnerMcpApi_listTools.Response.500": {
6176
- "$ref": "#/$defs/Common.Errors.InternalServerError"
6177
- },
6178
- "Operations.RunnerMcpApi_listTools.Response.502": {
6179
- "$ref": "#/$defs/Common.Errors.BadGatewayError"
6180
- },
6181
- "Operations.RunnerMcpApi_listTools.Response.503": {
6182
- "$ref": "#/$defs/Common.Errors.ServiceUnavailableError"
6183
- },
6184
- "Operations.RunnerMcpApi_readResource.Request": {},
6185
- "Operations.RunnerMcpApi_readResource.Response.200": {},
6186
- "Operations.RunnerMcpApi_readResource.Response.400": {
6187
- "$ref": "#/$defs/Common.Errors.ValidationError"
6188
- },
6189
- "Operations.RunnerMcpApi_readResource.Response.403": {
6190
- "$ref": "#/$defs/Common.Errors.ForbiddenError"
6191
- },
6192
- "Operations.RunnerMcpApi_readResource.Response.404": {
6193
- "$ref": "#/$defs/Common.Errors.NotFoundError"
6194
- },
6195
- "Operations.RunnerMcpApi_readResource.Response.409": {
6196
- "$ref": "#/$defs/Common.Errors.ConflictError"
6197
- },
6198
- "Operations.RunnerMcpApi_readResource.Response.500": {
6199
- "$ref": "#/$defs/Common.Errors.InternalServerError"
6200
- },
6201
- "Operations.RunnerMcpApi_readResource.Response.502": {
6202
- "$ref": "#/$defs/Common.Errors.BadGatewayError"
6203
- },
6204
- "Operations.RunnerMcpApi_readResource.Response.503": {
6205
- "$ref": "#/$defs/Common.Errors.ServiceUnavailableError"
6206
- },
6207
6082
  "Operations.RunnerMcpEvaluationRunsApi_compare.Request": {
6208
6083
  "$ref": "#/$defs/Runner.Mcp.RunnerMcpEvaluationComparisonRequest"
6209
6084
  },