@use-tusk/drift-schemas 0.1.13 → 0.1.14
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/dist/backend/client_service.client.d.ts +4 -4
- package/dist/backend/span_export_service.client.d.ts +4 -4
- package/dist/{communication-BGQiGs3U.d.cts → communication-CEQVoY9N.d.cts} +95 -2
- package/dist/communication-CEQVoY9N.d.cts.map +1 -0
- package/dist/{communication-CCZ2ZNgd.cjs → communication-D55xrdiU.cjs} +218 -1
- package/dist/communication-D55xrdiU.cjs.map +1 -0
- package/dist/{communication-jCfEhBYI.d.ts → communication-DFfvix26.d.ts} +95 -2
- package/dist/communication-DFfvix26.d.ts.map +1 -0
- package/dist/{communication-dDgtf-si.js → communication-Ux-LTGlz.js} +201 -2
- package/dist/communication-Ux-LTGlz.js.map +1 -0
- package/dist/core/communication.cjs +5 -2
- package/dist/core/communication.client.cjs +1 -1
- package/dist/core/communication.client.d.cts +1 -1
- package/dist/core/communication.client.d.ts +5 -5
- package/dist/core/communication.client.js +1 -1
- package/dist/core/communication.d.cts +2 -2
- package/dist/core/communication.d.ts +2 -2
- package/dist/core/communication.js +2 -2
- package/package.json +1 -1
- package/dist/communication-BGQiGs3U.d.cts.map +0 -1
- package/dist/communication-CCZ2ZNgd.cjs.map +0 -1
- package/dist/communication-dDgtf-si.js.map +0 -1
- package/dist/communication-jCfEhBYI.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CreateObservableServiceRequest, CreateObservableServiceResponse, GetAuthInfoRequest, GetAuthInfoResponse } from "../client_service-BZhmRi_S.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
|
|
3
3
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
|
|
5
5
|
|
|
6
6
|
//#region generated/ts/backend/client_service.client.d.ts
|
|
7
7
|
|
|
@@ -24,9 +24,9 @@ interface IClientServiceClient {
|
|
|
24
24
|
declare class ClientServiceClient implements IClientServiceClient, ServiceInfo {
|
|
25
25
|
private readonly _transport;
|
|
26
26
|
typeName: string;
|
|
27
|
-
methods:
|
|
27
|
+
methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
|
|
28
28
|
options: {
|
|
29
|
-
[extensionName: string]:
|
|
29
|
+
[extensionName: string]: _protobuf_ts_runtime2.JsonValue;
|
|
30
30
|
};
|
|
31
31
|
constructor(_transport: RpcTransport);
|
|
32
32
|
/**
|
|
@@ -4,9 +4,9 @@ import "../timestamp-D0q8Zt_J.js";
|
|
|
4
4
|
import "../json_schema-dDDndex9.js";
|
|
5
5
|
import "../span-C1sXvAwC.js";
|
|
6
6
|
import { ExportSpansRequest, ExportSpansResponse } from "../span_export_service-W0WztHCF.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
|
|
8
8
|
import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
|
|
10
10
|
|
|
11
11
|
//#region generated/ts/backend/span_export_service.client.d.ts
|
|
12
12
|
/**
|
|
@@ -24,9 +24,9 @@ interface ISpanExportServiceClient {
|
|
|
24
24
|
declare class SpanExportServiceClient implements ISpanExportServiceClient, ServiceInfo {
|
|
25
25
|
private readonly _transport;
|
|
26
26
|
typeName: string;
|
|
27
|
-
methods:
|
|
27
|
+
methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
|
|
28
28
|
options: {
|
|
29
|
-
[extensionName: string]:
|
|
29
|
+
[extensionName: string]: _protobuf_ts_runtime0.JsonValue;
|
|
30
30
|
};
|
|
31
31
|
constructor(_transport: RpcTransport);
|
|
32
32
|
/**
|
|
@@ -155,6 +155,12 @@ interface SDKMessage {
|
|
|
155
155
|
* @generated from protobuf field: tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request = 5
|
|
156
156
|
*/
|
|
157
157
|
sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest;
|
|
158
|
+
} | {
|
|
159
|
+
oneofKind: "sendAlertRequest";
|
|
160
|
+
/**
|
|
161
|
+
* @generated from protobuf field: tusk.drift.core.v1.SendAlertRequest send_alert_request = 6
|
|
162
|
+
*/
|
|
163
|
+
sendAlertRequest: SendAlertRequest;
|
|
158
164
|
} | {
|
|
159
165
|
oneofKind: undefined;
|
|
160
166
|
};
|
|
@@ -214,6 +220,59 @@ interface SendInboundSpanForReplayResponse {
|
|
|
214
220
|
*/
|
|
215
221
|
success: boolean;
|
|
216
222
|
}
|
|
223
|
+
/**
|
|
224
|
+
* @generated from protobuf message tusk.drift.core.v1.SendAlertRequest
|
|
225
|
+
*/
|
|
226
|
+
interface SendAlertRequest {
|
|
227
|
+
/**
|
|
228
|
+
* @generated from protobuf oneof: alert
|
|
229
|
+
*/
|
|
230
|
+
alert: {
|
|
231
|
+
oneofKind: "versionMismatch";
|
|
232
|
+
/**
|
|
233
|
+
* @generated from protobuf field: tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch = 1
|
|
234
|
+
*/
|
|
235
|
+
versionMismatch: InstrumentationVersionMismatchAlert;
|
|
236
|
+
} | {
|
|
237
|
+
oneofKind: "unpatchedDependency";
|
|
238
|
+
/**
|
|
239
|
+
* @generated from protobuf field: tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency = 2
|
|
240
|
+
*/
|
|
241
|
+
unpatchedDependency: UnpatchedDependencyAlert;
|
|
242
|
+
} | {
|
|
243
|
+
oneofKind: undefined;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
/**
|
|
247
|
+
* @generated from protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
|
|
248
|
+
*/
|
|
249
|
+
interface InstrumentationVersionMismatchAlert {
|
|
250
|
+
/**
|
|
251
|
+
* @generated from protobuf field: string module_name = 1
|
|
252
|
+
*/
|
|
253
|
+
moduleName: string;
|
|
254
|
+
/**
|
|
255
|
+
* @generated from protobuf field: string requested_version = 2
|
|
256
|
+
*/
|
|
257
|
+
requestedVersion: string;
|
|
258
|
+
/**
|
|
259
|
+
* @generated from protobuf field: repeated string supported_versions = 3
|
|
260
|
+
*/
|
|
261
|
+
supportedVersions: string[];
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* @generated from protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
|
|
265
|
+
*/
|
|
266
|
+
interface UnpatchedDependencyAlert {
|
|
267
|
+
/**
|
|
268
|
+
* @generated from protobuf field: string stack_trace = 1
|
|
269
|
+
*/
|
|
270
|
+
stackTrace: string;
|
|
271
|
+
/**
|
|
272
|
+
* @generated from protobuf field: string trace_test_server_span_id = 2
|
|
273
|
+
*/
|
|
274
|
+
traceTestServerSpanId: string;
|
|
275
|
+
}
|
|
217
276
|
/**
|
|
218
277
|
* @generated from protobuf enum tusk.drift.core.v1.MessageType
|
|
219
278
|
*/
|
|
@@ -234,6 +293,10 @@ declare enum MessageType$1 {
|
|
|
234
293
|
* @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;
|
|
235
294
|
*/
|
|
236
295
|
INBOUND_SPAN = 3,
|
|
296
|
+
/**
|
|
297
|
+
* @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;
|
|
298
|
+
*/
|
|
299
|
+
ALERT = 4,
|
|
237
300
|
}
|
|
238
301
|
declare class ConnectRequest$Type extends MessageType<ConnectRequest> {
|
|
239
302
|
constructor();
|
|
@@ -316,10 +379,40 @@ declare class SendInboundSpanForReplayResponse$Type extends MessageType<SendInbo
|
|
|
316
379
|
* @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse
|
|
317
380
|
*/
|
|
318
381
|
declare const SendInboundSpanForReplayResponse: SendInboundSpanForReplayResponse$Type;
|
|
382
|
+
declare class SendAlertRequest$Type extends MessageType<SendAlertRequest> {
|
|
383
|
+
constructor();
|
|
384
|
+
create(value?: PartialMessage<SendAlertRequest>): SendAlertRequest;
|
|
385
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendAlertRequest): SendAlertRequest;
|
|
386
|
+
internalBinaryWrite(message: SendAlertRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest
|
|
390
|
+
*/
|
|
391
|
+
declare const SendAlertRequest: SendAlertRequest$Type;
|
|
392
|
+
declare class InstrumentationVersionMismatchAlert$Type extends MessageType<InstrumentationVersionMismatchAlert> {
|
|
393
|
+
constructor();
|
|
394
|
+
create(value?: PartialMessage<InstrumentationVersionMismatchAlert>): InstrumentationVersionMismatchAlert;
|
|
395
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstrumentationVersionMismatchAlert): InstrumentationVersionMismatchAlert;
|
|
396
|
+
internalBinaryWrite(message: InstrumentationVersionMismatchAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
|
|
400
|
+
*/
|
|
401
|
+
declare const InstrumentationVersionMismatchAlert: InstrumentationVersionMismatchAlert$Type;
|
|
402
|
+
declare class UnpatchedDependencyAlert$Type extends MessageType<UnpatchedDependencyAlert> {
|
|
403
|
+
constructor();
|
|
404
|
+
create(value?: PartialMessage<UnpatchedDependencyAlert>): UnpatchedDependencyAlert;
|
|
405
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnpatchedDependencyAlert): UnpatchedDependencyAlert;
|
|
406
|
+
internalBinaryWrite(message: UnpatchedDependencyAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
|
|
410
|
+
*/
|
|
411
|
+
declare const UnpatchedDependencyAlert: UnpatchedDependencyAlert$Type;
|
|
319
412
|
/**
|
|
320
413
|
* @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
|
|
321
414
|
*/
|
|
322
415
|
declare const MockService: ServiceType;
|
|
323
416
|
//#endregion
|
|
324
|
-
export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, MessageType$1 as MessageType, MockService, SDKMessage, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse };
|
|
325
|
-
//# sourceMappingURL=communication-
|
|
417
|
+
export { CLIMessage, ConnectRequest, ConnectResponse, GetMockRequest, GetMockResponse, InstrumentationVersionMismatchAlert, MessageType$1 as MessageType, MockService, SDKMessage, SendAlertRequest, SendInboundSpanForReplayRequest, SendInboundSpanForReplayResponse, UnpatchedDependencyAlert };
|
|
418
|
+
//# sourceMappingURL=communication-CEQVoY9N.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"communication-CEQVoY9N.d.cts","names":[],"sources":["../generated/ts/core/communication.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;AA0FA;AAAgC,UArEf,cAAA,CAqEe;;;;EAsCP,SAAA,EAAA,MAAA;EAOR;;;YAiBO,EAAA,MAAA;;;;EAkBkB,aAAA,EAAA,MAAA;EAQzB;;;UAiBQ,CAAA,EA9JV,MA8JU;;;;AAoBzB;AASiB,UAtLA,eAAA,CAsLA;EASA;;;SAeY,EAAA,OAAA;EAAwB;AAQrD;AAiBA;EAaY,KAAA,EAAA,MAAA;AAqBX;;;;AAWkB,UAvQF,cAAA,CAuQE;;;;WASgF,EAAA,MAAA;;;;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,eAAe,cAAc;6BASjB,wCAAwC,4BAA4B,aAAa;+BAwC/E,oBAAoB,wBAAwB,qBAAqB;;;;;cAyBrF,YAAU;cAEjB,oCAAA,SAA6C,YAAa;;iBAM7C,eAAe,mCAAmC;6BAMtC,wCAAwC,4BAA4B,kCAAkC;+BAmBpG,yCAAyC,wBAAwB,qBAAqB;;;;;cAa1G,iCAA+B;cAEtC,qCAAA,SAA8C,YAAa;;iBAM9C,eAAe,oCAAoC;6BAOvC,wCAAwC,4BAA4B,mCAAmC;+BAmBrG,0CAA0C,wBAAwB,qBAAqB;;;;;cAa3G,kCAAgC;cAEvC,qBAAA,SAA8B,YAAa;;iBAO9B,eAAe,oBAAoB;6BAOvB,wCAAwC,4BAA4B,mBAAmB;+BA4BrF,0BAA0B,wBAAwB,qBAAqB;;;;;cAgB3F,kBAAgB;cAEvB,wCAAA,SAAiD,YAAa;;iBAQjD,eAAe,uCAAuC;6BAS1C,wCAAwC,4BAA4B,sCAAsC;+BAyBxG,6CAA6C,wBAAwB,qBAAqB;;;;;cAmB9G,qCAAmC;cAE1C,6BAAA,SAAsC,YAAa;;iBAOtC,eAAe,4BAA4B;6BAQ/B,wCAAwC,4BAA4B,2BAA2B;+BAsB7F,kCAAkC,wBAAwB,qBAAqB;;;;;cAgBnG,0BAAwB;;;;cAIxB,aAAW"}
|
|
@@ -28,6 +28,10 @@ let MessageType = /* @__PURE__ */ function(MessageType$1) {
|
|
|
28
28
|
* @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;
|
|
29
29
|
*/
|
|
30
30
|
MessageType$1[MessageType$1["INBOUND_SPAN"] = 3] = "INBOUND_SPAN";
|
|
31
|
+
/**
|
|
32
|
+
* @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;
|
|
33
|
+
*/
|
|
34
|
+
MessageType$1[MessageType$1["ALERT"] = 4] = "ALERT";
|
|
31
35
|
return MessageType$1;
|
|
32
36
|
}({});
|
|
33
37
|
var ConnectRequest$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
@@ -447,6 +451,13 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
447
451
|
kind: "message",
|
|
448
452
|
oneof: "payload",
|
|
449
453
|
T: () => SendInboundSpanForReplayRequest
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
no: 6,
|
|
457
|
+
name: "send_alert_request",
|
|
458
|
+
kind: "message",
|
|
459
|
+
oneof: "payload",
|
|
460
|
+
T: () => SendAlertRequest
|
|
450
461
|
}
|
|
451
462
|
]);
|
|
452
463
|
}
|
|
@@ -487,6 +498,12 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
487
498
|
sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.sendInboundSpanForReplayRequest)
|
|
488
499
|
};
|
|
489
500
|
break;
|
|
501
|
+
case 6:
|
|
502
|
+
message.payload = {
|
|
503
|
+
oneofKind: "sendAlertRequest",
|
|
504
|
+
sendAlertRequest: SendAlertRequest.internalBinaryRead(reader, reader.uint32(), options, message.payload.sendAlertRequest)
|
|
505
|
+
};
|
|
506
|
+
break;
|
|
490
507
|
default:
|
|
491
508
|
let u = options.readUnknownField;
|
|
492
509
|
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
@@ -502,6 +519,7 @@ var SDKMessage$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
|
502
519
|
if (message.payload.oneofKind === "connectRequest") ConnectRequest.internalBinaryWrite(message.payload.connectRequest, writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
503
520
|
if (message.payload.oneofKind === "getMockRequest") GetMockRequest.internalBinaryWrite(message.payload.getMockRequest, writer.tag(4, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
504
521
|
if (message.payload.oneofKind === "sendInboundSpanForReplayRequest") SendInboundSpanForReplayRequest.internalBinaryWrite(message.payload.sendInboundSpanForReplayRequest, writer.tag(5, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
522
|
+
if (message.payload.oneofKind === "sendAlertRequest") SendAlertRequest.internalBinaryWrite(message.payload.sendAlertRequest, writer.tag(6, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
505
523
|
let u = options.writeUnknownFields;
|
|
506
524
|
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
507
525
|
return writer;
|
|
@@ -699,6 +717,187 @@ var SendInboundSpanForReplayResponse$Type = class extends __protobuf_ts_runtime.
|
|
|
699
717
|
* @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse
|
|
700
718
|
*/
|
|
701
719
|
const SendInboundSpanForReplayResponse = new SendInboundSpanForReplayResponse$Type();
|
|
720
|
+
var SendAlertRequest$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
721
|
+
constructor() {
|
|
722
|
+
super("tusk.drift.core.v1.SendAlertRequest", [{
|
|
723
|
+
no: 1,
|
|
724
|
+
name: "version_mismatch",
|
|
725
|
+
kind: "message",
|
|
726
|
+
oneof: "alert",
|
|
727
|
+
T: () => InstrumentationVersionMismatchAlert
|
|
728
|
+
}, {
|
|
729
|
+
no: 2,
|
|
730
|
+
name: "unpatched_dependency",
|
|
731
|
+
kind: "message",
|
|
732
|
+
oneof: "alert",
|
|
733
|
+
T: () => UnpatchedDependencyAlert
|
|
734
|
+
}]);
|
|
735
|
+
}
|
|
736
|
+
create(value) {
|
|
737
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
738
|
+
message.alert = { oneofKind: void 0 };
|
|
739
|
+
if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
740
|
+
return message;
|
|
741
|
+
}
|
|
742
|
+
internalBinaryRead(reader, length, options, target) {
|
|
743
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
744
|
+
while (reader.pos < end) {
|
|
745
|
+
let [fieldNo, wireType] = reader.tag();
|
|
746
|
+
switch (fieldNo) {
|
|
747
|
+
case 1:
|
|
748
|
+
message.alert = {
|
|
749
|
+
oneofKind: "versionMismatch",
|
|
750
|
+
versionMismatch: InstrumentationVersionMismatchAlert.internalBinaryRead(reader, reader.uint32(), options, message.alert.versionMismatch)
|
|
751
|
+
};
|
|
752
|
+
break;
|
|
753
|
+
case 2:
|
|
754
|
+
message.alert = {
|
|
755
|
+
oneofKind: "unpatchedDependency",
|
|
756
|
+
unpatchedDependency: UnpatchedDependencyAlert.internalBinaryRead(reader, reader.uint32(), options, message.alert.unpatchedDependency)
|
|
757
|
+
};
|
|
758
|
+
break;
|
|
759
|
+
default:
|
|
760
|
+
let u = options.readUnknownField;
|
|
761
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
762
|
+
let d = reader.skip(wireType);
|
|
763
|
+
if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
return message;
|
|
767
|
+
}
|
|
768
|
+
internalBinaryWrite(message, writer, options) {
|
|
769
|
+
if (message.alert.oneofKind === "versionMismatch") InstrumentationVersionMismatchAlert.internalBinaryWrite(message.alert.versionMismatch, writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
770
|
+
if (message.alert.oneofKind === "unpatchedDependency") UnpatchedDependencyAlert.internalBinaryWrite(message.alert.unpatchedDependency, writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).fork(), options).join();
|
|
771
|
+
let u = options.writeUnknownFields;
|
|
772
|
+
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
773
|
+
return writer;
|
|
774
|
+
}
|
|
775
|
+
};
|
|
776
|
+
/**
|
|
777
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest
|
|
778
|
+
*/
|
|
779
|
+
const SendAlertRequest = new SendAlertRequest$Type();
|
|
780
|
+
var InstrumentationVersionMismatchAlert$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
781
|
+
constructor() {
|
|
782
|
+
super("tusk.drift.core.v1.InstrumentationVersionMismatchAlert", [
|
|
783
|
+
{
|
|
784
|
+
no: 1,
|
|
785
|
+
name: "module_name",
|
|
786
|
+
kind: "scalar",
|
|
787
|
+
T: 9
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
no: 2,
|
|
791
|
+
name: "requested_version",
|
|
792
|
+
kind: "scalar",
|
|
793
|
+
T: 9
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
no: 3,
|
|
797
|
+
name: "supported_versions",
|
|
798
|
+
kind: "scalar",
|
|
799
|
+
repeat: 2,
|
|
800
|
+
T: 9
|
|
801
|
+
}
|
|
802
|
+
]);
|
|
803
|
+
}
|
|
804
|
+
create(value) {
|
|
805
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
806
|
+
message.moduleName = "";
|
|
807
|
+
message.requestedVersion = "";
|
|
808
|
+
message.supportedVersions = [];
|
|
809
|
+
if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
810
|
+
return message;
|
|
811
|
+
}
|
|
812
|
+
internalBinaryRead(reader, length, options, target) {
|
|
813
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
814
|
+
while (reader.pos < end) {
|
|
815
|
+
let [fieldNo, wireType] = reader.tag();
|
|
816
|
+
switch (fieldNo) {
|
|
817
|
+
case 1:
|
|
818
|
+
message.moduleName = reader.string();
|
|
819
|
+
break;
|
|
820
|
+
case 2:
|
|
821
|
+
message.requestedVersion = reader.string();
|
|
822
|
+
break;
|
|
823
|
+
case 3:
|
|
824
|
+
message.supportedVersions.push(reader.string());
|
|
825
|
+
break;
|
|
826
|
+
default:
|
|
827
|
+
let u = options.readUnknownField;
|
|
828
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
829
|
+
let d = reader.skip(wireType);
|
|
830
|
+
if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
return message;
|
|
834
|
+
}
|
|
835
|
+
internalBinaryWrite(message, writer, options) {
|
|
836
|
+
if (message.moduleName !== "") writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.moduleName);
|
|
837
|
+
if (message.requestedVersion !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.requestedVersion);
|
|
838
|
+
for (let i = 0; i < message.supportedVersions.length; i++) writer.tag(3, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.supportedVersions[i]);
|
|
839
|
+
let u = options.writeUnknownFields;
|
|
840
|
+
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
841
|
+
return writer;
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
/**
|
|
845
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert
|
|
846
|
+
*/
|
|
847
|
+
const InstrumentationVersionMismatchAlert = new InstrumentationVersionMismatchAlert$Type();
|
|
848
|
+
var UnpatchedDependencyAlert$Type = class extends __protobuf_ts_runtime.MessageType {
|
|
849
|
+
constructor() {
|
|
850
|
+
super("tusk.drift.core.v1.UnpatchedDependencyAlert", [{
|
|
851
|
+
no: 1,
|
|
852
|
+
name: "stack_trace",
|
|
853
|
+
kind: "scalar",
|
|
854
|
+
T: 9
|
|
855
|
+
}, {
|
|
856
|
+
no: 2,
|
|
857
|
+
name: "trace_test_server_span_id",
|
|
858
|
+
kind: "scalar",
|
|
859
|
+
T: 9
|
|
860
|
+
}]);
|
|
861
|
+
}
|
|
862
|
+
create(value) {
|
|
863
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
864
|
+
message.stackTrace = "";
|
|
865
|
+
message.traceTestServerSpanId = "";
|
|
866
|
+
if (value !== void 0) (0, __protobuf_ts_runtime.reflectionMergePartial)(this, message, value);
|
|
867
|
+
return message;
|
|
868
|
+
}
|
|
869
|
+
internalBinaryRead(reader, length, options, target) {
|
|
870
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
871
|
+
while (reader.pos < end) {
|
|
872
|
+
let [fieldNo, wireType] = reader.tag();
|
|
873
|
+
switch (fieldNo) {
|
|
874
|
+
case 1:
|
|
875
|
+
message.stackTrace = reader.string();
|
|
876
|
+
break;
|
|
877
|
+
case 2:
|
|
878
|
+
message.traceTestServerSpanId = reader.string();
|
|
879
|
+
break;
|
|
880
|
+
default:
|
|
881
|
+
let u = options.readUnknownField;
|
|
882
|
+
if (u === "throw") throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
883
|
+
let d = reader.skip(wireType);
|
|
884
|
+
if (u !== false) (u === true ? __protobuf_ts_runtime.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
return message;
|
|
888
|
+
}
|
|
889
|
+
internalBinaryWrite(message, writer, options) {
|
|
890
|
+
if (message.stackTrace !== "") writer.tag(1, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.stackTrace);
|
|
891
|
+
if (message.traceTestServerSpanId !== "") writer.tag(2, __protobuf_ts_runtime.WireType.LengthDelimited).string(message.traceTestServerSpanId);
|
|
892
|
+
let u = options.writeUnknownFields;
|
|
893
|
+
if (u !== false) (u == true ? __protobuf_ts_runtime.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
894
|
+
return writer;
|
|
895
|
+
}
|
|
896
|
+
};
|
|
897
|
+
/**
|
|
898
|
+
* @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert
|
|
899
|
+
*/
|
|
900
|
+
const UnpatchedDependencyAlert = new UnpatchedDependencyAlert$Type();
|
|
702
901
|
/**
|
|
703
902
|
* @generated ServiceType for protobuf service tusk.drift.core.v1.MockService
|
|
704
903
|
*/
|
|
@@ -754,6 +953,12 @@ Object.defineProperty(exports, 'GetMockResponse', {
|
|
|
754
953
|
return GetMockResponse;
|
|
755
954
|
}
|
|
756
955
|
});
|
|
956
|
+
Object.defineProperty(exports, 'InstrumentationVersionMismatchAlert', {
|
|
957
|
+
enumerable: true,
|
|
958
|
+
get: function () {
|
|
959
|
+
return InstrumentationVersionMismatchAlert;
|
|
960
|
+
}
|
|
961
|
+
});
|
|
757
962
|
Object.defineProperty(exports, 'MessageType', {
|
|
758
963
|
enumerable: true,
|
|
759
964
|
get: function () {
|
|
@@ -772,6 +977,12 @@ Object.defineProperty(exports, 'SDKMessage', {
|
|
|
772
977
|
return SDKMessage;
|
|
773
978
|
}
|
|
774
979
|
});
|
|
980
|
+
Object.defineProperty(exports, 'SendAlertRequest', {
|
|
981
|
+
enumerable: true,
|
|
982
|
+
get: function () {
|
|
983
|
+
return SendAlertRequest;
|
|
984
|
+
}
|
|
985
|
+
});
|
|
775
986
|
Object.defineProperty(exports, 'SendInboundSpanForReplayRequest', {
|
|
776
987
|
enumerable: true,
|
|
777
988
|
get: function () {
|
|
@@ -784,4 +995,10 @@ Object.defineProperty(exports, 'SendInboundSpanForReplayResponse', {
|
|
|
784
995
|
return SendInboundSpanForReplayResponse;
|
|
785
996
|
}
|
|
786
997
|
});
|
|
787
|
-
|
|
998
|
+
Object.defineProperty(exports, 'UnpatchedDependencyAlert', {
|
|
999
|
+
enumerable: true,
|
|
1000
|
+
get: function () {
|
|
1001
|
+
return UnpatchedDependencyAlert;
|
|
1002
|
+
}
|
|
1003
|
+
});
|
|
1004
|
+
//# sourceMappingURL=communication-D55xrdiU.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"communication-D55xrdiU.cjs","names":["MessageType$","Struct","UnknownFieldHandler","WireType","Span","Timestamp","key: keyof GetMockRequest[\"tags\"] | undefined","val: GetMockRequest[\"tags\"][any] | undefined","ServiceType"],"sources":["../generated/ts/core/communication.ts"],"sourcesContent":["// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies\n// @generated from protobuf file \"core/communication.proto\" (package \"tusk.drift.core.v1\", syntax proto3)\n// tslint:disable\nimport { ServiceType } from \"@protobuf-ts/runtime-rpc\";\nimport type { BinaryWriteOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryWriter } from \"@protobuf-ts/runtime\";\nimport { WireType } from \"@protobuf-ts/runtime\";\nimport type { BinaryReadOptions } from \"@protobuf-ts/runtime\";\nimport type { IBinaryReader } from \"@protobuf-ts/runtime\";\nimport { UnknownFieldHandler } from \"@protobuf-ts/runtime\";\nimport type { PartialMessage } from \"@protobuf-ts/runtime\";\nimport { reflectionMergePartial } from \"@protobuf-ts/runtime\";\nimport { MessageType as MessageType$ } from \"@protobuf-ts/runtime\";\nimport { Timestamp } from \"../google/protobuf/timestamp\";\nimport { Span } from \"./span\";\nimport { Struct } from \"../google/protobuf/struct\";\n/**\n * SDK connection handshake\n *\n * @generated from protobuf message tusk.drift.core.v1.ConnectRequest\n */\nexport interface ConnectRequest {\n /**\n * @generated from protobuf field: string service_id = 1\n */\n serviceId: string;\n /**\n * @generated from protobuf field: string sdk_version = 2\n */\n sdkVersion: string;\n /**\n * @generated from protobuf field: string min_cli_version = 3\n */\n minCliVersion: string;\n /**\n * @generated from protobuf field: google.protobuf.Struct metadata = 4\n */\n metadata?: Struct; // Additional metadata (JSON-serializable)\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.ConnectResponse\n */\nexport interface ConnectResponse {\n /**\n * @generated from protobuf field: bool success = 1\n */\n success: boolean;\n /**\n * @generated from protobuf field: string error = 2\n */\n error: string;\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.GetMockRequest\n */\nexport interface GetMockRequest {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string; // For async correlation (used in CLI)\n /**\n * @generated from protobuf field: string test_id = 2\n */\n testId: string; // Trace/test identifier\n /**\n * @generated from protobuf field: tusk.drift.core.v1.Span outbound_span = 3\n */\n outboundSpan?: Span;\n /**\n * @generated from protobuf field: string stack_trace = 4\n */\n stackTrace: string;\n /**\n * @generated from protobuf field: string operation = 5\n */\n operation: string; // \"GET\", \"query\", \"execute\", \"get\", etc.\n /**\n * @generated from protobuf field: map<string, string> tags = 6\n */\n tags: {\n [key: string]: string;\n }; // Generic key-value metadata\n /**\n * @generated from protobuf field: google.protobuf.Timestamp requested_at = 7\n */\n requestedAt?: Timestamp;\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.GetMockResponse\n */\nexport interface GetMockResponse {\n /**\n * @generated from protobuf field: string request_id = 1\n */\n requestId: string; // Correlate with request\n /**\n * @generated from protobuf field: bool found = 2\n */\n found: boolean; // Whether mock was found\n /**\n * Opaque response data - CLI returns as-is from stored spans\n *\n * @generated from protobuf field: google.protobuf.Struct response_data = 3\n */\n responseData?: Struct; // Response payload\n /**\n * @generated from protobuf field: google.protobuf.Struct metadata = 4\n */\n metadata?: Struct; // Response metadata (headers, status, etc.)\n /**\n * Error information\n *\n * @generated from protobuf field: string error = 5\n */\n error: string; // Error message if not found\n /**\n * @generated from protobuf field: string error_code = 6\n */\n errorCode: string; // Error classification\n /**\n * Mock metadata\n *\n * @generated from protobuf field: string matched_span_id = 7\n */\n matchedSpanId: string; // Which span was matched\n /**\n * @generated from protobuf field: google.protobuf.Timestamp matched_at = 8\n */\n matchedAt?: Timestamp; // When the match occurred\n}\n/**\n * Message types for the Unix socket protocol\n *\n * @generated from protobuf message tusk.drift.core.v1.SDKMessage\n */\nexport interface SDKMessage {\n /**\n * @generated from protobuf field: tusk.drift.core.v1.MessageType type = 1\n */\n type: MessageType;\n /**\n * @generated from protobuf field: string request_id = 2\n */\n requestId: string;\n /**\n * @generated from protobuf oneof: payload\n */\n payload: {\n oneofKind: \"connectRequest\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.ConnectRequest connect_request = 3\n */\n connectRequest: ConnectRequest;\n } | {\n oneofKind: \"getMockRequest\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.GetMockRequest get_mock_request = 4\n */\n getMockRequest: GetMockRequest;\n } | {\n oneofKind: \"sendInboundSpanForReplayRequest\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request = 5\n */\n sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest;\n } | {\n oneofKind: \"sendAlertRequest\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.SendAlertRequest send_alert_request = 6\n */\n sendAlertRequest: SendAlertRequest;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.CLIMessage\n */\nexport interface CLIMessage {\n /**\n * @generated from protobuf field: tusk.drift.core.v1.MessageType type = 1\n */\n type: MessageType;\n /**\n * @generated from protobuf field: string request_id = 2\n */\n requestId: string;\n /**\n * @generated from protobuf oneof: payload\n */\n payload: {\n oneofKind: \"connectResponse\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.ConnectResponse connect_response = 3\n */\n connectResponse: ConnectResponse;\n } | {\n oneofKind: \"getMockResponse\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.GetMockResponse get_mock_response = 4\n */\n getMockResponse: GetMockResponse;\n } | {\n oneofKind: \"sendInboundSpanForReplayResponse\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.SendInboundSpanForReplayResponse send_inbound_span_for_replay_response = 5\n */\n sendInboundSpanForReplayResponse: SendInboundSpanForReplayResponse;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.SendInboundSpanForReplayRequest\n */\nexport interface SendInboundSpanForReplayRequest {\n /**\n * @generated from protobuf field: tusk.drift.core.v1.Span span = 1\n */\n span?: Span;\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse\n */\nexport interface SendInboundSpanForReplayResponse {\n /**\n * @generated from protobuf field: bool success = 1\n */\n success: boolean;\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.SendAlertRequest\n */\nexport interface SendAlertRequest {\n /**\n * @generated from protobuf oneof: alert\n */\n alert: {\n oneofKind: \"versionMismatch\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch = 1\n */\n versionMismatch: InstrumentationVersionMismatchAlert;\n } | {\n oneofKind: \"unpatchedDependency\";\n /**\n * @generated from protobuf field: tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency = 2\n */\n unpatchedDependency: UnpatchedDependencyAlert;\n } | {\n oneofKind: undefined;\n };\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert\n */\nexport interface InstrumentationVersionMismatchAlert {\n /**\n * @generated from protobuf field: string module_name = 1\n */\n moduleName: string;\n /**\n * @generated from protobuf field: string requested_version = 2\n */\n requestedVersion: string; // Can be empty if version not found\n /**\n * @generated from protobuf field: repeated string supported_versions = 3\n */\n supportedVersions: string[];\n}\n/**\n * @generated from protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert\n */\nexport interface UnpatchedDependencyAlert {\n /**\n * @generated from protobuf field: string stack_trace = 1\n */\n stackTrace: string;\n /**\n * @generated from protobuf field: string trace_test_server_span_id = 2\n */\n traceTestServerSpanId: string;\n}\n/**\n * @generated from protobuf enum tusk.drift.core.v1.MessageType\n */\nexport enum MessageType {\n /**\n * @generated from protobuf enum value: MESSAGE_TYPE_UNSPECIFIED = 0;\n */\n UNSPECIFIED = 0,\n /**\n * @generated from protobuf enum value: MESSAGE_TYPE_SDK_CONNECT = 1;\n */\n SDK_CONNECT = 1,\n /**\n * @generated from protobuf enum value: MESSAGE_TYPE_MOCK_REQUEST = 2;\n */\n MOCK_REQUEST = 2,\n /**\n * @generated from protobuf enum value: MESSAGE_TYPE_INBOUND_SPAN = 3;\n */\n INBOUND_SPAN = 3,\n /**\n * @generated from protobuf enum value: MESSAGE_TYPE_ALERT = 4;\n */\n ALERT = 4\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass ConnectRequest$Type extends MessageType$<ConnectRequest> {\n constructor() {\n super(\"tusk.drift.core.v1.ConnectRequest\", [\n { no: 1, name: \"service_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"sdk_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"min_cli_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"metadata\", kind: \"message\", T: () => Struct }\n ]);\n }\n create(value?: PartialMessage<ConnectRequest>): ConnectRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.serviceId = \"\";\n message.sdkVersion = \"\";\n message.minCliVersion = \"\";\n if (value !== undefined)\n reflectionMergePartial<ConnectRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectRequest): ConnectRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string service_id */ 1:\n message.serviceId = reader.string();\n break;\n case /* string sdk_version */ 2:\n message.sdkVersion = reader.string();\n break;\n case /* string min_cli_version */ 3:\n message.minCliVersion = reader.string();\n break;\n case /* google.protobuf.Struct metadata */ 4:\n message.metadata = Struct.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ConnectRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string service_id = 1; */\n if (message.serviceId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.serviceId);\n /* string sdk_version = 2; */\n if (message.sdkVersion !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.sdkVersion);\n /* string min_cli_version = 3; */\n if (message.minCliVersion !== \"\")\n writer.tag(3, WireType.LengthDelimited).string(message.minCliVersion);\n /* google.protobuf.Struct metadata = 4; */\n if (message.metadata)\n Struct.internalBinaryWrite(message.metadata, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.ConnectRequest\n */\nexport const ConnectRequest = new ConnectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ConnectResponse$Type extends MessageType$<ConnectResponse> {\n constructor() {\n super(\"tusk.drift.core.v1.ConnectResponse\", [\n { no: 1, name: \"success\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"error\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<ConnectResponse>): ConnectResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.success = false;\n message.error = \"\";\n if (value !== undefined)\n reflectionMergePartial<ConnectResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ConnectResponse): ConnectResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool success */ 1:\n message.success = reader.bool();\n break;\n case /* string error */ 2:\n message.error = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: ConnectResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool success = 1; */\n if (message.success !== false)\n writer.tag(1, WireType.Varint).bool(message.success);\n /* string error = 2; */\n if (message.error !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.error);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.ConnectResponse\n */\nexport const ConnectResponse = new ConnectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetMockRequest$Type extends MessageType$<GetMockRequest> {\n constructor() {\n super(\"tusk.drift.core.v1.GetMockRequest\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"test_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"outbound_span\", kind: \"message\", T: () => Span },\n { no: 4, name: \"stack_trace\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"operation\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"tags\", kind: \"map\", K: 9 /*ScalarType.STRING*/, V: { kind: \"scalar\", T: 9 /*ScalarType.STRING*/ } },\n { no: 7, name: \"requested_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<GetMockRequest>): GetMockRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.testId = \"\";\n message.stackTrace = \"\";\n message.operation = \"\";\n message.tags = {};\n if (value !== undefined)\n reflectionMergePartial<GetMockRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMockRequest): GetMockRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* string test_id */ 2:\n message.testId = reader.string();\n break;\n case /* tusk.drift.core.v1.Span outbound_span */ 3:\n message.outboundSpan = Span.internalBinaryRead(reader, reader.uint32(), options, message.outboundSpan);\n break;\n case /* string stack_trace */ 4:\n message.stackTrace = reader.string();\n break;\n case /* string operation */ 5:\n message.operation = reader.string();\n break;\n case /* map<string, string> tags */ 6:\n this.binaryReadMap6(message.tags, reader, options);\n break;\n case /* google.protobuf.Timestamp requested_at */ 7:\n message.requestedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.requestedAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n private binaryReadMap6(map: GetMockRequest[\"tags\"], reader: IBinaryReader, options: BinaryReadOptions): void {\n let len = reader.uint32(), end = reader.pos + len, key: keyof GetMockRequest[\"tags\"] | undefined, val: GetMockRequest[\"tags\"][any] | undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n key = reader.string();\n break;\n case 2:\n val = reader.string();\n break;\n default: throw new globalThis.Error(\"unknown map entry field for tusk.drift.core.v1.GetMockRequest.tags\");\n }\n }\n map[key ?? \"\"] = val ?? \"\";\n }\n internalBinaryWrite(message: GetMockRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* string test_id = 2; */\n if (message.testId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.testId);\n /* tusk.drift.core.v1.Span outbound_span = 3; */\n if (message.outboundSpan)\n Span.internalBinaryWrite(message.outboundSpan, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* string stack_trace = 4; */\n if (message.stackTrace !== \"\")\n writer.tag(4, WireType.LengthDelimited).string(message.stackTrace);\n /* string operation = 5; */\n if (message.operation !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.operation);\n /* map<string, string> tags = 6; */\n for (let k of globalThis.Object.keys(message.tags))\n writer.tag(6, WireType.LengthDelimited).fork().tag(1, WireType.LengthDelimited).string(k).tag(2, WireType.LengthDelimited).string(message.tags[k]).join();\n /* google.protobuf.Timestamp requested_at = 7; */\n if (message.requestedAt)\n Timestamp.internalBinaryWrite(message.requestedAt, writer.tag(7, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.GetMockRequest\n */\nexport const GetMockRequest = new GetMockRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetMockResponse$Type extends MessageType$<GetMockResponse> {\n constructor() {\n super(\"tusk.drift.core.v1.GetMockResponse\", [\n { no: 1, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"found\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 3, name: \"response_data\", kind: \"message\", T: () => Struct },\n { no: 4, name: \"metadata\", kind: \"message\", T: () => Struct },\n { no: 5, name: \"error\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"error_code\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"matched_span_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"matched_at\", kind: \"message\", T: () => Timestamp }\n ]);\n }\n create(value?: PartialMessage<GetMockResponse>): GetMockResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.requestId = \"\";\n message.found = false;\n message.error = \"\";\n message.errorCode = \"\";\n message.matchedSpanId = \"\";\n if (value !== undefined)\n reflectionMergePartial<GetMockResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GetMockResponse): GetMockResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string request_id */ 1:\n message.requestId = reader.string();\n break;\n case /* bool found */ 2:\n message.found = reader.bool();\n break;\n case /* google.protobuf.Struct response_data */ 3:\n message.responseData = Struct.internalBinaryRead(reader, reader.uint32(), options, message.responseData);\n break;\n case /* google.protobuf.Struct metadata */ 4:\n message.metadata = Struct.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\n break;\n case /* string error */ 5:\n message.error = reader.string();\n break;\n case /* string error_code */ 6:\n message.errorCode = reader.string();\n break;\n case /* string matched_span_id */ 7:\n message.matchedSpanId = reader.string();\n break;\n case /* google.protobuf.Timestamp matched_at */ 8:\n message.matchedAt = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.matchedAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: GetMockResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string request_id = 1; */\n if (message.requestId !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.requestId);\n /* bool found = 2; */\n if (message.found !== false)\n writer.tag(2, WireType.Varint).bool(message.found);\n /* google.protobuf.Struct response_data = 3; */\n if (message.responseData)\n Struct.internalBinaryWrite(message.responseData, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Struct metadata = 4; */\n if (message.metadata)\n Struct.internalBinaryWrite(message.metadata, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* string error = 5; */\n if (message.error !== \"\")\n writer.tag(5, WireType.LengthDelimited).string(message.error);\n /* string error_code = 6; */\n if (message.errorCode !== \"\")\n writer.tag(6, WireType.LengthDelimited).string(message.errorCode);\n /* string matched_span_id = 7; */\n if (message.matchedSpanId !== \"\")\n writer.tag(7, WireType.LengthDelimited).string(message.matchedSpanId);\n /* google.protobuf.Timestamp matched_at = 8; */\n if (message.matchedAt)\n Timestamp.internalBinaryWrite(message.matchedAt, writer.tag(8, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.GetMockResponse\n */\nexport const GetMockResponse = new GetMockResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SDKMessage$Type extends MessageType$<SDKMessage> {\n constructor() {\n super(\"tusk.drift.core.v1.SDKMessage\", [\n { no: 1, name: \"type\", kind: \"enum\", T: () => [\"tusk.drift.core.v1.MessageType\", MessageType, \"MESSAGE_TYPE_\"] },\n { no: 2, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"connect_request\", kind: \"message\", oneof: \"payload\", T: () => ConnectRequest },\n { no: 4, name: \"get_mock_request\", kind: \"message\", oneof: \"payload\", T: () => GetMockRequest },\n { no: 5, name: \"send_inbound_span_for_replay_request\", kind: \"message\", oneof: \"payload\", T: () => SendInboundSpanForReplayRequest },\n { no: 6, name: \"send_alert_request\", kind: \"message\", oneof: \"payload\", T: () => SendAlertRequest }\n ]);\n }\n create(value?: PartialMessage<SDKMessage>): SDKMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.type = 0;\n message.requestId = \"\";\n message.payload = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<SDKMessage>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SDKMessage): SDKMessage {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* tusk.drift.core.v1.MessageType type */ 1:\n message.type = reader.int32();\n break;\n case /* string request_id */ 2:\n message.requestId = reader.string();\n break;\n case /* tusk.drift.core.v1.ConnectRequest connect_request */ 3:\n message.payload = {\n oneofKind: \"connectRequest\",\n connectRequest: ConnectRequest.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).connectRequest)\n };\n break;\n case /* tusk.drift.core.v1.GetMockRequest get_mock_request */ 4:\n message.payload = {\n oneofKind: \"getMockRequest\",\n getMockRequest: GetMockRequest.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).getMockRequest)\n };\n break;\n case /* tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request */ 5:\n message.payload = {\n oneofKind: \"sendInboundSpanForReplayRequest\",\n sendInboundSpanForReplayRequest: SendInboundSpanForReplayRequest.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).sendInboundSpanForReplayRequest)\n };\n break;\n case /* tusk.drift.core.v1.SendAlertRequest send_alert_request */ 6:\n message.payload = {\n oneofKind: \"sendAlertRequest\",\n sendAlertRequest: SendAlertRequest.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).sendAlertRequest)\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SDKMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* tusk.drift.core.v1.MessageType type = 1; */\n if (message.type !== 0)\n writer.tag(1, WireType.Varint).int32(message.type);\n /* string request_id = 2; */\n if (message.requestId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestId);\n /* tusk.drift.core.v1.ConnectRequest connect_request = 3; */\n if (message.payload.oneofKind === \"connectRequest\")\n ConnectRequest.internalBinaryWrite(message.payload.connectRequest, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.GetMockRequest get_mock_request = 4; */\n if (message.payload.oneofKind === \"getMockRequest\")\n GetMockRequest.internalBinaryWrite(message.payload.getMockRequest, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.SendInboundSpanForReplayRequest send_inbound_span_for_replay_request = 5; */\n if (message.payload.oneofKind === \"sendInboundSpanForReplayRequest\")\n SendInboundSpanForReplayRequest.internalBinaryWrite(message.payload.sendInboundSpanForReplayRequest, writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.SendAlertRequest send_alert_request = 6; */\n if (message.payload.oneofKind === \"sendAlertRequest\")\n SendAlertRequest.internalBinaryWrite(message.payload.sendAlertRequest, writer.tag(6, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.SDKMessage\n */\nexport const SDKMessage = new SDKMessage$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CLIMessage$Type extends MessageType$<CLIMessage> {\n constructor() {\n super(\"tusk.drift.core.v1.CLIMessage\", [\n { no: 1, name: \"type\", kind: \"enum\", T: () => [\"tusk.drift.core.v1.MessageType\", MessageType, \"MESSAGE_TYPE_\"] },\n { no: 2, name: \"request_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"connect_response\", kind: \"message\", oneof: \"payload\", T: () => ConnectResponse },\n { no: 4, name: \"get_mock_response\", kind: \"message\", oneof: \"payload\", T: () => GetMockResponse },\n { no: 5, name: \"send_inbound_span_for_replay_response\", kind: \"message\", oneof: \"payload\", T: () => SendInboundSpanForReplayResponse }\n ]);\n }\n create(value?: PartialMessage<CLIMessage>): CLIMessage {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.type = 0;\n message.requestId = \"\";\n message.payload = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<CLIMessage>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CLIMessage): CLIMessage {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* tusk.drift.core.v1.MessageType type */ 1:\n message.type = reader.int32();\n break;\n case /* string request_id */ 2:\n message.requestId = reader.string();\n break;\n case /* tusk.drift.core.v1.ConnectResponse connect_response */ 3:\n message.payload = {\n oneofKind: \"connectResponse\",\n connectResponse: ConnectResponse.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).connectResponse)\n };\n break;\n case /* tusk.drift.core.v1.GetMockResponse get_mock_response */ 4:\n message.payload = {\n oneofKind: \"getMockResponse\",\n getMockResponse: GetMockResponse.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).getMockResponse)\n };\n break;\n case /* tusk.drift.core.v1.SendInboundSpanForReplayResponse send_inbound_span_for_replay_response */ 5:\n message.payload = {\n oneofKind: \"sendInboundSpanForReplayResponse\",\n sendInboundSpanForReplayResponse: SendInboundSpanForReplayResponse.internalBinaryRead(reader, reader.uint32(), options, (message.payload as any).sendInboundSpanForReplayResponse)\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: CLIMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* tusk.drift.core.v1.MessageType type = 1; */\n if (message.type !== 0)\n writer.tag(1, WireType.Varint).int32(message.type);\n /* string request_id = 2; */\n if (message.requestId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestId);\n /* tusk.drift.core.v1.ConnectResponse connect_response = 3; */\n if (message.payload.oneofKind === \"connectResponse\")\n ConnectResponse.internalBinaryWrite(message.payload.connectResponse, writer.tag(3, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.GetMockResponse get_mock_response = 4; */\n if (message.payload.oneofKind === \"getMockResponse\")\n GetMockResponse.internalBinaryWrite(message.payload.getMockResponse, writer.tag(4, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.SendInboundSpanForReplayResponse send_inbound_span_for_replay_response = 5; */\n if (message.payload.oneofKind === \"sendInboundSpanForReplayResponse\")\n SendInboundSpanForReplayResponse.internalBinaryWrite(message.payload.sendInboundSpanForReplayResponse, writer.tag(5, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.CLIMessage\n */\nexport const CLIMessage = new CLIMessage$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SendInboundSpanForReplayRequest$Type extends MessageType$<SendInboundSpanForReplayRequest> {\n constructor() {\n super(\"tusk.drift.core.v1.SendInboundSpanForReplayRequest\", [\n { no: 1, name: \"span\", kind: \"message\", T: () => Span }\n ]);\n }\n create(value?: PartialMessage<SendInboundSpanForReplayRequest>): SendInboundSpanForReplayRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n if (value !== undefined)\n reflectionMergePartial<SendInboundSpanForReplayRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendInboundSpanForReplayRequest): SendInboundSpanForReplayRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* tusk.drift.core.v1.Span span */ 1:\n message.span = Span.internalBinaryRead(reader, reader.uint32(), options, message.span);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SendInboundSpanForReplayRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* tusk.drift.core.v1.Span span = 1; */\n if (message.span)\n Span.internalBinaryWrite(message.span, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayRequest\n */\nexport const SendInboundSpanForReplayRequest = new SendInboundSpanForReplayRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SendInboundSpanForReplayResponse$Type extends MessageType$<SendInboundSpanForReplayResponse> {\n constructor() {\n super(\"tusk.drift.core.v1.SendInboundSpanForReplayResponse\", [\n { no: 1, name: \"success\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n create(value?: PartialMessage<SendInboundSpanForReplayResponse>): SendInboundSpanForReplayResponse {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.success = false;\n if (value !== undefined)\n reflectionMergePartial<SendInboundSpanForReplayResponse>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendInboundSpanForReplayResponse): SendInboundSpanForReplayResponse {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool success */ 1:\n message.success = reader.bool();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SendInboundSpanForReplayResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* bool success = 1; */\n if (message.success !== false)\n writer.tag(1, WireType.Varint).bool(message.success);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.SendInboundSpanForReplayResponse\n */\nexport const SendInboundSpanForReplayResponse = new SendInboundSpanForReplayResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass SendAlertRequest$Type extends MessageType$<SendAlertRequest> {\n constructor() {\n super(\"tusk.drift.core.v1.SendAlertRequest\", [\n { no: 1, name: \"version_mismatch\", kind: \"message\", oneof: \"alert\", T: () => InstrumentationVersionMismatchAlert },\n { no: 2, name: \"unpatched_dependency\", kind: \"message\", oneof: \"alert\", T: () => UnpatchedDependencyAlert }\n ]);\n }\n create(value?: PartialMessage<SendAlertRequest>): SendAlertRequest {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.alert = { oneofKind: undefined };\n if (value !== undefined)\n reflectionMergePartial<SendAlertRequest>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SendAlertRequest): SendAlertRequest {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch */ 1:\n message.alert = {\n oneofKind: \"versionMismatch\",\n versionMismatch: InstrumentationVersionMismatchAlert.internalBinaryRead(reader, reader.uint32(), options, (message.alert as any).versionMismatch)\n };\n break;\n case /* tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency */ 2:\n message.alert = {\n oneofKind: \"unpatchedDependency\",\n unpatchedDependency: UnpatchedDependencyAlert.internalBinaryRead(reader, reader.uint32(), options, (message.alert as any).unpatchedDependency)\n };\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: SendAlertRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* tusk.drift.core.v1.InstrumentationVersionMismatchAlert version_mismatch = 1; */\n if (message.alert.oneofKind === \"versionMismatch\")\n InstrumentationVersionMismatchAlert.internalBinaryWrite(message.alert.versionMismatch, writer.tag(1, WireType.LengthDelimited).fork(), options).join();\n /* tusk.drift.core.v1.UnpatchedDependencyAlert unpatched_dependency = 2; */\n if (message.alert.oneofKind === \"unpatchedDependency\")\n UnpatchedDependencyAlert.internalBinaryWrite(message.alert.unpatchedDependency, writer.tag(2, WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.SendAlertRequest\n */\nexport const SendAlertRequest = new SendAlertRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass InstrumentationVersionMismatchAlert$Type extends MessageType$<InstrumentationVersionMismatchAlert> {\n constructor() {\n super(\"tusk.drift.core.v1.InstrumentationVersionMismatchAlert\", [\n { no: 1, name: \"module_name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"requested_version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"supported_versions\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<InstrumentationVersionMismatchAlert>): InstrumentationVersionMismatchAlert {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.moduleName = \"\";\n message.requestedVersion = \"\";\n message.supportedVersions = [];\n if (value !== undefined)\n reflectionMergePartial<InstrumentationVersionMismatchAlert>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: InstrumentationVersionMismatchAlert): InstrumentationVersionMismatchAlert {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string module_name */ 1:\n message.moduleName = reader.string();\n break;\n case /* string requested_version */ 2:\n message.requestedVersion = reader.string();\n break;\n case /* repeated string supported_versions */ 3:\n message.supportedVersions.push(reader.string());\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: InstrumentationVersionMismatchAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string module_name = 1; */\n if (message.moduleName !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.moduleName);\n /* string requested_version = 2; */\n if (message.requestedVersion !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.requestedVersion);\n /* repeated string supported_versions = 3; */\n for (let i = 0; i < message.supportedVersions.length; i++)\n writer.tag(3, WireType.LengthDelimited).string(message.supportedVersions[i]);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.InstrumentationVersionMismatchAlert\n */\nexport const InstrumentationVersionMismatchAlert = new InstrumentationVersionMismatchAlert$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass UnpatchedDependencyAlert$Type extends MessageType$<UnpatchedDependencyAlert> {\n constructor() {\n super(\"tusk.drift.core.v1.UnpatchedDependencyAlert\", [\n { no: 1, name: \"stack_trace\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"trace_test_server_span_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value?: PartialMessage<UnpatchedDependencyAlert>): UnpatchedDependencyAlert {\n const message = globalThis.Object.create((this.messagePrototype!));\n message.stackTrace = \"\";\n message.traceTestServerSpanId = \"\";\n if (value !== undefined)\n reflectionMergePartial<UnpatchedDependencyAlert>(this, message, value);\n return message;\n }\n internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnpatchedDependencyAlert): UnpatchedDependencyAlert {\n let message = target ?? this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string stack_trace */ 1:\n message.stackTrace = reader.string();\n break;\n case /* string trace_test_server_span_id */ 2:\n message.traceTestServerSpanId = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message: UnpatchedDependencyAlert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {\n /* string stack_trace = 1; */\n if (message.stackTrace !== \"\")\n writer.tag(1, WireType.LengthDelimited).string(message.stackTrace);\n /* string trace_test_server_span_id = 2; */\n if (message.traceTestServerSpanId !== \"\")\n writer.tag(2, WireType.LengthDelimited).string(message.traceTestServerSpanId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message tusk.drift.core.v1.UnpatchedDependencyAlert\n */\nexport const UnpatchedDependencyAlert = new UnpatchedDependencyAlert$Type();\n/**\n * @generated ServiceType for protobuf service tusk.drift.core.v1.MockService\n */\nexport const MockService = new ServiceType(\"tusk.drift.core.v1.MockService\", [\n { name: \"Connect\", options: {}, I: ConnectRequest, O: ConnectResponse },\n { name: \"GetMock\", options: {}, I: GetMockRequest, O: GetMockResponse },\n { name: \"SendInboundSpanForReplay\", options: {}, I: SendInboundSpanForReplayRequest, O: SendInboundSpanForReplayResponse }\n]);\n"],"mappings":";;;;;;;;;;;;;AA8RA,IAAY,sDAAL;;;;AAIH;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;AAGJ,IAAM,sBAAN,cAAkCA,kCAA6B;CAC3D,cAAc;AACV,QAAM,qCAAqC;GACvC;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAU,GAAG;IAAyB;GACzE;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,GAAG;IAAyB;GAC1E;IAAE,IAAI;IAAG,MAAM;IAAmB,MAAM;IAAU,GAAG;IAAyB;GAC9E;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAW,SAASC;IAAQ;GAChE,CAAC;;CAEN,OAAO,OAAwD;EAC3D,MAAM,UAAU,WAAW,OAAO,OAAQ,KAAK,iBAAmB;AAClE,UAAQ,YAAY;AACpB,UAAQ,aAAa;AACrB,UAAQ,gBAAgB;AACxB,MAAI,UAAU,OACV,mDAAuC,MAAM,SAAS,MAAM;AAChE,SAAO;;CAEX,m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