@miradorlabs/web-grpc 4.25.0 → 4.27.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.
Files changed (35) hide show
  1. package/google/api/field_behavior.ts +1 -1
  2. package/google/protobuf/descriptor.ts +1 -1
  3. package/google/protobuf/duration.ts +1 -1
  4. package/google/protobuf/timestamp.ts +1 -1
  5. package/package.json +1 -1
  6. package/proto/gateway/common/v1/attribute_value.ts +1 -1
  7. package/proto/gateway/common/v1/status.ts +1 -1
  8. package/proto/gateway/common/v1/types.ts +1 -1
  9. package/proto/gateway/web/v1/account_gateway.ts +1 -1
  10. package/proto/gateway/web/v1/admin_gateway.ts +7 -1
  11. package/proto/gateway/web/v1/admin_gateway_pb.js +2 -1
  12. package/proto/gateway/web/v1/ai_gateway.ts +1730 -961
  13. package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +71 -0
  14. package/proto/gateway/web/v1/ai_gateway_pb.js +14467 -12071
  15. package/proto/gateway/web/v1/attribute_value.ts +1 -1
  16. package/proto/gateway/web/v1/beta_gateway.ts +1 -1
  17. package/proto/gateway/web/v1/chain_gateway.ts +1 -1
  18. package/proto/gateway/web/v1/claude_enterprise_gateway.ts +1 -1
  19. package/proto/gateway/web/v1/common.ts +1 -1
  20. package/proto/gateway/web/v1/derived_metric_gateway.ts +1 -1
  21. package/proto/gateway/web/v1/desktop_auth_gateway.ts +1 -1
  22. package/proto/gateway/web/v1/github_connector.ts +1 -1
  23. package/proto/gateway/web/v1/integration_gateway.ts +1 -1
  24. package/proto/gateway/web/v1/log_gateway.ts +1 -1
  25. package/proto/gateway/web/v1/market_gateway.ts +1 -1
  26. package/proto/gateway/web/v1/metric_gateway.ts +1 -1
  27. package/proto/gateway/web/v1/notification_gateway.ts +1 -1
  28. package/proto/gateway/web/v1/oauth_gateway.ts +1 -1
  29. package/proto/gateway/web/v1/plan_gateway.ts +1 -1
  30. package/proto/gateway/web/v1/policy_gateway.ts +1 -1
  31. package/proto/gateway/web/v1/reference_gateway.ts +1 -1
  32. package/proto/gateway/web/v1/rule_gateway.ts +1 -1
  33. package/proto/gateway/web/v1/slo_gateway.ts +1 -1
  34. package/proto/gateway/web/v1/trace_gateway.ts +1 -1
  35. package/proto/gateway/web/v1/trace_measure_gateway.ts +1 -1
