@miradorlabs/web-grpc 2.66.0 → 2.70.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.
- package/package.json +1 -1
- package/proto/gateway/web/v1/ai_gateway.ts +563 -3
- package/proto/gateway/web/v1/ai_gateway_grpc_pb.js +36 -0
- package/proto/gateway/web/v1/ai_gateway_pb.js +968 -9
- package/proto/gateway/web/v1/metric_gateway.ts +389 -0
- package/proto/gateway/web/v1/metric_gateway_grpc_pb.js +39 -0
- package/proto/gateway/web/v1/metric_gateway_pb.js +786 -0
|
@@ -52,6 +52,28 @@ function deserialize_gateway_web_v1_ActivityRhythmRequest(buffer_arg) {
|
|
|
52
52
|
return proto_gateway_web_v1_ai_gateway_pb.ActivityRhythmRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
function serialize_gateway_web_v1_BurnMapFile(arg) {
|
|
56
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnMapFile)) {
|
|
57
|
+
throw new Error('Expected argument of type gateway.web.v1.BurnMapFile');
|
|
58
|
+
}
|
|
59
|
+
return Buffer.from(arg.serializeBinary());
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function deserialize_gateway_web_v1_BurnMapFile(buffer_arg) {
|
|
63
|
+
return proto_gateway_web_v1_ai_gateway_pb.BurnMapFile.deserializeBinary(new Uint8Array(buffer_arg));
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function serialize_gateway_web_v1_BurnMapRequest(arg) {
|
|
67
|
+
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest)) {
|
|
68
|
+
throw new Error('Expected argument of type gateway.web.v1.BurnMapRequest');
|
|
69
|
+
}
|
|
70
|
+
return Buffer.from(arg.serializeBinary());
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
function deserialize_gateway_web_v1_BurnMapRequest(buffer_arg) {
|
|
74
|
+
return proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
75
|
+
}
|
|
76
|
+
|
|
55
77
|
function serialize_gateway_web_v1_BurnRate(arg) {
|
|
56
78
|
if (!(arg instanceof proto_gateway_web_v1_ai_gateway_pb.BurnRate)) {
|
|
57
79
|
throw new Error('Expected argument of type gateway.web.v1.BurnRate');
|
|
@@ -756,6 +778,20 @@ streamFilesSummary: {
|
|
|
756
778
|
responseSerialize: serialize_gateway_web_v1_FilesSummary,
|
|
757
779
|
responseDeserialize: deserialize_gateway_web_v1_FilesSummary,
|
|
758
780
|
},
|
|
781
|
+
// GetBurnMap streams the burn-map treemap's per-file tiles so the client no longer pages every file row to
|
|
782
|
+
// build them. Hottest by unlanded cost first; server-streaming so a large project never exceeds the message
|
|
783
|
+
// size limit. Squarify geometry stays client-side.
|
|
784
|
+
getBurnMap: {
|
|
785
|
+
path: '/gateway.web.v1.AIGatewayService/GetBurnMap',
|
|
786
|
+
requestStream: false,
|
|
787
|
+
responseStream: true,
|
|
788
|
+
requestType: proto_gateway_web_v1_ai_gateway_pb.BurnMapRequest,
|
|
789
|
+
responseType: proto_gateway_web_v1_ai_gateway_pb.BurnMapFile,
|
|
790
|
+
requestSerialize: serialize_gateway_web_v1_BurnMapRequest,
|
|
791
|
+
requestDeserialize: deserialize_gateway_web_v1_BurnMapRequest,
|
|
792
|
+
responseSerialize: serialize_gateway_web_v1_BurnMapFile,
|
|
793
|
+
responseDeserialize: deserialize_gateway_web_v1_BurnMapFile,
|
|
794
|
+
},
|
|
759
795
|
// Latest observed list price per (source, provider, model) from the global catalog.
|
|
760
796
|
listModelPrices: {
|
|
761
797
|
path: '/gateway.web.v1.AIGatewayService/ListModelPrices',
|