@ancplua/qyl-api-schema 0.5.14 → 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/routes.tsp +151 -50
- package/api/runner.tsp +711 -31
- package/generated/json-schema/qyl-api-schema.json +6761 -2704
- package/generated/openapi/qyl.openapi.json +17761 -4035
- package/generated/ts-runtime/api.d.ts +953 -143
- package/generated/ts-runtime/api.js +143 -20
- package/index.tsp +1 -0
- package/models/cost-etl-audit.tsp +592 -80
- package/models/runner-mcp.tsp +990 -141
- package/models/runner.tsp +7 -7
- package/otel/enums.tsp +0 -3
- package/otel/metrics.tsp +215 -0
- package/otel/otel-conventions.tsp +1 -0
- package/package.json +3 -2
|
@@ -75,7 +75,6 @@ export const MetricTypeValues = {
|
|
|
75
75
|
"summary": "summary",
|
|
76
76
|
};
|
|
77
77
|
export const AggregationTemporalityValues = {
|
|
78
|
-
"unspecified": 0,
|
|
79
78
|
"delta": 1,
|
|
80
79
|
"cumulative": 2,
|
|
81
80
|
};
|
|
@@ -226,18 +225,106 @@ export const RunnerLogStreamValues = {
|
|
|
226
225
|
"stdout": "out",
|
|
227
226
|
"stderr": "err",
|
|
228
227
|
};
|
|
229
|
-
export const
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
|
|
228
|
+
export const RunnerMcpToolInputModeValues = {
|
|
229
|
+
"form": "form",
|
|
230
|
+
"json": "json",
|
|
231
|
+
};
|
|
232
|
+
export const RunnerMcpHeaderSecretSchemeValues = {
|
|
233
|
+
"bearer": "bearer",
|
|
234
|
+
"basic": "basic",
|
|
235
|
+
};
|
|
236
|
+
export const RunnerMcpErrorCategoryValues = {
|
|
237
|
+
"authentication": "authentication",
|
|
238
|
+
"transport": "transport",
|
|
239
|
+
"protocol": "protocol",
|
|
240
|
+
"serialization": "serialization",
|
|
241
|
+
"schemaValidation": "schema_validation",
|
|
242
|
+
"toolError": "tool_error",
|
|
243
|
+
"timeout": "timeout",
|
|
244
|
+
"cancelled": "cancelled",
|
|
245
|
+
"internal": "internal",
|
|
246
|
+
};
|
|
247
|
+
export const RunnerMcpConnectionStatusValues = {
|
|
248
|
+
"disconnected": "disconnected",
|
|
249
|
+
"connecting": "connecting",
|
|
250
|
+
"connected": "connected",
|
|
251
|
+
"disconnecting": "disconnecting",
|
|
252
|
+
"reconnecting": "reconnecting",
|
|
253
|
+
"failed": "failed",
|
|
254
|
+
};
|
|
255
|
+
export const RunnerMcpProtocolDirectionValues = {
|
|
256
|
+
"clientToServer": "client_to_server",
|
|
257
|
+
"serverToClient": "server_to_client",
|
|
258
|
+
"local": "local",
|
|
259
|
+
};
|
|
260
|
+
export const RunnerMcpProtocolEventKindValues = {
|
|
261
|
+
"request": "request",
|
|
262
|
+
"response": "response",
|
|
263
|
+
"notification": "notification",
|
|
264
|
+
"error": "error",
|
|
265
|
+
"transport": "transport",
|
|
266
|
+
};
|
|
267
|
+
export const RunnerMcpExecutionEffectValues = {
|
|
268
|
+
"readOnly": "read_only",
|
|
269
|
+
"consequential": "consequential",
|
|
270
|
+
"unknown": "unknown",
|
|
271
|
+
};
|
|
272
|
+
export const RunnerMcpExecutionStatusValues = {
|
|
273
|
+
"queued": "queued",
|
|
274
|
+
"running": "running",
|
|
275
|
+
"cancelling": "cancelling",
|
|
276
|
+
"succeeded": "succeeded",
|
|
277
|
+
"failed": "failed",
|
|
278
|
+
"cancelled": "cancelled",
|
|
279
|
+
"timedOut": "timed_out",
|
|
280
|
+
};
|
|
281
|
+
export const RunnerMcpTelemetryAvailabilityValues = {
|
|
282
|
+
"available": "available",
|
|
283
|
+
"partial": "partial",
|
|
284
|
+
"unavailable": "unavailable",
|
|
233
285
|
};
|
|
234
|
-
export const
|
|
235
|
-
"
|
|
236
|
-
"
|
|
286
|
+
export const RunnerMcpAssertionStatusValues = {
|
|
287
|
+
"passed": "passed",
|
|
288
|
+
"failed": "failed",
|
|
289
|
+
"error": "error",
|
|
290
|
+
"skipped": "skipped",
|
|
291
|
+
};
|
|
292
|
+
export const RunnerMcpEvaluationResultStatusValues = {
|
|
293
|
+
"passed": "passed",
|
|
294
|
+
"failed": "failed",
|
|
295
|
+
"error": "error",
|
|
296
|
+
"skipped": "skipped",
|
|
297
|
+
};
|
|
298
|
+
export const RunnerMcpEvaluationRunStatusValues = {
|
|
299
|
+
"queued": "queued",
|
|
300
|
+
"running": "running",
|
|
237
301
|
"completed": "completed",
|
|
238
302
|
"failed": "failed",
|
|
239
303
|
"cancelled": "cancelled",
|
|
240
304
|
};
|
|
305
|
+
export const RunnerMcpRegressionStatusValues = {
|
|
306
|
+
"improved": "improved",
|
|
307
|
+
"regressed": "regressed",
|
|
308
|
+
"unchanged": "unchanged",
|
|
309
|
+
"added": "added",
|
|
310
|
+
"removed": "removed",
|
|
311
|
+
};
|
|
312
|
+
export const RunnerMcpEvaluationExportFormatValues = {
|
|
313
|
+
"json": "json",
|
|
314
|
+
"report": "report",
|
|
315
|
+
};
|
|
316
|
+
export const RunnerMcpEvaluationExportStatusValues = {
|
|
317
|
+
"pending": "pending",
|
|
318
|
+
"ready": "ready",
|
|
319
|
+
"failed": "failed",
|
|
320
|
+
};
|
|
321
|
+
export const RunnerMcpTransportKindValues = {
|
|
322
|
+
"stdio": "stdio",
|
|
323
|
+
"streamableHttp": "streamable_http",
|
|
324
|
+
"sse": "sse",
|
|
325
|
+
"inproc": "inproc",
|
|
326
|
+
"builtin": "builtin",
|
|
327
|
+
};
|
|
241
328
|
export const McpDataModeValues = {
|
|
242
329
|
"live": "live",
|
|
243
330
|
"demo": "demo",
|
|
@@ -248,24 +335,41 @@ export const FetchTelemetryViewValues = {
|
|
|
248
335
|
"logs": "logs",
|
|
249
336
|
"mcpStats": "mcp_stats",
|
|
250
337
|
};
|
|
251
|
-
export const
|
|
252
|
-
"actualBilledCost": "actual_billed_cost",
|
|
253
|
-
"officialPublicCatalog": "official_public_catalog",
|
|
254
|
-
};
|
|
255
|
-
export const ProviderCostSourceStatusValues = {
|
|
338
|
+
export const ProviderBillingSourceStatusValues = {
|
|
256
339
|
"unconfigured": "unconfigured",
|
|
257
340
|
"pending": "pending",
|
|
258
341
|
"current": "current",
|
|
259
342
|
"stale": "stale",
|
|
260
343
|
"syncFailed": "sync_failed",
|
|
261
|
-
"notAttributable": "not_attributable",
|
|
262
344
|
};
|
|
263
|
-
export const
|
|
345
|
+
export const ProviderBillingAttributionValues = {
|
|
264
346
|
"providerModelPeriod": "provider_model_period",
|
|
265
347
|
"providerPeriod": "provider_period",
|
|
266
|
-
"scenario": "scenario",
|
|
267
348
|
"unavailable": "unavailable",
|
|
268
349
|
};
|
|
350
|
+
export const ModelCatalogSourceStatusValues = {
|
|
351
|
+
"unconfigured": "unconfigured",
|
|
352
|
+
"pending": "pending",
|
|
353
|
+
"current": "current",
|
|
354
|
+
"stale": "stale",
|
|
355
|
+
"syncFailed": "sync_failed",
|
|
356
|
+
};
|
|
357
|
+
export const ModelCatalogPriceSemanticsValues = {
|
|
358
|
+
"minimumAvailableRate": "minimum_available_rate",
|
|
359
|
+
"publishedRate": "published_rate",
|
|
360
|
+
};
|
|
361
|
+
export const ModelCatalogObservedIdentityBasisValues = {
|
|
362
|
+
"responseModel": "response_model",
|
|
363
|
+
"requestModelFallback": "request_model_fallback",
|
|
364
|
+
};
|
|
365
|
+
export const ModelCatalogMatchKindValues = {
|
|
366
|
+
"exactModelId": "exact_model_id",
|
|
367
|
+
"exactCanonicalSlug": "exact_canonical_slug",
|
|
368
|
+
};
|
|
369
|
+
export const ModelCatalogBillingModeValues = {
|
|
370
|
+
"perUnit": "per_unit",
|
|
371
|
+
"perRequest": "per_request",
|
|
372
|
+
};
|
|
269
373
|
export const GenAiEtlPromotionGateKindValues = {
|
|
270
374
|
"contractStability": "contract_stability",
|
|
271
375
|
"offlineReplay": "offline_replay",
|
|
@@ -302,6 +406,10 @@ export const GenAiEtlTaskFamilyValues = {
|
|
|
302
406
|
"numericAnalytical": "numeric_analytical",
|
|
303
407
|
"unknown": "unknown",
|
|
304
408
|
};
|
|
409
|
+
export const GenAiEtlCandidateStatusValues = {
|
|
410
|
+
"hypothesisOnly": "hypothesis_only",
|
|
411
|
+
"insufficientEvidence": "insufficient_evidence",
|
|
412
|
+
};
|
|
305
413
|
export const GenAiEtlCandidatePathValues = {
|
|
306
414
|
"exactCache": "exact_cache",
|
|
307
415
|
"deterministicCode": "deterministic_code",
|
|
@@ -342,7 +450,7 @@ export const GenAiEtlEvidenceSignalValues = {
|
|
|
342
450
|
"outputContract": "output_contract",
|
|
343
451
|
"providerModel": "provider_model",
|
|
344
452
|
"tokenUsage": "token_usage",
|
|
345
|
-
"
|
|
453
|
+
"catalogTokenEstimate": "catalog_token_estimate",
|
|
346
454
|
"recurringSchema": "recurring_schema",
|
|
347
455
|
"boundedReference": "bounded_reference",
|
|
348
456
|
"taskMetric": "task_metric",
|
|
@@ -352,7 +460,22 @@ export const GenAiEtlEvidenceSignalValues = {
|
|
|
352
460
|
"shadowComparison": "shadow_comparison",
|
|
353
461
|
"fallbackPolicy": "fallback_policy",
|
|
354
462
|
};
|
|
355
|
-
export const
|
|
356
|
-
"
|
|
357
|
-
"
|
|
463
|
+
export const ModelCatalogRateRelationValues = {
|
|
464
|
+
"baseRate": "base_rate",
|
|
465
|
+
"additiveSurcharge": "additive_surcharge",
|
|
466
|
+
"replacesInclusiveBaseRate": "replaces_inclusive_base_rate",
|
|
467
|
+
"replacesPublishedRate": "replaces_published_rate",
|
|
468
|
+
};
|
|
469
|
+
export const ModelCatalogTokenExclusionReasonValues = {
|
|
470
|
+
"usageNotObserved": "usage_not_observed",
|
|
471
|
+
"conditionalAdjustmentNotApplied": "conditional_adjustment_not_applied",
|
|
472
|
+
"supersededByLaterOverride": "superseded_by_later_override",
|
|
473
|
+
"outsideTokenEstimateScope": "outside_token_estimate_scope",
|
|
474
|
+
"unsupportedUsageDimension": "unsupported_usage_dimension",
|
|
475
|
+
"unsupportedBillingMode": "unsupported_billing_mode",
|
|
476
|
+
};
|
|
477
|
+
export const GenAiEtlFrontierCostBasisValues = {
|
|
478
|
+
"scenario": "scenario",
|
|
479
|
+
"catalogTokenEstimate": "catalog_token_estimate",
|
|
480
|
+
"unavailable": "unavailable",
|
|
358
481
|
};
|