@@ -131,6 +131,28 @@ 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 serialize_gateway_web_v1_GetLabelCatalogRequest(arg) {
135
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogRequest)) {
136
+ throw new Error('Expected argument of type gateway.web.v1.GetLabelCatalogRequest');
137
+ }
138
+ return Buffer.from(arg.serializeBinary());
139
+ }
140
+
141
+ function deserialize_gateway_web_v1_GetLabelCatalogRequest(buffer_arg) {
142
+ return proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogRequest.deserializeBinary(new Uint8Array(buffer_arg));
143
+ }
144
+
145
+ function serialize_gateway_web_v1_GetLabelCatalogResponse(arg) {
146
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogResponse)) {
147
+ throw new Error('Expected argument of type gateway.web.v1.GetLabelCatalogResponse');
148
+ }
149
+ return Buffer.from(arg.serializeBinary());
150
+ }
151
+
152
+ function deserialize_gateway_web_v1_GetLabelCatalogResponse(buffer_arg) {
153
+ return proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogResponse.deserializeBinary(new Uint8Array(buffer_arg));
154
+ }
155
+
134
156
  function serialize_gateway_web_v1_GetPromptLabelTrendRequest(arg) {
135
157
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.GetPromptLabelTrendRequest)) {
136
158
  throw new Error('Expected argument of type gateway.web.v1.GetPromptLabelTrendRequest');
@@ -549,6 +571,28 @@ function deserialize_gateway_web_v1_ListSessionEventsResponse(buffer_arg) {
549
571
  return proto_gateway_web_v1_ai_gateway_pb.ListSessionEventsResponse.deserializeBinary(new Uint8Array(buffer_arg));
550
572
  }
551
573
 
574
+ function serialize_gateway_web_v1_ListSessionInsightsRequest(arg) {
575
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest)) {
576
+ throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsRequest');
577
+ }
578
+ return Buffer.from(arg.serializeBinary());
579
+ }
580
+
581
+ function deserialize_gateway_web_v1_ListSessionInsightsRequest(buffer_arg) {
582
+ return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest.deserializeBinary(new Uint8Array(buffer_arg));
583
+ }
584
+
585
+ function serialize_gateway_web_v1_ListSessionInsightsResponse(arg) {
586
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse)) {
587
+ throw new Error('Expected argument of type gateway.web.v1.ListSessionInsightsResponse');
588
+ }
589
+ return Buffer.from(arg.serializeBinary());
590
+ }
591
+
592
+ function deserialize_gateway_web_v1_ListSessionInsightsResponse(buffer_arg) {
593
+ return proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse.deserializeBinary(new Uint8Array(buffer_arg));
594
+ }
595
+
552
596
  function serialize_gateway_web_v1_ListSessionsRequest(arg) {
553
597
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ListSessionsRequest)) {
554
598
  throw new Error('Expected argument of type gateway.web.v1.ListSessionsRequest');
@@ -1242,6 +1286,19 @@ getSessionAnalysis: {
1242
1286
  responseSerialize: serialize_gateway_web_v1_GetSessionAnalysisResponse,
1243
1287
  responseDeserialize: deserialize_gateway_web_v1_GetSessionAnalysisResponse,
1244
1288
  },
1289
+ // A project's insights one at a time, newest analysis first: a person's most recent insights with filter.user_ids,
1290
+ // the team's without. Mirrors ai.api.v1.
1291
+ listSessionInsights: {
1292
+ path: '/gateway.web.v1.AIGatewayService/ListSessionInsights',
1293
+ requestStream: false,
1294
+ responseStream: false,
1295
+ requestType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsRequest,
1296
+ responseType: proto_gateway_web_v1_ai_gateway_pb.ListSessionInsightsResponse,
1297
+ requestSerialize: serialize_gateway_web_v1_ListSessionInsightsRequest,
1298
+ requestDeserialize: deserialize_gateway_web_v1_ListSessionInsightsRequest,
1299
+ responseSerialize: serialize_gateway_web_v1_ListSessionInsightsResponse,
1300
+ responseDeserialize: deserialize_gateway_web_v1_ListSessionInsightsResponse,
1301
+ },
1245
1302
  // A project's graded sessions, or one person's, per ISO week (UTC, by last activity): counts, the mean score, the
1246
1303
  // mean grade value per rubric criterion. Directional. Mirrors ai.api.v1.
1247
1304
  getSessionScoreTrend: {
@@ -1268,6 +1325,20 @@ getPromptLabelTrend: {
1268
1325
  responseSerialize: serialize_gateway_web_v1_GetPromptLabelTrendResponse,
1269
1326
  responseDeserialize: deserialize_gateway_web_v1_GetPromptLabelTrendResponse,
1270
1327
  },
1328
+ // The label sets the project's sessions and prompts are labelled with: every fixed dimension and its values in display
1329
+ // order, with each value's name, tooltip and rating. A stored key the catalogue no longer lists shows as
1330
+ // the key. Mirrors ai.api.v1.
1331
+ getLabelCatalog: {
1332
+ path: '/gateway.web.v1.AIGatewayService/GetLabelCatalog',
1333
+ requestStream: false,
1334
+ responseStream: false,
1335
+ requestType: proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogRequest,
1336
+ responseType: proto_gateway_web_v1_ai_gateway_pb.GetLabelCatalogResponse,
1337
+ requestSerialize: serialize_gateway_web_v1_GetLabelCatalogRequest,
1338
+ requestDeserialize: deserialize_gateway_web_v1_GetLabelCatalogRequest,
1339
+ responseSerialize: serialize_gateway_web_v1_GetLabelCatalogResponse,
1340
+ responseDeserialize: deserialize_gateway_web_v1_GetLabelCatalogResponse,
1341
+ },
1271
1342
  // Per-seat entitlement usage board: every entitlement owner's latest observed funding facility and
1272
1343
  // per-harness usage % windows. Stream-first (first frame = full snapshot), seat-scoped. Mirrors
1273
1344
  // telemetry.api.v1.