@ancplua/qyl-api-schema 0.5.15 → 0.6.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/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
- serverInfo?: RunnerMcpServerInfo;
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/otel/logs.tsp CHANGED
@@ -61,6 +61,10 @@ model LogRecord {
61
61
  @encodedName("application/json", "span_id")
62
62
  spanId?: SpanId;
63
63
 
64
+ @doc("Fully qualified category identifying this log record as an event")
65
+ @encodedName("application/json", "event_name")
66
+ eventName?: string;
67
+
64
68
  @doc("Resource describing the entity that produced this log")
65
69
  resource: Qyl.Api.Contracts.OTel.Resource.Resource;
66
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ancplua/qyl-api-schema",
3
- "version": "0.5.15",
3
+ "version": "0.6.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
  "repository": {