@miradorlabs/web-grpc 4.28.0 → 4.30.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.
@@ -153,6 +153,28 @@ function deserialize_gateway_web_v1_GetLabelCatalogResponse(buffer_arg) {
153
153
  return proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogResponse.deserializeBinary(new Uint8Array(buffer_arg));
154
154
  }
155
155
 
156
+ function serialize_gateway_web_v1_GetProjectSessionScoreRubricRequest(arg) {
157
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricRequest)) {
158
+ throw new Error('Expected argument of type gateway.web.v1.GetProjectSessionScoreRubricRequest');
159
+ }
160
+ return Buffer.from(arg.serializeBinary());
161
+ }
162
+
163
+ function deserialize_gateway_web_v1_GetProjectSessionScoreRubricRequest(buffer_arg) {
164
+ return proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricRequest.deserializeBinary(new Uint8Array(buffer_arg));
165
+ }
166
+
167
+ function serialize_gateway_web_v1_GetProjectSessionScoreRubricResponse(arg) {
168
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricResponse)) {
169
+ throw new Error('Expected argument of type gateway.web.v1.GetProjectSessionScoreRubricResponse');
170
+ }
171
+ return Buffer.from(arg.serializeBinary());
172
+ }
173
+
174
+ function deserialize_gateway_web_v1_GetProjectSessionScoreRubricResponse(buffer_arg) {
175
+ return proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricResponse.deserializeBinary(new Uint8Array(buffer_arg));
176
+ }
177
+
156
178
  function serialize_gateway_web_v1_GetPromptLabelTrendRequest(arg) {
157
179
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest)) {
158
180
  throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendRequest');
@@ -241,6 +263,28 @@ function deserialize_gateway_web_v1_GetSessionIssuesResponse(buffer_arg) {
241
263
  return proto_gateway_web_v1_ai_gateway_pb.GetSessionIssuesResponse.deserializeBinary(new Uint8Array(buffer_arg));
242
264
  }
243
265
 
266
+ function serialize_gateway_web_v1_GetSessionScoreRubricCatalogRequest(arg) {
267
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogRequest)) {
268
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreRubricCatalogRequest');
269
+ }
270
+ return Buffer.from(arg.serializeBinary());
271
+ }
272
+
273
+ function deserialize_gateway_web_v1_GetSessionScoreRubricCatalogRequest(buffer_arg) {
274
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogRequest.deserializeBinary(new Uint8Array(buffer_arg));
275
+ }
276
+
277
+ function serialize_gateway_web_v1_GetSessionScoreRubricCatalogResponse(arg) {
278
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogResponse)) {
279
+ throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreRubricCatalogResponse');
280
+ }
281
+ return Buffer.from(arg.serializeBinary());
282
+ }
283
+
284
+ function deserialize_gateway_web_v1_GetSessionScoreRubricCatalogResponse(buffer_arg) {
285
+ return proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogResponse.deserializeBinary(new Uint8Array(buffer_arg));
286
+ }
287
+
244
288
  function serialize_gateway_web_v1_GetSessionScoreTrendRequest(arg) {
245
289
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreTrendRequest)) {
246
290
  throw new Error('Expected argument of type gateway.web.v1.GetSessionScoreTrendRequest');
@@ -890,6 +934,28 @@ function deserialize_gateway_web_v1_TokenActivitySummaryRequest(buffer_arg) {
890
934
  return proto_gateway_web_v1_ai_gateway_pb.TokenActivitySummaryRequest.deserializeBinary(new Uint8Array(buffer_arg));
891
935
  }
892
936
 
937
+ function serialize_gateway_web_v1_UpdateProjectSessionScoreRubricRequest(arg) {
938
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricRequest)) {
939
+ throw new Error('Expected argument of type gateway.web.v1.UpdateProjectSessionScoreRubricRequest');
940
+ }
941
+ return Buffer.from(arg.serializeBinary());
942
+ }
943
+
944
+ function deserialize_gateway_web_v1_UpdateProjectSessionScoreRubricRequest(buffer_arg) {
945
+ return proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricRequest.deserializeBinary(new Uint8Array(buffer_arg));
946
+ }
947
+
948
+ function serialize_gateway_web_v1_UpdateProjectSessionScoreRubricResponse(arg) {
949
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricResponse)) {
950
+ throw new Error('Expected argument of type gateway.web.v1.UpdateProjectSessionScoreRubricResponse');
951
+ }
952
+ return Buffer.from(arg.serializeBinary());
953
+ }
954
+
955
+ function deserialize_gateway_web_v1_UpdateProjectSessionScoreRubricResponse(buffer_arg) {
956
+ return proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricResponse.deserializeBinary(new Uint8Array(buffer_arg));
957
+ }
958
+
893
959
 
