@ancplua/qyl-api-schema 0.5.15 → 0.6.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/api/runner.tsp +711 -31
- package/generated/json-schema/qyl-api-schema.json +2441 -402
- package/generated/openapi/qyl.openapi.json +16628 -5146
- package/generated/ts-runtime/api.d.ts +627 -109
- package/generated/ts-runtime/api.js +96 -8
- package/models/runner-mcp.tsp +990 -141
- package/models/runner.tsp +7 -7
- package/package.json +1 -1
package/models/runner.tsp
CHANGED
|
@@ -24,26 +24,26 @@ enum RunnerResourceKind {
|
|
|
24
24
|
inproc: "inproc",
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
@doc("Identity reported by a connected MCP server during initialization.")
|
|
28
|
-
model RunnerMcpServerInfo {
|
|
29
|
-
name: string;
|
|
30
|
-
version: string;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
27
|
@doc("Current client-visible state of one runner resource.")
|
|
34
28
|
model RunnerResourceState {
|
|
35
29
|
name: string;
|
|
36
30
|
lifecycle: RunnerResourceLifecycle;
|
|
37
31
|
timestamp: utcDateTime;
|
|
38
32
|
kind?: RunnerResourceKind;
|
|
33
|
+
|
|
39
34
|
@minValue(1)
|
|
40
35
|
@maxValue(65535)
|
|
41
36
|
allocatedPort?: int32;
|
|
37
|
+
|
|
42
38
|
endpoint?: url;
|
|
43
39
|
lastError?: string;
|
|
44
|
-
|
|
40
|
+
|
|
41
|
+
@doc("Opaque SDK server-info entity when this resource is an initialized MCP connection.")
|
|
42
|
+
serverIdentity?: unknown;
|
|
43
|
+
|
|
45
44
|
@minValue(0)
|
|
46
45
|
toolCount?: int32;
|
|
46
|
+
|
|
47
47
|
@minValue(0)
|
|
48
48
|
restarts?: int32;
|
|
49
49
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ancplua/qyl-api-schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
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
|
"repository": {
|