@miradorlabs/web-grpc 3.20.0 → 3.22.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_ProjectOverviewRequest(buffer_arg) {
351
351
  return proto_gateway_web_v1_ai_gateway_pb.ProjectOverviewRequest.deserializeBinary(new Uint8Array(buffer_arg));
352
352
  }
353
353
 
354
+ function serialize_gateway_web_v1_ProjectSummaries(arg) {
355
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ProjectSummaries)) {
356
+ throw new Error('Expected argument of type gateway.web.v1.ProjectSummaries');
357
+ }
358
+ return Buffer.from(arg.serializeBinary());
359
+ }
360
+
361
+ function deserialize_gateway_web_v1_ProjectSummaries(buffer_arg) {
362
+ return proto_gateway_web_v1_ai_gateway_pb.ProjectSummaries.deserializeBinary(new Uint8Array(buffer_arg));
363
+ }
364
+
365
+ function serialize_gateway_web_v1_ProjectSummariesRequest(arg) {
366
+ if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ProjectSummariesRequest)) {
367
+ throw new Error('Expected argument of type gateway.web.v1.ProjectSummariesRequest');
368
+ }
369
+ return Buffer.from(arg.serializeBinary());
370
+ }
371
+
372
+ function deserialize_gateway_web_v1_ProjectSummariesRequest(buffer_arg) {
373
+ return proto_gateway_web_v1_ai_gateway_pb.ProjectSummariesRequest.deserializeBinary(new Uint8Array(buffer_arg));
374
+ }
375
+
354
376
  function serialize_gateway_web_v1_ResourceRankingsRequest(arg) {
355
377
  if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.ResourceRankingsRequest)) {
356
378
  throw new Error('Expected argument of type gateway.web.v1.ResourceRankingsRequest');
@@ -711,6 +733,19 @@ streamProjectOverview: {
711
733
  responseSerialize: serialize_gateway_web_v1_ProjectOverview,
712
734
  responseDeserialize: deserialize_gateway_web_v1_ProjectOverview,
713
735
  },
736
+ // Live organization home cards: one summary per requested project (zeros when it has no AI activity) —
737
+ // conversations last active in the window, their principals and git counts, and the window's burn by model.
738
+ streamProjectSummaries: {
739
+ path: '/gateway.web.v1.AIGatewayService/StreamProjectSummaries',
740
+ requestStream: false,
741
+ responseStream: true,
742
+ requestType: proto_gateway_web_v1_ai_gateway_pb.ProjectSummariesRequest,
743
+ responseType: proto_gateway_web_v1_ai_gateway_pb.ProjectSummaries,
744
+ requestSerialize: serialize_gateway_web_v1_ProjectSummariesRequest,
745
+ requestDeserialize: deserialize_gateway_web_v1_ProjectSummariesRequest,
746
+ responseSerialize: serialize_gateway_web_v1_ProjectSummaries,
747
+ responseDeserialize: deserialize_gateway_web_v1_ProjectSummaries,
748
+ },
714
749
  // Per-file working-state feed (keyset-paginated) behind the unlanded-work funnel.
715
750
  listFiles: {
716
751
  path: '/gateway.web.v1.AIGatewayService/ListFiles',