894
960
  // AIGatewayService is the frontend-facing proxy over telemetry.api.v1.AIService.
895
961
  // It stamps the authorized organization/project and forwards telemetry-api-shaped messages.
@@ -1339,6 +1405,44 @@ getLabelCatalog: {
1339
1405
  responseSerialize: serialize_gateway_web_v1_GetLabelCatalogResponse,
1340
1406
  responseDeserialize: deserialize_gateway_web_v1_GetLabelCatalogResponse,
1341
1407
  },
1408
+ // The rubric templates a team can score its sessions on (STANDARD, the default, first): each one's name,
1409
+ // description, version and criteria. Mirrors ai.api.v1.
1410
+ getSessionScoreRubricCatalog: {
1411
+ path: '/gateway.web.v1.AIGatewayService/GetSessionScoreRubricCatalog',
1412
+ requestStream: false,
1413
+ responseStream: false,
1414
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogRequest,
1415
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetSessionScoreRubricCatalogResponse,
1416
+ requestSerialize: serialize_gateway_web_v1_GetSessionScoreRubricCatalogRequest,
1417
+ requestDeserialize: deserialize_gateway_web_v1_GetSessionScoreRubricCatalogRequest,
1418
+ responseSerialize: serialize_gateway_web_v1_GetSessionScoreRubricCatalogResponse,
1419
+ responseDeserialize: deserialize_gateway_web_v1_GetSessionScoreRubricCatalogResponse,
1420
+ },
1421
+ // The template the team's sessions are scored on: the one an org admin picked, or STANDARD. Mirrors ai.api.v1.
1422
+ getProjectSessionScoreRubric: {
1423
+ path: '/gateway.web.v1.AIGatewayService/GetProjectSessionScoreRubric',
1424
+ requestStream: false,
1425
+ responseStream: false,
1426
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricRequest,
1427
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetProjectSessionScoreRubricResponse,
1428
+ requestSerialize: serialize_gateway_web_v1_GetProjectSessionScoreRubricRequest,
1429
+ requestDeserialize: deserialize_gateway_web_v1_GetProjectSessionScoreRubricRequest,
1430
+ responseSerialize: serialize_gateway_web_v1_GetProjectSessionScoreRubricResponse,
1431
+ responseDeserialize: deserialize_gateway_web_v1_GetProjectSessionScoreRubricResponse,
1432
+ },
1433
+ // Set the template the team's sessions are scored on. Org admins only. Sessions are graded on it from the scorer's
1434
+ // next run; one already scored only when it next changes. Mirrors ai.api.v1.
1435
+ updateProjectSessionScoreRubric: {
1436
+ path: '/gateway.web.v1.AIGatewayService/UpdateProjectSessionScoreRubric',
1437
+ requestStream: false,
1438
+ responseStream: false,
1439
+ requestType: proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricRequest,
1440
+ responseType: proto_gateway_web_v1_ai_gateway_pb.UpdateProjectSessionScoreRubricResponse,
1441
+ requestSerialize: serialize_gateway_web_v1_UpdateProjectSessionScoreRubricRequest,
1442
+ requestDeserialize: deserialize_gateway_web_v1_UpdateProjectSessionScoreRubricRequest,
1443
+ responseSerialize: serialize_gateway_web_v1_UpdateProjectSessionScoreRubricResponse,
1444
+ responseDeserialize: deserialize_gateway_web_v1_UpdateProjectSessionScoreRubricResponse,
1445
+ },
1342
1446
  // Per-seat entitlement usage board: every entitlement owner's latest observed funding facility and
1343
1447
  // per-harness usage % windows. Stream-first (first frame = full snapshot), seat-scoped. Mirrors
1344
1448
  // telemetry.api.v1.