@miradorlabs/web-grpc 3.51.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.
|
@@ -131,26 +131,26 @@ function deserialize_gateway_web_v1_FilesSummaryRequest(buffer_arg) {
|
|
|
131
131
|
return proto_gateway_web_v1_ai_gateway_pb.FilesSummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
function
|
|
135
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.
|
|
136
|
-
throw new Error('Expected argument of type gateway.web.v1.
|
|
134
|
+
function serialize_gateway_web_v1_GetPromptLabelTrendRequest(arg) {
|
|
135
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest)) {
|
|
136
|
+
throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendRequest');
|
|
137
137
|
}
|
|
138
138
|
return Buffer.from(arg.serializeBinary());
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
function
|
|
142
|
-
return proto_gateway_web_v1_ai_gateway_pb.
|
|
141
|
+
function deserialize_gateway_web_v1_GetPromptLabelTrendRequest(buffer_arg) {
|
|
142
|
+
return proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
function
|
|
146
|
-
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.
|
|
147
|
-
throw new Error('Expected argument of type gateway.web.v1.
|
|
145
|
+
function serialize_gateway_web_v1_GetPromptLabelTrendResponse(arg) {
|
|
146
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse)) {
|
|
147
|
+
throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendResponse');
|
|
148
148
|
}
|
|
149
149
|
return Buffer.from(arg.serializeBinary());
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
function
|
|
153
|
-
return proto_gateway_web_v1_ai_gateway_pb.
|
|
152
|
+
function deserialize_gateway_web_v1_GetPromptLabelTrendResponse(buffer_arg) {
|
|
153
|
+
return proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
function serialize_gateway_web_v1_GetSessionAnalysisRequest(arg) {
|
|
@@ -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: {
|
|
@@ -1026,18 +1062,18 @@ getSessionScoreTrend: {
|
|
|
1026
1062
|
responseSerialize: serialize_gateway_web_v1_GetSessionScoreTrendResponse,
|
|
1027
1063
|
responseDeserialize: deserialize_gateway_web_v1_GetSessionScoreTrendResponse,
|
|
1028
1064
|
},
|
|
1029
|
-
// A project's
|
|
1030
|
-
// time): counts only, the
|
|
1031
|
-
|
|
1032
|
-
path: '/gateway.web.v1.AIGatewayService/
|
|
1065
|
+
// A project's labelled prompts, or one person's (their principals), per ISO week (UTC, by each prompt's own event
|
|
1066
|
+
// time): counts only, the shares derived only when a week has labelled prompts. Mirrors ai.api.v1.
|
|
1067
|
+
getPromptLabelTrend: {
|
|
1068
|
+
path: '/gateway.web.v1.AIGatewayService/GetPromptLabelTrend',
|
|
1033
1069
|
requestStream: false,
|
|
1034
1070
|
responseStream: false,
|
|
1035
|
-
requestType: proto_gateway_web_v1_ai_gateway_pb.
|
|
1036
|
-
responseType: proto_gateway_web_v1_ai_gateway_pb.
|
|
1037
|
-
requestSerialize:
|
|
1038
|
-
requestDeserialize:
|
|
1039
|
-
responseSerialize:
|
|
1040
|
-
responseDeserialize:
|
|
1071
|
+
requestType: proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest,
|
|
1072
|
+
responseType: proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendResponse,
|
|
1073
|
+
requestSerialize: serialize_gateway_web_v1_GetPromptLabelTrendRequest,
|
|
1074
|
+
requestDeserialize: deserialize_gateway_web_v1_GetPromptLabelTrendRequest,
|
|
1075
|
+
responseSerialize: serialize_gateway_web_v1_GetPromptLabelTrendResponse,
|
|
1076
|
+
responseDeserialize: deserialize_gateway_web_v1_GetPromptLabelTrendResponse,
|
|
1041
1077
|
},
|
|
1042
1078
|
// Per-seat entitlement usage board: every entitlement owner's latest observed funding facility and
|
|
1043
1079
|
// per-harness usage % windows. Stream-first (first frame = full snapshot), seat-scoped. Mirrors
|