@miradorlabs/web-grpc 4.0.0 → 4.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.
@@ -351,6 +351,28 @@ function deserialize_gateway_web_v1_ListModelPricesResponse(buffer_arg) {
351
351
  return proto_gateway_web_v1_ai_gateway_pb.ListModelPricesResponse.deserializeBinary(new Uint8Array(buffer_arg));
352
352
  }
353
353
 
354
+ function serialize_gateway_web_v1_ListModelReasoningRequest(arg) {
355
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningRequest)) {
356
+ throw new Error('Expected argument of type gateway.web.v1.ListModelReasoningRequest');
357
+ }
358
+ return Buffer.from(arg.serializeBinary());
359
+ }
360
+
361
+ function deserialize_gateway_web_v1_ListModelReasoningRequest(buffer_arg) {
362
+ return proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningRequest.deserializeBinary(new Uint8Array(buffer_arg));
363
+ }
364
+
365
+ function serialize_gateway_web_v1_ListModelReasoningResponse(arg) {
366
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningResponse)) {
367
+ throw new Error('Expected argument of type gateway.web.v1.ListModelReasoningResponse');
368
+ }
369
+ return Buffer.from(arg.serializeBinary());
370
+ }
371
+
372
+ function deserialize_gateway_web_v1_ListModelReasoningResponse(buffer_arg) {
373
+ return proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningResponse.deserializeBinary(new Uint8Array(buffer_arg));
374
+ }
375
+
354
376
  function serialize_gateway_web_v1_ListRelayHeartbeatsRequest(arg) {
355
377
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListRelayHeartbeatsRequest)) {
356
378
  throw new Error('Expected argument of type gateway.web.v1.ListRelayHeartbeatsRequest');
@@ -987,6 +1009,20 @@ listModelActivity: {
987
1009
  responseSerialize: serialize_gateway_web_v1_ModelActivityResponse,
988
1010
  responseDeserialize: deserialize_gateway_web_v1_ModelActivityResponse,
989
1011
  },
1012
+ // How much each model thought per call over a time range, one row per (model, effort) after groups fold stored
1013
+ // spellings: counted calls, exact medians and p90 per call and per turn, and each overlapped ISO week's median;
1014
+ // with coverage and what served the calls. Counts only. Mirrors ai.api.v1.
1015
+ listModelReasoning: {
1016
+ path: '/gateway.web.v1.AIGatewayService/ListModelReasoning',
1017
+ requestStream: false,
1018
+ responseStream: false,
1019
+ requestType: proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningRequest,
1020
+ responseType: proto_gateway_web_v1_ai_gateway_pb.ListModelReasoningResponse,
1021
+ requestSerialize: serialize_gateway_web_v1_ListModelReasoningRequest,
1022
+ requestDeserialize: deserialize_gateway_web_v1_ListModelReasoningRequest,
1023
+ responseSerialize: serialize_gateway_web_v1_ListModelReasoningResponse,
1024
+ responseDeserialize: deserialize_gateway_web_v1_ListModelReasoningResponse,
1025
+ },
990
1026
  // One session's model calls and git activity on one epoch-aligned time grid: per bucket, each model's
991
1027
  // calls, tokens and cost, and each git action's count. Mirrors telemetry.api.v1.
992
1028
  getSessionUsageTrend: {