@xdarkicex/openclaw-memory-libravdb 1.4.8 → 1.4.9

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.
@@ -0,0 +1,2800 @@
1
+ // @generated by protoc-gen-es v1.7.2 with parameter "target=ts"
2
+ // @generated from file libravdb/ipc/v1/rpc.proto (package libravdb.ipc.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3, protoInt64, Struct } from "@bufbuild/protobuf";
6
+ /**
7
+ * @generated from message libravdb.ipc.v1.RpcRequest
8
+ */
9
+ export class RpcRequest extends Message {
10
+ /**
11
+ * @generated from field: uint64 id = 1;
12
+ */
13
+ id = protoInt64.zero;
14
+ /**
15
+ * @generated from field: string method = 2;
16
+ */
17
+ method = "";
18
+ /**
19
+ * @generated from field: bytes params = 3;
20
+ */
21
+ params = new Uint8Array(0);
22
+ constructor(data) {
23
+ super();
24
+ proto3.util.initPartial(data, this);
25
+ }
26
+ static runtime = proto3;
27
+ static typeName = "libravdb.ipc.v1.RpcRequest";
28
+ static fields = proto3.util.newFieldList(() => [
29
+ { no: 1, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
30
+ { no: 2, name: "method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
31
+ { no: 3, name: "params", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
32
+ ]);
33
+ static fromBinary(bytes, options) {
34
+ return new RpcRequest().fromBinary(bytes, options);
35
+ }
36
+ static fromJson(jsonValue, options) {
37
+ return new RpcRequest().fromJson(jsonValue, options);
38
+ }
39
+ static fromJsonString(jsonString, options) {
40
+ return new RpcRequest().fromJsonString(jsonString, options);
41
+ }
42
+ static equals(a, b) {
43
+ return proto3.util.equals(RpcRequest, a, b);
44
+ }
45
+ }
46
+ /**
47
+ * @generated from message libravdb.ipc.v1.RpcResponse
48
+ */
49
+ export class RpcResponse extends Message {
50
+ /**
51
+ * @generated from field: uint64 id = 1;
52
+ */
53
+ id = protoInt64.zero;
54
+ /**
55
+ * @generated from field: bytes result = 2;
56
+ */
57
+ result = new Uint8Array(0);
58
+ /**
59
+ * @generated from field: libravdb.ipc.v1.RpcError error = 3;
60
+ */
61
+ error;
62
+ constructor(data) {
63
+ super();
64
+ proto3.util.initPartial(data, this);
65
+ }
66
+ static runtime = proto3;
67
+ static typeName = "libravdb.ipc.v1.RpcResponse";
68
+ static fields = proto3.util.newFieldList(() => [
69
+ { no: 1, name: "id", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
70
+ { no: 2, name: "result", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
71
+ { no: 3, name: "error", kind: "message", T: RpcError },
72
+ ]);
73
+ static fromBinary(bytes, options) {
74
+ return new RpcResponse().fromBinary(bytes, options);
75
+ }
76
+ static fromJson(jsonValue, options) {
77
+ return new RpcResponse().fromJson(jsonValue, options);
78
+ }
79
+ static fromJsonString(jsonString, options) {
80
+ return new RpcResponse().fromJsonString(jsonString, options);
81
+ }
82
+ static equals(a, b) {
83
+ return proto3.util.equals(RpcResponse, a, b);
84
+ }
85
+ }
86
+ /**
87
+ * @generated from message libravdb.ipc.v1.RpcError
88
+ */
89
+ export class RpcError extends Message {
90
+ /**
91
+ * @generated from field: string message = 1;
92
+ */
93
+ message = "";
94
+ /**
95
+ * @generated from field: int32 code = 2;
96
+ */
97
+ code = 0;
98
+ constructor(data) {
99
+ super();
100
+ proto3.util.initPartial(data, this);
101
+ }
102
+ static runtime = proto3;
103
+ static typeName = "libravdb.ipc.v1.RpcError";
104
+ static fields = proto3.util.newFieldList(() => [
105
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
106
+ { no: 2, name: "code", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
107
+ ]);
108
+ static fromBinary(bytes, options) {
109
+ return new RpcError().fromBinary(bytes, options);
110
+ }
111
+ static fromJson(jsonValue, options) {
112
+ return new RpcError().fromJson(jsonValue, options);
113
+ }
114
+ static fromJsonString(jsonString, options) {
115
+ return new RpcError().fromJsonString(jsonString, options);
116
+ }
117
+ static equals(a, b) {
118
+ return proto3.util.equals(RpcError, a, b);
119
+ }
120
+ }
121
+ /**
122
+ * Proto map values cannot be repeated; wrap string slices for exclude_by_collection.
123
+ *
124
+ * @generated from message libravdb.ipc.v1.StringList
125
+ */
126
+ export class StringList extends Message {
127
+ /**
128
+ * @generated from field: repeated string values = 1;
129
+ */
130
+ values = [];
131
+ constructor(data) {
132
+ super();
133
+ proto3.util.initPartial(data, this);
134
+ }
135
+ static runtime = proto3;
136
+ static typeName = "libravdb.ipc.v1.StringList";
137
+ static fields = proto3.util.newFieldList(() => [
138
+ { no: 1, name: "values", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
139
+ ]);
140
+ static fromBinary(bytes, options) {
141
+ return new StringList().fromBinary(bytes, options);
142
+ }
143
+ static fromJson(jsonValue, options) {
144
+ return new StringList().fromJson(jsonValue, options);
145
+ }
146
+ static fromJsonString(jsonString, options) {
147
+ return new StringList().fromJsonString(jsonString, options);
148
+ }
149
+ static equals(a, b) {
150
+ return proto3.util.equals(StringList, a, b);
151
+ }
152
+ }
153
+ /**
154
+ * Mirrors store.SearchResult (libravdbd/store/libravdb.go).
155
+ *
156
+ * @generated from message libravdb.ipc.v1.SearchResult
157
+ */
158
+ export class SearchResult extends Message {
159
+ /**
160
+ * @generated from field: string id = 1;
161
+ */
162
+ id = "";
163
+ /**
164
+ * @generated from field: double score = 2;
165
+ */
166
+ score = 0;
167
+ /**
168
+ * @generated from field: string text = 3;
169
+ */
170
+ text = "";
171
+ /**
172
+ * @generated from field: google.protobuf.Struct metadata = 4;
173
+ */
174
+ metadata;
175
+ /**
176
+ * @generated from field: uint64 version = 5;
177
+ */
178
+ version = protoInt64.zero;
179
+ constructor(data) {
180
+ super();
181
+ proto3.util.initPartial(data, this);
182
+ }
183
+ static runtime = proto3;
184
+ static typeName = "libravdb.ipc.v1.SearchResult";
185
+ static fields = proto3.util.newFieldList(() => [
186
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
+ { no: 2, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
188
+ { no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
189
+ { no: 4, name: "metadata", kind: "message", T: Struct },
190
+ { no: 5, name: "version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
191
+ ]);
192
+ static fromBinary(bytes, options) {
193
+ return new SearchResult().fromBinary(bytes, options);
194
+ }
195
+ static fromJson(jsonValue, options) {
196
+ return new SearchResult().fromJson(jsonValue, options);
197
+ }
198
+ static fromJsonString(jsonString, options) {
199
+ return new SearchResult().fromJsonString(jsonString, options);
200
+ }
201
+ static equals(a, b) {
202
+ return proto3.util.equals(SearchResult, a, b);
203
+ }
204
+ }
205
+ /**
206
+ * @generated from message libravdb.ipc.v1.MarkdownSourceMeta
207
+ */
208
+ export class MarkdownSourceMeta extends Message {
209
+ /**
210
+ * @generated from field: string source_root = 1;
211
+ */
212
+ sourceRoot = "";
213
+ /**
214
+ * @generated from field: string source_path = 2;
215
+ */
216
+ sourcePath = "";
217
+ /**
218
+ * @generated from field: string source_kind = 3;
219
+ */
220
+ sourceKind = "";
221
+ /**
222
+ * @generated from field: string file_hash = 4;
223
+ */
224
+ fileHash = "";
225
+ /**
226
+ * @generated from field: int64 source_size = 5;
227
+ */
228
+ sourceSize = protoInt64.zero;
229
+ /**
230
+ * @generated from field: int64 source_mtime_ms = 6;
231
+ */
232
+ sourceMtimeMs = protoInt64.zero;
233
+ /**
234
+ * @generated from field: int32 ingest_version = 7;
235
+ */
236
+ ingestVersion = 0;
237
+ /**
238
+ * @generated from field: string hash_backend = 8;
239
+ */
240
+ hashBackend = "";
241
+ constructor(data) {
242
+ super();
243
+ proto3.util.initPartial(data, this);
244
+ }
245
+ static runtime = proto3;
246
+ static typeName = "libravdb.ipc.v1.MarkdownSourceMeta";
247
+ static fields = proto3.util.newFieldList(() => [
248
+ { no: 1, name: "source_root", kind: "scalar", T: 9 /* ScalarType.STRING */ },
249
+ { no: 2, name: "source_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
250
+ { no: 3, name: "source_kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
251
+ { no: 4, name: "file_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
252
+ { no: 5, name: "source_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
253
+ { no: 6, name: "source_mtime_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
254
+ { no: 7, name: "ingest_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
255
+ { no: 8, name: "hash_backend", kind: "scalar", T: 9 /* ScalarType.STRING */ },
256
+ ]);
257
+ static fromBinary(bytes, options) {
258
+ return new MarkdownSourceMeta().fromBinary(bytes, options);
259
+ }
260
+ static fromJson(jsonValue, options) {
261
+ return new MarkdownSourceMeta().fromJson(jsonValue, options);
262
+ }
263
+ static fromJsonString(jsonString, options) {
264
+ return new MarkdownSourceMeta().fromJsonString(jsonString, options);
265
+ }
266
+ static equals(a, b) {
267
+ return proto3.util.equals(MarkdownSourceMeta, a, b);
268
+ }
269
+ }
270
+ /**
271
+ * @generated from message libravdb.ipc.v1.DreamPromotionEntry
272
+ */
273
+ export class DreamPromotionEntry extends Message {
274
+ /**
275
+ * @generated from field: string text = 1;
276
+ */
277
+ text = "";
278
+ /**
279
+ * @generated from field: double score = 2;
280
+ */
281
+ score = 0;
282
+ /**
283
+ * @generated from field: int32 recall_count = 3;
284
+ */
285
+ recallCount = 0;
286
+ /**
287
+ * @generated from field: int32 unique_queries = 4;
288
+ */
289
+ uniqueQueries = 0;
290
+ /**
291
+ * @generated from field: string section = 5;
292
+ */
293
+ section = "";
294
+ /**
295
+ * @generated from field: int32 line = 6;
296
+ */
297
+ line = 0;
298
+ /**
299
+ * @generated from field: int32 source_line = 7;
300
+ */
301
+ sourceLine = 0;
302
+ /**
303
+ * @generated from field: google.protobuf.Struct metadata = 8;
304
+ */
305
+ metadata;
306
+ constructor(data) {
307
+ super();
308
+ proto3.util.initPartial(data, this);
309
+ }
310
+ static runtime = proto3;
311
+ static typeName = "libravdb.ipc.v1.DreamPromotionEntry";
312
+ static fields = proto3.util.newFieldList(() => [
313
+ { no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
314
+ { no: 2, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
315
+ { no: 3, name: "recall_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
316
+ { no: 4, name: "unique_queries", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
317
+ { no: 5, name: "section", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
+ { no: 6, name: "line", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
319
+ { no: 7, name: "source_line", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
320
+ { no: 8, name: "metadata", kind: "message", T: Struct },
321
+ ]);
322
+ static fromBinary(bytes, options) {
323
+ return new DreamPromotionEntry().fromBinary(bytes, options);
324
+ }
325
+ static fromJson(jsonValue, options) {
326
+ return new DreamPromotionEntry().fromJson(jsonValue, options);
327
+ }
328
+ static fromJsonString(jsonString, options) {
329
+ return new DreamPromotionEntry().fromJsonString(jsonString, options);
330
+ }
331
+ static equals(a, b) {
332
+ return proto3.util.equals(DreamPromotionEntry, a, b);
333
+ }
334
+ }
335
+ /**
336
+ * @generated from message libravdb.ipc.v1.AccessCountUpdate
337
+ */
338
+ export class AccessCountUpdate extends Message {
339
+ /**
340
+ * @generated from field: string collection = 1;
341
+ */
342
+ collection = "";
343
+ /**
344
+ * @generated from field: repeated string ids = 2;
345
+ */
346
+ ids = [];
347
+ constructor(data) {
348
+ super();
349
+ proto3.util.initPartial(data, this);
350
+ }
351
+ static runtime = proto3;
352
+ static typeName = "libravdb.ipc.v1.AccessCountUpdate";
353
+ static fields = proto3.util.newFieldList(() => [
354
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
355
+ { no: 2, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
356
+ ]);
357
+ static fromBinary(bytes, options) {
358
+ return new AccessCountUpdate().fromBinary(bytes, options);
359
+ }
360
+ static fromJson(jsonValue, options) {
361
+ return new AccessCountUpdate().fromJson(jsonValue, options);
362
+ }
363
+ static fromJsonString(jsonString, options) {
364
+ return new AccessCountUpdate().fromJsonString(jsonString, options);
365
+ }
366
+ static equals(a, b) {
367
+ return proto3.util.equals(AccessCountUpdate, a, b);
368
+ }
369
+ }
370
+ /**
371
+ * Kernel message (libravdbd/server/kernel_handlers.go kernelMessage).
372
+ *
373
+ * @generated from message libravdb.ipc.v1.KernelMessage
374
+ */
375
+ export class KernelMessage extends Message {
376
+ /**
377
+ * @generated from field: string role = 1;
378
+ */
379
+ role = "";
380
+ /**
381
+ * @generated from field: string content = 2;
382
+ */
383
+ content = "";
384
+ /**
385
+ * @generated from field: string id = 3;
386
+ */
387
+ id = "";
388
+ constructor(data) {
389
+ super();
390
+ proto3.util.initPartial(data, this);
391
+ }
392
+ static runtime = proto3;
393
+ static typeName = "libravdb.ipc.v1.KernelMessage";
394
+ static fields = proto3.util.newFieldList(() => [
395
+ { no: 1, name: "role", kind: "scalar", T: 9 /* ScalarType.STRING */ },
396
+ { no: 2, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
+ { no: 3, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
+ ]);
399
+ static fromBinary(bytes, options) {
400
+ return new KernelMessage().fromBinary(bytes, options);
401
+ }
402
+ static fromJson(jsonValue, options) {
403
+ return new KernelMessage().fromJson(jsonValue, options);
404
+ }
405
+ static fromJsonString(jsonString, options) {
406
+ return new KernelMessage().fromJsonString(jsonString, options);
407
+ }
408
+ static equals(a, b) {
409
+ return proto3.util.equals(KernelMessage, a, b);
410
+ }
411
+ }
412
+ /**
413
+ * assemble_context_internal debug is arbitrary JSON in the current daemon.
414
+ *
415
+ * @generated from message libravdb.ipc.v1.AssembleContextInternalResponse
416
+ */
417
+ export class AssembleContextInternalResponse extends Message {
418
+ /**
419
+ * @generated from field: repeated libravdb.ipc.v1.KernelMessage messages = 1;
420
+ */
421
+ messages = [];
422
+ /**
423
+ * @generated from field: int32 estimated_tokens = 2;
424
+ */
425
+ estimatedTokens = 0;
426
+ /**
427
+ * @generated from field: string system_prompt_addition = 3;
428
+ */
429
+ systemPromptAddition = "";
430
+ /**
431
+ * @generated from field: libravdb.ipc.v1.AssemblyDebug debug = 4;
432
+ */
433
+ debug;
434
+ constructor(data) {
435
+ super();
436
+ proto3.util.initPartial(data, this);
437
+ }
438
+ static runtime = proto3;
439
+ static typeName = "libravdb.ipc.v1.AssembleContextInternalResponse";
440
+ static fields = proto3.util.newFieldList(() => [
441
+ { no: 1, name: "messages", kind: "message", T: KernelMessage, repeated: true },
442
+ { no: 2, name: "estimated_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
443
+ { no: 3, name: "system_prompt_addition", kind: "scalar", T: 9 /* ScalarType.STRING */ },
444
+ { no: 4, name: "debug", kind: "message", T: AssemblyDebug },
445
+ ]);
446
+ static fromBinary(bytes, options) {
447
+ return new AssembleContextInternalResponse().fromBinary(bytes, options);
448
+ }
449
+ static fromJson(jsonValue, options) {
450
+ return new AssembleContextInternalResponse().fromJson(jsonValue, options);
451
+ }
452
+ static fromJsonString(jsonString, options) {
453
+ return new AssembleContextInternalResponse().fromJsonString(jsonString, options);
454
+ }
455
+ static equals(a, b) {
456
+ return proto3.util.equals(AssembleContextInternalResponse, a, b);
457
+ }
458
+ }
459
+ /**
460
+ * Typed debug payload for assemble_context_internal.
461
+ * Mirrors the fields produced by the transport layer's assembleDebugToProto.
462
+ *
463
+ * @generated from message libravdb.ipc.v1.AssemblyDebug
464
+ */
465
+ export class AssemblyDebug extends Message {
466
+ /**
467
+ * @generated from field: bool recovery_trigger_fired = 1;
468
+ */
469
+ recoveryTriggerFired = false;
470
+ /**
471
+ * @generated from field: bool cross_session_raw_recovery = 2;
472
+ */
473
+ crossSessionRawRecovery = false;
474
+ /**
475
+ * @generated from field: int32 recovery_reserve_tokens = 3;
476
+ */
477
+ recoveryReserveTokens = 0;
478
+ /**
479
+ * @generated from field: repeated libravdb.ipc.v1.RecoveryOrderEntry recovery_deduped_order = 4;
480
+ */
481
+ recoveryDedupedOrder = [];
482
+ /**
483
+ * @generated from field: repeated libravdb.ipc.v1.RecoveryOrderEntry recovery_fitted_order = 5;
484
+ */
485
+ recoveryFittedOrder = [];
486
+ constructor(data) {
487
+ super();
488
+ proto3.util.initPartial(data, this);
489
+ }
490
+ static runtime = proto3;
491
+ static typeName = "libravdb.ipc.v1.AssemblyDebug";
492
+ static fields = proto3.util.newFieldList(() => [
493
+ { no: 1, name: "recovery_trigger_fired", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
494
+ { no: 2, name: "cross_session_raw_recovery", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
495
+ { no: 3, name: "recovery_reserve_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
496
+ { no: 4, name: "recovery_deduped_order", kind: "message", T: RecoveryOrderEntry, repeated: true },
497
+ { no: 5, name: "recovery_fitted_order", kind: "message", T: RecoveryOrderEntry, repeated: true },
498
+ ]);
499
+ static fromBinary(bytes, options) {
500
+ return new AssemblyDebug().fromBinary(bytes, options);
501
+ }
502
+ static fromJson(jsonValue, options) {
503
+ return new AssemblyDebug().fromJson(jsonValue, options);
504
+ }
505
+ static fromJsonString(jsonString, options) {
506
+ return new AssemblyDebug().fromJsonString(jsonString, options);
507
+ }
508
+ static equals(a, b) {
509
+ return proto3.util.equals(AssemblyDebug, a, b);
510
+ }
511
+ }
512
+ /**
513
+ * @generated from message libravdb.ipc.v1.RecoveryOrderEntry
514
+ */
515
+ export class RecoveryOrderEntry extends Message {
516
+ /**
517
+ * @generated from field: string id = 1;
518
+ */
519
+ id = "";
520
+ /**
521
+ * @generated from field: string recovery_scope = 2;
522
+ */
523
+ recoveryScope = "";
524
+ /**
525
+ * @generated from field: double final_score = 3;
526
+ */
527
+ finalScore = 0;
528
+ /**
529
+ * @generated from field: int32 token_estimate = 4;
530
+ */
531
+ tokenEstimate = 0;
532
+ constructor(data) {
533
+ super();
534
+ proto3.util.initPartial(data, this);
535
+ }
536
+ static runtime = proto3;
537
+ static typeName = "libravdb.ipc.v1.RecoveryOrderEntry";
538
+ static fields = proto3.util.newFieldList(() => [
539
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
540
+ { no: 2, name: "recovery_scope", kind: "scalar", T: 9 /* ScalarType.STRING */ },
541
+ { no: 3, name: "final_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
542
+ { no: 4, name: "token_estimate", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
543
+ ]);
544
+ static fromBinary(bytes, options) {
545
+ return new RecoveryOrderEntry().fromBinary(bytes, options);
546
+ }
547
+ static fromJson(jsonValue, options) {
548
+ return new RecoveryOrderEntry().fromJson(jsonValue, options);
549
+ }
550
+ static fromJsonString(jsonString, options) {
551
+ return new RecoveryOrderEntry().fromJsonString(jsonString, options);
552
+ }
553
+ static equals(a, b) {
554
+ return proto3.util.equals(RecoveryOrderEntry, a, b);
555
+ }
556
+ }
557
+ /**
558
+ * Pointer-backed overrides: optional preserves unset vs zero for Go migration.
559
+ *
560
+ * @generated from message libravdb.ipc.v1.AssembleConfigOverrides
561
+ */
562
+ export class AssembleConfigOverrides extends Message {
563
+ /**
564
+ * @generated from field: optional bool use_session_recall_projection = 1;
565
+ */
566
+ useSessionRecallProjection;
567
+ /**
568
+ * @generated from field: optional bool use_session_summary_search_experiment = 2;
569
+ */
570
+ useSessionSummarySearchExperiment;
571
+ /**
572
+ * @generated from field: optional double token_budget_fraction = 3;
573
+ */
574
+ tokenBudgetFraction;
575
+ /**
576
+ * @generated from field: optional double authored_hard_budget_fraction = 4;
577
+ */
578
+ authoredHardBudgetFraction;
579
+ /**
580
+ * @generated from field: optional double authored_soft_budget_fraction = 5;
581
+ */
582
+ authoredSoftBudgetFraction;
583
+ /**
584
+ * @generated from field: optional double elevated_guidance_budget_fraction = 6;
585
+ */
586
+ elevatedGuidanceBudgetFraction;
587
+ /**
588
+ * @generated from field: optional int32 top_k = 7;
589
+ */
590
+ topK;
591
+ /**
592
+ * @generated from field: optional int32 continuity_min_turns = 8;
593
+ */
594
+ continuityMinTurns;
595
+ /**
596
+ * @generated from field: optional int32 continuity_tail_budget_tokens = 9;
597
+ */
598
+ continuityTailBudgetTokens;
599
+ /**
600
+ * @generated from field: optional int32 continuity_prior_context_tokens = 10;
601
+ */
602
+ continuityPriorContextTokens;
603
+ /**
604
+ * @generated from field: optional int32 compact_threshold = 11;
605
+ */
606
+ compactThreshold;
607
+ /**
608
+ * @generated from field: optional int32 compact_session_token_budget = 12;
609
+ */
610
+ compactSessionTokenBudget;
611
+ /**
612
+ * @generated from field: optional double section7_theta1 = 13;
613
+ */
614
+ section7Theta1;
615
+ /**
616
+ * @generated from field: optional double section7_kappa = 14;
617
+ */
618
+ section7Kappa;
619
+ /**
620
+ * @generated from field: optional double section7_hop_eta = 15;
621
+ */
622
+ section7HopEta;
623
+ /**
624
+ * @generated from field: optional double section7_hop_threshold = 16;
625
+ */
626
+ section7HopThreshold;
627
+ /**
628
+ * @generated from field: optional int32 section7_coarse_top_k = 17;
629
+ */
630
+ section7CoarseTopK;
631
+ /**
632
+ * @generated from field: optional int32 section7_second_pass_top_k = 18;
633
+ */
634
+ section7SecondPassTopK;
635
+ /**
636
+ * @generated from field: optional double section7_authority_recency_lambda = 19;
637
+ */
638
+ section7AuthorityRecencyLambda;
639
+ /**
640
+ * @generated from field: optional double section7_authority_recency_weight = 20;
641
+ */
642
+ section7AuthorityRecencyWeight;
643
+ /**
644
+ * @generated from field: optional double section7_authority_frequency_weight = 21;
645
+ */
646
+ section7AuthorityFrequencyWeight;
647
+ /**
648
+ * @generated from field: optional double section7_authority_authored_weight = 22;
649
+ */
650
+ section7AuthorityAuthoredWeight;
651
+ /**
652
+ * @generated from field: optional double recovery_floor_score = 23;
653
+ */
654
+ recoveryFloorScore;
655
+ /**
656
+ * @generated from field: optional int32 recovery_min_top_k = 24;
657
+ */
658
+ recoveryMinTopK;
659
+ /**
660
+ * @generated from field: optional double recovery_min_confidence_mean = 25;
661
+ */
662
+ recoveryMinConfidenceMean;
663
+ /**
664
+ * @generated from field: optional double recency_lambda_session = 26;
665
+ */
666
+ recencyLambdaSession;
667
+ /**
668
+ * @generated from field: optional double recency_lambda_user = 27;
669
+ */
670
+ recencyLambdaUser;
671
+ /**
672
+ * @generated from field: optional double recency_lambda_global = 28;
673
+ */
674
+ recencyLambdaGlobal;
675
+ /**
676
+ * @generated from field: optional double ingestion_gate_threshold = 29;
677
+ */
678
+ ingestionGateThreshold;
679
+ constructor(data) {
680
+ super();
681
+ proto3.util.initPartial(data, this);
682
+ }
683
+ static runtime = proto3;
684
+ static typeName = "libravdb.ipc.v1.AssembleConfigOverrides";
685
+ static fields = proto3.util.newFieldList(() => [
686
+ { no: 1, name: "use_session_recall_projection", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
687
+ { no: 2, name: "use_session_summary_search_experiment", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
688
+ { no: 3, name: "token_budget_fraction", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
689
+ { no: 4, name: "authored_hard_budget_fraction", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
690
+ { no: 5, name: "authored_soft_budget_fraction", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
691
+ { no: 6, name: "elevated_guidance_budget_fraction", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
692
+ { no: 7, name: "top_k", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
693
+ { no: 8, name: "continuity_min_turns", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
694
+ { no: 9, name: "continuity_tail_budget_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
695
+ { no: 10, name: "continuity_prior_context_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
696
+ { no: 11, name: "compact_threshold", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
697
+ { no: 12, name: "compact_session_token_budget", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
698
+ { no: 13, name: "section7_theta1", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
699
+ { no: 14, name: "section7_kappa", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
700
+ { no: 15, name: "section7_hop_eta", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
701
+ { no: 16, name: "section7_hop_threshold", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
702
+ { no: 17, name: "section7_coarse_top_k", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
703
+ { no: 18, name: "section7_second_pass_top_k", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
704
+ { no: 19, name: "section7_authority_recency_lambda", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
705
+ { no: 20, name: "section7_authority_recency_weight", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
706
+ { no: 21, name: "section7_authority_frequency_weight", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
707
+ { no: 22, name: "section7_authority_authored_weight", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
708
+ { no: 23, name: "recovery_floor_score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
709
+ { no: 24, name: "recovery_min_top_k", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
710
+ { no: 25, name: "recovery_min_confidence_mean", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
711
+ { no: 26, name: "recency_lambda_session", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
712
+ { no: 27, name: "recency_lambda_user", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
713
+ { no: 28, name: "recency_lambda_global", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
714
+ { no: 29, name: "ingestion_gate_threshold", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
715
+ ]);
716
+ static fromBinary(bytes, options) {
717
+ return new AssembleConfigOverrides().fromBinary(bytes, options);
718
+ }
719
+ static fromJson(jsonValue, options) {
720
+ return new AssembleConfigOverrides().fromJson(jsonValue, options);
721
+ }
722
+ static fromJsonString(jsonString, options) {
723
+ return new AssembleConfigOverrides().fromJsonString(jsonString, options);
724
+ }
725
+ static equals(a, b) {
726
+ return proto3.util.equals(AssembleConfigOverrides, a, b);
727
+ }
728
+ }
729
+ /**
730
+ * @generated from message libravdb.ipc.v1.RankCandidate
731
+ */
732
+ export class RankCandidate extends Message {
733
+ /**
734
+ * @generated from field: string id = 1;
735
+ */
736
+ id = "";
737
+ /**
738
+ * @generated from field: string text = 2;
739
+ */
740
+ text = "";
741
+ /**
742
+ * @generated from field: double score = 3;
743
+ */
744
+ score = 0;
745
+ /**
746
+ * @generated from field: google.protobuf.Struct metadata = 4;
747
+ */
748
+ metadata;
749
+ constructor(data) {
750
+ super();
751
+ proto3.util.initPartial(data, this);
752
+ }
753
+ static runtime = proto3;
754
+ static typeName = "libravdb.ipc.v1.RankCandidate";
755
+ static fields = proto3.util.newFieldList(() => [
756
+ { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
757
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
758
+ { no: 3, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
759
+ { no: 4, name: "metadata", kind: "message", T: Struct },
760
+ ]);
761
+ static fromBinary(bytes, options) {
762
+ return new RankCandidate().fromBinary(bytes, options);
763
+ }
764
+ static fromJson(jsonValue, options) {
765
+ return new RankCandidate().fromJson(jsonValue, options);
766
+ }
767
+ static fromJsonString(jsonString, options) {
768
+ return new RankCandidate().fromJsonString(jsonString, options);
769
+ }
770
+ static equals(a, b) {
771
+ return proto3.util.equals(RankCandidate, a, b);
772
+ }
773
+ }
774
+ /**
775
+ * health.Status (libravdbd/health/check.go) — health RPC.
776
+ *
777
+ * @generated from message libravdb.ipc.v1.HealthResponse
778
+ */
779
+ export class HealthResponse extends Message {
780
+ /**
781
+ * @generated from field: bool ok = 1;
782
+ */
783
+ ok = false;
784
+ /**
785
+ * @generated from field: string message = 2;
786
+ */
787
+ message = "";
788
+ constructor(data) {
789
+ super();
790
+ proto3.util.initPartial(data, this);
791
+ }
792
+ static runtime = proto3;
793
+ static typeName = "libravdb.ipc.v1.HealthResponse";
794
+ static fields = proto3.util.newFieldList(() => [
795
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
796
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
797
+ ]);
798
+ static fromBinary(bytes, options) {
799
+ return new HealthResponse().fromBinary(bytes, options);
800
+ }
801
+ static fromJson(jsonValue, options) {
802
+ return new HealthResponse().fromJson(jsonValue, options);
803
+ }
804
+ static fromJsonString(jsonString, options) {
805
+ return new HealthResponse().fromJsonString(jsonString, options);
806
+ }
807
+ static equals(a, b) {
808
+ return proto3.util.equals(HealthResponse, a, b);
809
+ }
810
+ }
811
+ /**
812
+ * compact.Result (libravdbd/compact/summarize.go) — compact_session RPC.
813
+ *
814
+ * @generated from message libravdb.ipc.v1.CompactSessionResponse
815
+ */
816
+ export class CompactSessionResponse extends Message {
817
+ /**
818
+ * @generated from field: bool did_compact = 1;
819
+ */
820
+ didCompact = false;
821
+ /**
822
+ * @generated from field: int32 clusters_formed = 2;
823
+ */
824
+ clustersFormed = 0;
825
+ /**
826
+ * @generated from field: int32 clusters_declined = 3;
827
+ */
828
+ clustersDeclined = 0;
829
+ /**
830
+ * @generated from field: int32 turns_removed = 4;
831
+ */
832
+ turnsRemoved = 0;
833
+ /**
834
+ * @generated from field: string summary_method = 5;
835
+ */
836
+ summaryMethod = "";
837
+ /**
838
+ * @generated from field: double mean_confidence = 6;
839
+ */
840
+ meanConfidence = 0;
841
+ constructor(data) {
842
+ super();
843
+ proto3.util.initPartial(data, this);
844
+ }
845
+ static runtime = proto3;
846
+ static typeName = "libravdb.ipc.v1.CompactSessionResponse";
847
+ static fields = proto3.util.newFieldList(() => [
848
+ { no: 1, name: "did_compact", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
849
+ { no: 2, name: "clusters_formed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
850
+ { no: 3, name: "clusters_declined", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
851
+ { no: 4, name: "turns_removed", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
852
+ { no: 5, name: "summary_method", kind: "scalar", T: 9 /* ScalarType.STRING */ },
853
+ { no: 6, name: "mean_confidence", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
854
+ ]);
855
+ static fromBinary(bytes, options) {
856
+ return new CompactSessionResponse().fromBinary(bytes, options);
857
+ }
858
+ static fromJson(jsonValue, options) {
859
+ return new CompactSessionResponse().fromJson(jsonValue, options);
860
+ }
861
+ static fromJsonString(jsonString, options) {
862
+ return new CompactSessionResponse().fromJsonString(jsonString, options);
863
+ }
864
+ static equals(a, b) {
865
+ return proto3.util.equals(CompactSessionResponse, a, b);
866
+ }
867
+ }
868
+ /**
869
+ * compact.GatingSignals (libravdbd/compact/gate.go) — gating_scalar RPC.
870
+ *
871
+ * @generated from message libravdb.ipc.v1.GatingScalarResponse
872
+ */
873
+ export class GatingScalarResponse extends Message {
874
+ /**
875
+ * @generated from field: double g = 1;
876
+ */
877
+ g = 0;
878
+ /**
879
+ * @generated from field: double t = 2;
880
+ */
881
+ t = 0;
882
+ /**
883
+ * @generated from field: double h = 3;
884
+ */
885
+ h = 0;
886
+ /**
887
+ * @generated from field: double r = 4;
888
+ */
889
+ r = 0;
890
+ /**
891
+ * @generated from field: double d = 5;
892
+ */
893
+ d = 0;
894
+ /**
895
+ * @generated from field: double input_freq = 6;
896
+ */
897
+ inputFreq = 0;
898
+ /**
899
+ * @generated from field: double mem_saturation = 7;
900
+ */
901
+ memSaturation = 0;
902
+ /**
903
+ * @generated from field: double p = 8;
904
+ */
905
+ p = 0;
906
+ /**
907
+ * @generated from field: double a = 9;
908
+ */
909
+ a = 0;
910
+ /**
911
+ * @generated from field: double dtech = 10;
912
+ */
913
+ dtech = 0;
914
+ /**
915
+ * @generated from field: double gconv = 11;
916
+ */
917
+ gconv = 0;
918
+ /**
919
+ * @generated from field: double gtech = 12;
920
+ */
921
+ gtech = 0;
922
+ constructor(data) {
923
+ super();
924
+ proto3.util.initPartial(data, this);
925
+ }
926
+ static runtime = proto3;
927
+ static typeName = "libravdb.ipc.v1.GatingScalarResponse";
928
+ static fields = proto3.util.newFieldList(() => [
929
+ { no: 1, name: "g", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
930
+ { no: 2, name: "t", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
931
+ { no: 3, name: "h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
932
+ { no: 4, name: "r", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
933
+ { no: 5, name: "d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
934
+ { no: 6, name: "input_freq", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
935
+ { no: 7, name: "mem_saturation", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
936
+ { no: 8, name: "p", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
937
+ { no: 9, name: "a", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
938
+ { no: 10, name: "dtech", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
939
+ { no: 11, name: "gconv", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
940
+ { no: 12, name: "gtech", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
941
+ ]);
942
+ static fromBinary(bytes, options) {
943
+ return new GatingScalarResponse().fromBinary(bytes, options);
944
+ }
945
+ static fromJson(jsonValue, options) {
946
+ return new GatingScalarResponse().fromJson(jsonValue, options);
947
+ }
948
+ static fromJsonString(jsonString, options) {
949
+ return new GatingScalarResponse().fromJsonString(jsonString, options);
950
+ }
951
+ static equals(a, b) {
952
+ return proto3.util.equals(GatingScalarResponse, a, b);
953
+ }
954
+ }
955
+ /**
956
+ * @generated from message libravdb.ipc.v1.ExportMemoryRecord
957
+ */
958
+ export class ExportMemoryRecord extends Message {
959
+ /**
960
+ * @generated from field: string collection = 1;
961
+ */
962
+ collection = "";
963
+ /**
964
+ * @generated from field: string id = 2;
965
+ */
966
+ id = "";
967
+ /**
968
+ * @generated from field: string text = 3;
969
+ */
970
+ text = "";
971
+ /**
972
+ * @generated from field: google.protobuf.Struct metadata = 4;
973
+ */
974
+ metadata;
975
+ constructor(data) {
976
+ super();
977
+ proto3.util.initPartial(data, this);
978
+ }
979
+ static runtime = proto3;
980
+ static typeName = "libravdb.ipc.v1.ExportMemoryRecord";
981
+ static fields = proto3.util.newFieldList(() => [
982
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
983
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
984
+ { no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
985
+ { no: 4, name: "metadata", kind: "message", T: Struct },
986
+ ]);
987
+ static fromBinary(bytes, options) {
988
+ return new ExportMemoryRecord().fromBinary(bytes, options);
989
+ }
990
+ static fromJson(jsonValue, options) {
991
+ return new ExportMemoryRecord().fromJson(jsonValue, options);
992
+ }
993
+ static fromJsonString(jsonString, options) {
994
+ return new ExportMemoryRecord().fromJsonString(jsonString, options);
995
+ }
996
+ static equals(a, b) {
997
+ return proto3.util.equals(ExportMemoryRecord, a, b);
998
+ }
999
+ }
1000
+ /**
1001
+ * @generated from message libravdb.ipc.v1.EnsureCollectionsRequest
1002
+ */
1003
+ export class EnsureCollectionsRequest extends Message {
1004
+ /**
1005
+ * @generated from field: repeated string collections = 1;
1006
+ */
1007
+ collections = [];
1008
+ constructor(data) {
1009
+ super();
1010
+ proto3.util.initPartial(data, this);
1011
+ }
1012
+ static runtime = proto3;
1013
+ static typeName = "libravdb.ipc.v1.EnsureCollectionsRequest";
1014
+ static fields = proto3.util.newFieldList(() => [
1015
+ { no: 1, name: "collections", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1016
+ ]);
1017
+ static fromBinary(bytes, options) {
1018
+ return new EnsureCollectionsRequest().fromBinary(bytes, options);
1019
+ }
1020
+ static fromJson(jsonValue, options) {
1021
+ return new EnsureCollectionsRequest().fromJson(jsonValue, options);
1022
+ }
1023
+ static fromJsonString(jsonString, options) {
1024
+ return new EnsureCollectionsRequest().fromJsonString(jsonString, options);
1025
+ }
1026
+ static equals(a, b) {
1027
+ return proto3.util.equals(EnsureCollectionsRequest, a, b);
1028
+ }
1029
+ }
1030
+ /**
1031
+ * @generated from message libravdb.ipc.v1.EnsureCollectionsResponse
1032
+ */
1033
+ export class EnsureCollectionsResponse extends Message {
1034
+ /**
1035
+ * @generated from field: bool ok = 1;
1036
+ */
1037
+ ok = false;
1038
+ constructor(data) {
1039
+ super();
1040
+ proto3.util.initPartial(data, this);
1041
+ }
1042
+ static runtime = proto3;
1043
+ static typeName = "libravdb.ipc.v1.EnsureCollectionsResponse";
1044
+ static fields = proto3.util.newFieldList(() => [
1045
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1046
+ ]);
1047
+ static fromBinary(bytes, options) {
1048
+ return new EnsureCollectionsResponse().fromBinary(bytes, options);
1049
+ }
1050
+ static fromJson(jsonValue, options) {
1051
+ return new EnsureCollectionsResponse().fromJson(jsonValue, options);
1052
+ }
1053
+ static fromJsonString(jsonString, options) {
1054
+ return new EnsureCollectionsResponse().fromJsonString(jsonString, options);
1055
+ }
1056
+ static equals(a, b) {
1057
+ return proto3.util.equals(EnsureCollectionsResponse, a, b);
1058
+ }
1059
+ }
1060
+ /**
1061
+ * @generated from message libravdb.ipc.v1.InsertTextRequest
1062
+ */
1063
+ export class InsertTextRequest extends Message {
1064
+ /**
1065
+ * @generated from field: string collection = 1;
1066
+ */
1067
+ collection = "";
1068
+ /**
1069
+ * @generated from field: string id = 2;
1070
+ */
1071
+ id = "";
1072
+ /**
1073
+ * @generated from field: string text = 3;
1074
+ */
1075
+ text = "";
1076
+ /**
1077
+ * @generated from field: google.protobuf.Struct metadata = 4;
1078
+ */
1079
+ metadata;
1080
+ constructor(data) {
1081
+ super();
1082
+ proto3.util.initPartial(data, this);
1083
+ }
1084
+ static runtime = proto3;
1085
+ static typeName = "libravdb.ipc.v1.InsertTextRequest";
1086
+ static fields = proto3.util.newFieldList(() => [
1087
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1088
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1089
+ { no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1090
+ { no: 4, name: "metadata", kind: "message", T: Struct },
1091
+ ]);
1092
+ static fromBinary(bytes, options) {
1093
+ return new InsertTextRequest().fromBinary(bytes, options);
1094
+ }
1095
+ static fromJson(jsonValue, options) {
1096
+ return new InsertTextRequest().fromJson(jsonValue, options);
1097
+ }
1098
+ static fromJsonString(jsonString, options) {
1099
+ return new InsertTextRequest().fromJsonString(jsonString, options);
1100
+ }
1101
+ static equals(a, b) {
1102
+ return proto3.util.equals(InsertTextRequest, a, b);
1103
+ }
1104
+ }
1105
+ /**
1106
+ * @generated from message libravdb.ipc.v1.InsertTextResponse
1107
+ */
1108
+ export class InsertTextResponse extends Message {
1109
+ /**
1110
+ * @generated from field: bool ok = 1;
1111
+ */
1112
+ ok = false;
1113
+ constructor(data) {
1114
+ super();
1115
+ proto3.util.initPartial(data, this);
1116
+ }
1117
+ static runtime = proto3;
1118
+ static typeName = "libravdb.ipc.v1.InsertTextResponse";
1119
+ static fields = proto3.util.newFieldList(() => [
1120
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1121
+ ]);
1122
+ static fromBinary(bytes, options) {
1123
+ return new InsertTextResponse().fromBinary(bytes, options);
1124
+ }
1125
+ static fromJson(jsonValue, options) {
1126
+ return new InsertTextResponse().fromJson(jsonValue, options);
1127
+ }
1128
+ static fromJsonString(jsonString, options) {
1129
+ return new InsertTextResponse().fromJsonString(jsonString, options);
1130
+ }
1131
+ static equals(a, b) {
1132
+ return proto3.util.equals(InsertTextResponse, a, b);
1133
+ }
1134
+ }
1135
+ /**
1136
+ * @generated from message libravdb.ipc.v1.InsertSessionTurnRequest
1137
+ */
1138
+ export class InsertSessionTurnRequest extends Message {
1139
+ /**
1140
+ * @generated from field: string session_id = 1;
1141
+ */
1142
+ sessionId = "";
1143
+ /**
1144
+ * @generated from field: string id = 2;
1145
+ */
1146
+ id = "";
1147
+ /**
1148
+ * @generated from field: string text = 3;
1149
+ */
1150
+ text = "";
1151
+ /**
1152
+ * @generated from field: google.protobuf.Struct metadata = 4;
1153
+ */
1154
+ metadata;
1155
+ constructor(data) {
1156
+ super();
1157
+ proto3.util.initPartial(data, this);
1158
+ }
1159
+ static runtime = proto3;
1160
+ static typeName = "libravdb.ipc.v1.InsertSessionTurnRequest";
1161
+ static fields = proto3.util.newFieldList(() => [
1162
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1163
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1164
+ { no: 3, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1165
+ { no: 4, name: "metadata", kind: "message", T: Struct },
1166
+ ]);
1167
+ static fromBinary(bytes, options) {
1168
+ return new InsertSessionTurnRequest().fromBinary(bytes, options);
1169
+ }
1170
+ static fromJson(jsonValue, options) {
1171
+ return new InsertSessionTurnRequest().fromJson(jsonValue, options);
1172
+ }
1173
+ static fromJsonString(jsonString, options) {
1174
+ return new InsertSessionTurnRequest().fromJsonString(jsonString, options);
1175
+ }
1176
+ static equals(a, b) {
1177
+ return proto3.util.equals(InsertSessionTurnRequest, a, b);
1178
+ }
1179
+ }
1180
+ /**
1181
+ * @generated from message libravdb.ipc.v1.InsertSessionTurnResponse
1182
+ */
1183
+ export class InsertSessionTurnResponse extends Message {
1184
+ /**
1185
+ * @generated from field: bool ok = 1;
1186
+ */
1187
+ ok = false;
1188
+ constructor(data) {
1189
+ super();
1190
+ proto3.util.initPartial(data, this);
1191
+ }
1192
+ static runtime = proto3;
1193
+ static typeName = "libravdb.ipc.v1.InsertSessionTurnResponse";
1194
+ static fields = proto3.util.newFieldList(() => [
1195
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1196
+ ]);
1197
+ static fromBinary(bytes, options) {
1198
+ return new InsertSessionTurnResponse().fromBinary(bytes, options);
1199
+ }
1200
+ static fromJson(jsonValue, options) {
1201
+ return new InsertSessionTurnResponse().fromJson(jsonValue, options);
1202
+ }
1203
+ static fromJsonString(jsonString, options) {
1204
+ return new InsertSessionTurnResponse().fromJsonString(jsonString, options);
1205
+ }
1206
+ static equals(a, b) {
1207
+ return proto3.util.equals(InsertSessionTurnResponse, a, b);
1208
+ }
1209
+ }
1210
+ /**
1211
+ * @generated from message libravdb.ipc.v1.IngestMarkdownDocumentRequest
1212
+ */
1213
+ export class IngestMarkdownDocumentRequest extends Message {
1214
+ /**
1215
+ * @generated from field: string source_doc = 1;
1216
+ */
1217
+ sourceDoc = "";
1218
+ /**
1219
+ * @generated from field: string text = 2;
1220
+ */
1221
+ text = "";
1222
+ /**
1223
+ * @generated from field: string tokenizer_id = 3;
1224
+ */
1225
+ tokenizerId = "";
1226
+ /**
1227
+ * @generated from field: bool core_doc = 4;
1228
+ */
1229
+ coreDoc = false;
1230
+ /**
1231
+ * @generated from field: libravdb.ipc.v1.MarkdownSourceMeta source_meta = 5;
1232
+ */
1233
+ sourceMeta;
1234
+ constructor(data) {
1235
+ super();
1236
+ proto3.util.initPartial(data, this);
1237
+ }
1238
+ static runtime = proto3;
1239
+ static typeName = "libravdb.ipc.v1.IngestMarkdownDocumentRequest";
1240
+ static fields = proto3.util.newFieldList(() => [
1241
+ { no: 1, name: "source_doc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1242
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1243
+ { no: 3, name: "tokenizer_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1244
+ { no: 4, name: "core_doc", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1245
+ { no: 5, name: "source_meta", kind: "message", T: MarkdownSourceMeta },
1246
+ ]);
1247
+ static fromBinary(bytes, options) {
1248
+ return new IngestMarkdownDocumentRequest().fromBinary(bytes, options);
1249
+ }
1250
+ static fromJson(jsonValue, options) {
1251
+ return new IngestMarkdownDocumentRequest().fromJson(jsonValue, options);
1252
+ }
1253
+ static fromJsonString(jsonString, options) {
1254
+ return new IngestMarkdownDocumentRequest().fromJsonString(jsonString, options);
1255
+ }
1256
+ static equals(a, b) {
1257
+ return proto3.util.equals(IngestMarkdownDocumentRequest, a, b);
1258
+ }
1259
+ }
1260
+ /**
1261
+ * @generated from message libravdb.ipc.v1.IngestMarkdownDocumentResponse
1262
+ */
1263
+ export class IngestMarkdownDocumentResponse extends Message {
1264
+ /**
1265
+ * @generated from field: bool ok = 1;
1266
+ */
1267
+ ok = false;
1268
+ constructor(data) {
1269
+ super();
1270
+ proto3.util.initPartial(data, this);
1271
+ }
1272
+ static runtime = proto3;
1273
+ static typeName = "libravdb.ipc.v1.IngestMarkdownDocumentResponse";
1274
+ static fields = proto3.util.newFieldList(() => [
1275
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1276
+ ]);
1277
+ static fromBinary(bytes, options) {
1278
+ return new IngestMarkdownDocumentResponse().fromBinary(bytes, options);
1279
+ }
1280
+ static fromJson(jsonValue, options) {
1281
+ return new IngestMarkdownDocumentResponse().fromJson(jsonValue, options);
1282
+ }
1283
+ static fromJsonString(jsonString, options) {
1284
+ return new IngestMarkdownDocumentResponse().fromJsonString(jsonString, options);
1285
+ }
1286
+ static equals(a, b) {
1287
+ return proto3.util.equals(IngestMarkdownDocumentResponse, a, b);
1288
+ }
1289
+ }
1290
+ /**
1291
+ * @generated from message libravdb.ipc.v1.DeleteAuthoredDocumentRequest
1292
+ */
1293
+ export class DeleteAuthoredDocumentRequest extends Message {
1294
+ /**
1295
+ * @generated from field: string source_doc = 1;
1296
+ */
1297
+ sourceDoc = "";
1298
+ constructor(data) {
1299
+ super();
1300
+ proto3.util.initPartial(data, this);
1301
+ }
1302
+ static runtime = proto3;
1303
+ static typeName = "libravdb.ipc.v1.DeleteAuthoredDocumentRequest";
1304
+ static fields = proto3.util.newFieldList(() => [
1305
+ { no: 1, name: "source_doc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1306
+ ]);
1307
+ static fromBinary(bytes, options) {
1308
+ return new DeleteAuthoredDocumentRequest().fromBinary(bytes, options);
1309
+ }
1310
+ static fromJson(jsonValue, options) {
1311
+ return new DeleteAuthoredDocumentRequest().fromJson(jsonValue, options);
1312
+ }
1313
+ static fromJsonString(jsonString, options) {
1314
+ return new DeleteAuthoredDocumentRequest().fromJsonString(jsonString, options);
1315
+ }
1316
+ static equals(a, b) {
1317
+ return proto3.util.equals(DeleteAuthoredDocumentRequest, a, b);
1318
+ }
1319
+ }
1320
+ /**
1321
+ * @generated from message libravdb.ipc.v1.DeleteAuthoredDocumentResponse
1322
+ */
1323
+ export class DeleteAuthoredDocumentResponse extends Message {
1324
+ /**
1325
+ * @generated from field: bool ok = 1;
1326
+ */
1327
+ ok = false;
1328
+ constructor(data) {
1329
+ super();
1330
+ proto3.util.initPartial(data, this);
1331
+ }
1332
+ static runtime = proto3;
1333
+ static typeName = "libravdb.ipc.v1.DeleteAuthoredDocumentResponse";
1334
+ static fields = proto3.util.newFieldList(() => [
1335
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1336
+ ]);
1337
+ static fromBinary(bytes, options) {
1338
+ return new DeleteAuthoredDocumentResponse().fromBinary(bytes, options);
1339
+ }
1340
+ static fromJson(jsonValue, options) {
1341
+ return new DeleteAuthoredDocumentResponse().fromJson(jsonValue, options);
1342
+ }
1343
+ static fromJsonString(jsonString, options) {
1344
+ return new DeleteAuthoredDocumentResponse().fromJsonString(jsonString, options);
1345
+ }
1346
+ static equals(a, b) {
1347
+ return proto3.util.equals(DeleteAuthoredDocumentResponse, a, b);
1348
+ }
1349
+ }
1350
+ /**
1351
+ * @generated from message libravdb.ipc.v1.PromoteDreamEntriesRequest
1352
+ */
1353
+ export class PromoteDreamEntriesRequest extends Message {
1354
+ /**
1355
+ * @generated from field: string user_id = 1;
1356
+ */
1357
+ userId = "";
1358
+ /**
1359
+ * @generated from field: string source_doc = 2;
1360
+ */
1361
+ sourceDoc = "";
1362
+ /**
1363
+ * @generated from field: string source_root = 3;
1364
+ */
1365
+ sourceRoot = "";
1366
+ /**
1367
+ * @generated from field: string source_path = 4;
1368
+ */
1369
+ sourcePath = "";
1370
+ /**
1371
+ * @generated from field: string source_kind = 5;
1372
+ */
1373
+ sourceKind = "";
1374
+ /**
1375
+ * @generated from field: string file_hash = 6;
1376
+ */
1377
+ fileHash = "";
1378
+ /**
1379
+ * @generated from field: int64 source_size = 7;
1380
+ */
1381
+ sourceSize = protoInt64.zero;
1382
+ /**
1383
+ * @generated from field: int64 source_mtime_ms = 8;
1384
+ */
1385
+ sourceMtimeMs = protoInt64.zero;
1386
+ /**
1387
+ * @generated from field: int32 ingest_version = 9;
1388
+ */
1389
+ ingestVersion = 0;
1390
+ /**
1391
+ * @generated from field: string hash_backend = 10;
1392
+ */
1393
+ hashBackend = "";
1394
+ /**
1395
+ * @generated from field: repeated libravdb.ipc.v1.DreamPromotionEntry entries = 11;
1396
+ */
1397
+ entries = [];
1398
+ constructor(data) {
1399
+ super();
1400
+ proto3.util.initPartial(data, this);
1401
+ }
1402
+ static runtime = proto3;
1403
+ static typeName = "libravdb.ipc.v1.PromoteDreamEntriesRequest";
1404
+ static fields = proto3.util.newFieldList(() => [
1405
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1406
+ { no: 2, name: "source_doc", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1407
+ { no: 3, name: "source_root", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1408
+ { no: 4, name: "source_path", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1409
+ { no: 5, name: "source_kind", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1410
+ { no: 6, name: "file_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1411
+ { no: 7, name: "source_size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1412
+ { no: 8, name: "source_mtime_ms", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1413
+ { no: 9, name: "ingest_version", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1414
+ { no: 10, name: "hash_backend", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1415
+ { no: 11, name: "entries", kind: "message", T: DreamPromotionEntry, repeated: true },
1416
+ ]);
1417
+ static fromBinary(bytes, options) {
1418
+ return new PromoteDreamEntriesRequest().fromBinary(bytes, options);
1419
+ }
1420
+ static fromJson(jsonValue, options) {
1421
+ return new PromoteDreamEntriesRequest().fromJson(jsonValue, options);
1422
+ }
1423
+ static fromJsonString(jsonString, options) {
1424
+ return new PromoteDreamEntriesRequest().fromJsonString(jsonString, options);
1425
+ }
1426
+ static equals(a, b) {
1427
+ return proto3.util.equals(PromoteDreamEntriesRequest, a, b);
1428
+ }
1429
+ }
1430
+ /**
1431
+ * @generated from message libravdb.ipc.v1.DreamPromotionResponse
1432
+ */
1433
+ export class DreamPromotionResponse extends Message {
1434
+ /**
1435
+ * @generated from field: int32 promoted = 1;
1436
+ */
1437
+ promoted = 0;
1438
+ /**
1439
+ * @generated from field: int32 rejected = 2;
1440
+ */
1441
+ rejected = 0;
1442
+ constructor(data) {
1443
+ super();
1444
+ proto3.util.initPartial(data, this);
1445
+ }
1446
+ static runtime = proto3;
1447
+ static typeName = "libravdb.ipc.v1.DreamPromotionResponse";
1448
+ static fields = proto3.util.newFieldList(() => [
1449
+ { no: 1, name: "promoted", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1450
+ { no: 2, name: "rejected", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1451
+ ]);
1452
+ static fromBinary(bytes, options) {
1453
+ return new DreamPromotionResponse().fromBinary(bytes, options);
1454
+ }
1455
+ static fromJson(jsonValue, options) {
1456
+ return new DreamPromotionResponse().fromJson(jsonValue, options);
1457
+ }
1458
+ static fromJsonString(jsonString, options) {
1459
+ return new DreamPromotionResponse().fromJsonString(jsonString, options);
1460
+ }
1461
+ static equals(a, b) {
1462
+ return proto3.util.equals(DreamPromotionResponse, a, b);
1463
+ }
1464
+ }
1465
+ /**
1466
+ * @generated from message libravdb.ipc.v1.SearchTextRequest
1467
+ */
1468
+ export class SearchTextRequest extends Message {
1469
+ /**
1470
+ * @generated from field: string collection = 1;
1471
+ */
1472
+ collection = "";
1473
+ /**
1474
+ * @generated from field: string text = 2;
1475
+ */
1476
+ text = "";
1477
+ /**
1478
+ * @generated from field: int32 k = 3;
1479
+ */
1480
+ k = 0;
1481
+ /**
1482
+ * @generated from field: repeated string exclude_ids = 4;
1483
+ */
1484
+ excludeIds = [];
1485
+ constructor(data) {
1486
+ super();
1487
+ proto3.util.initPartial(data, this);
1488
+ }
1489
+ static runtime = proto3;
1490
+ static typeName = "libravdb.ipc.v1.SearchTextRequest";
1491
+ static fields = proto3.util.newFieldList(() => [
1492
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1493
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1494
+ { no: 3, name: "k", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1495
+ { no: 4, name: "exclude_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1496
+ ]);
1497
+ static fromBinary(bytes, options) {
1498
+ return new SearchTextRequest().fromBinary(bytes, options);
1499
+ }
1500
+ static fromJson(jsonValue, options) {
1501
+ return new SearchTextRequest().fromJson(jsonValue, options);
1502
+ }
1503
+ static fromJsonString(jsonString, options) {
1504
+ return new SearchTextRequest().fromJsonString(jsonString, options);
1505
+ }
1506
+ static equals(a, b) {
1507
+ return proto3.util.equals(SearchTextRequest, a, b);
1508
+ }
1509
+ }
1510
+ /**
1511
+ * @generated from message libravdb.ipc.v1.SearchTextCollectionsRequest
1512
+ */
1513
+ export class SearchTextCollectionsRequest extends Message {
1514
+ /**
1515
+ * @generated from field: repeated string collections = 1;
1516
+ */
1517
+ collections = [];
1518
+ /**
1519
+ * @generated from field: string text = 2;
1520
+ */
1521
+ text = "";
1522
+ /**
1523
+ * @generated from field: int32 k = 3;
1524
+ */
1525
+ k = 0;
1526
+ /**
1527
+ * @generated from field: map<string, libravdb.ipc.v1.StringList> exclude_by_collection = 4;
1528
+ */
1529
+ excludeByCollection = {};
1530
+ constructor(data) {
1531
+ super();
1532
+ proto3.util.initPartial(data, this);
1533
+ }
1534
+ static runtime = proto3;
1535
+ static typeName = "libravdb.ipc.v1.SearchTextCollectionsRequest";
1536
+ static fields = proto3.util.newFieldList(() => [
1537
+ { no: 1, name: "collections", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1538
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1539
+ { no: 3, name: "k", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1540
+ { no: 4, name: "exclude_by_collection", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: StringList } },
1541
+ ]);
1542
+ static fromBinary(bytes, options) {
1543
+ return new SearchTextCollectionsRequest().fromBinary(bytes, options);
1544
+ }
1545
+ static fromJson(jsonValue, options) {
1546
+ return new SearchTextCollectionsRequest().fromJson(jsonValue, options);
1547
+ }
1548
+ static fromJsonString(jsonString, options) {
1549
+ return new SearchTextCollectionsRequest().fromJsonString(jsonString, options);
1550
+ }
1551
+ static equals(a, b) {
1552
+ return proto3.util.equals(SearchTextCollectionsRequest, a, b);
1553
+ }
1554
+ }
1555
+ /**
1556
+ * @generated from message libravdb.ipc.v1.SearchTextResponse
1557
+ */
1558
+ export class SearchTextResponse extends Message {
1559
+ /**
1560
+ * @generated from field: repeated libravdb.ipc.v1.SearchResult results = 1;
1561
+ */
1562
+ results = [];
1563
+ constructor(data) {
1564
+ super();
1565
+ proto3.util.initPartial(data, this);
1566
+ }
1567
+ static runtime = proto3;
1568
+ static typeName = "libravdb.ipc.v1.SearchTextResponse";
1569
+ static fields = proto3.util.newFieldList(() => [
1570
+ { no: 1, name: "results", kind: "message", T: SearchResult, repeated: true },
1571
+ ]);
1572
+ static fromBinary(bytes, options) {
1573
+ return new SearchTextResponse().fromBinary(bytes, options);
1574
+ }
1575
+ static fromJson(jsonValue, options) {
1576
+ return new SearchTextResponse().fromJson(jsonValue, options);
1577
+ }
1578
+ static fromJsonString(jsonString, options) {
1579
+ return new SearchTextResponse().fromJsonString(jsonString, options);
1580
+ }
1581
+ static equals(a, b) {
1582
+ return proto3.util.equals(SearchTextResponse, a, b);
1583
+ }
1584
+ }
1585
+ /**
1586
+ * @generated from message libravdb.ipc.v1.ListByMetaRequest
1587
+ */
1588
+ export class ListByMetaRequest extends Message {
1589
+ /**
1590
+ * @generated from field: string collection = 1;
1591
+ */
1592
+ collection = "";
1593
+ /**
1594
+ * @generated from field: string key = 2;
1595
+ */
1596
+ key = "";
1597
+ /**
1598
+ * @generated from field: string value = 3;
1599
+ */
1600
+ value = "";
1601
+ constructor(data) {
1602
+ super();
1603
+ proto3.util.initPartial(data, this);
1604
+ }
1605
+ static runtime = proto3;
1606
+ static typeName = "libravdb.ipc.v1.ListByMetaRequest";
1607
+ static fields = proto3.util.newFieldList(() => [
1608
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1609
+ { no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1610
+ { no: 3, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1611
+ ]);
1612
+ static fromBinary(bytes, options) {
1613
+ return new ListByMetaRequest().fromBinary(bytes, options);
1614
+ }
1615
+ static fromJson(jsonValue, options) {
1616
+ return new ListByMetaRequest().fromJson(jsonValue, options);
1617
+ }
1618
+ static fromJsonString(jsonString, options) {
1619
+ return new ListByMetaRequest().fromJsonString(jsonString, options);
1620
+ }
1621
+ static equals(a, b) {
1622
+ return proto3.util.equals(ListByMetaRequest, a, b);
1623
+ }
1624
+ }
1625
+ /**
1626
+ * @generated from message libravdb.ipc.v1.ListCollectionRequest
1627
+ */
1628
+ export class ListCollectionRequest extends Message {
1629
+ /**
1630
+ * @generated from field: string collection = 1;
1631
+ */
1632
+ collection = "";
1633
+ constructor(data) {
1634
+ super();
1635
+ proto3.util.initPartial(data, this);
1636
+ }
1637
+ static runtime = proto3;
1638
+ static typeName = "libravdb.ipc.v1.ListCollectionRequest";
1639
+ static fields = proto3.util.newFieldList(() => [
1640
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1641
+ ]);
1642
+ static fromBinary(bytes, options) {
1643
+ return new ListCollectionRequest().fromBinary(bytes, options);
1644
+ }
1645
+ static fromJson(jsonValue, options) {
1646
+ return new ListCollectionRequest().fromJson(jsonValue, options);
1647
+ }
1648
+ static fromJsonString(jsonString, options) {
1649
+ return new ListCollectionRequest().fromJsonString(jsonString, options);
1650
+ }
1651
+ static equals(a, b) {
1652
+ return proto3.util.equals(ListCollectionRequest, a, b);
1653
+ }
1654
+ }
1655
+ /**
1656
+ * @generated from message libravdb.ipc.v1.ExpandSummaryRequest
1657
+ */
1658
+ export class ExpandSummaryRequest extends Message {
1659
+ /**
1660
+ * @generated from field: string session_id = 1;
1661
+ */
1662
+ sessionId = "";
1663
+ /**
1664
+ * @generated from field: string summary_id = 2;
1665
+ */
1666
+ summaryId = "";
1667
+ /**
1668
+ * @generated from field: int32 max_depth = 3;
1669
+ */
1670
+ maxDepth = 0;
1671
+ constructor(data) {
1672
+ super();
1673
+ proto3.util.initPartial(data, this);
1674
+ }
1675
+ static runtime = proto3;
1676
+ static typeName = "libravdb.ipc.v1.ExpandSummaryRequest";
1677
+ static fields = proto3.util.newFieldList(() => [
1678
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1679
+ { no: 2, name: "summary_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1680
+ { no: 3, name: "max_depth", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1681
+ ]);
1682
+ static fromBinary(bytes, options) {
1683
+ return new ExpandSummaryRequest().fromBinary(bytes, options);
1684
+ }
1685
+ static fromJson(jsonValue, options) {
1686
+ return new ExpandSummaryRequest().fromJson(jsonValue, options);
1687
+ }
1688
+ static fromJsonString(jsonString, options) {
1689
+ return new ExpandSummaryRequest().fromJsonString(jsonString, options);
1690
+ }
1691
+ static equals(a, b) {
1692
+ return proto3.util.equals(ExpandSummaryRequest, a, b);
1693
+ }
1694
+ }
1695
+ /**
1696
+ * @generated from message libravdb.ipc.v1.QueryRawSessionRequest
1697
+ */
1698
+ export class QueryRawSessionRequest extends Message {
1699
+ /**
1700
+ * @generated from field: string session_id = 1;
1701
+ */
1702
+ sessionId = "";
1703
+ /**
1704
+ * @generated from field: string text = 2;
1705
+ */
1706
+ text = "";
1707
+ /**
1708
+ * @generated from field: int32 k = 3;
1709
+ */
1710
+ k = 0;
1711
+ /**
1712
+ * @generated from field: repeated string exclude_ids = 4;
1713
+ */
1714
+ excludeIds = [];
1715
+ constructor(data) {
1716
+ super();
1717
+ proto3.util.initPartial(data, this);
1718
+ }
1719
+ static runtime = proto3;
1720
+ static typeName = "libravdb.ipc.v1.QueryRawSessionRequest";
1721
+ static fields = proto3.util.newFieldList(() => [
1722
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1723
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1724
+ { no: 3, name: "k", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1725
+ { no: 4, name: "exclude_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1726
+ ]);
1727
+ static fromBinary(bytes, options) {
1728
+ return new QueryRawSessionRequest().fromBinary(bytes, options);
1729
+ }
1730
+ static fromJson(jsonValue, options) {
1731
+ return new QueryRawSessionRequest().fromJson(jsonValue, options);
1732
+ }
1733
+ static fromJsonString(jsonString, options) {
1734
+ return new QueryRawSessionRequest().fromJsonString(jsonString, options);
1735
+ }
1736
+ static equals(a, b) {
1737
+ return proto3.util.equals(QueryRawSessionRequest, a, b);
1738
+ }
1739
+ }
1740
+ /**
1741
+ * @generated from message libravdb.ipc.v1.ListLifecycleJournalRequest
1742
+ */
1743
+ export class ListLifecycleJournalRequest extends Message {
1744
+ /**
1745
+ * @generated from field: string session_id = 1;
1746
+ */
1747
+ sessionId = "";
1748
+ /**
1749
+ * @generated from field: int32 limit = 2;
1750
+ */
1751
+ limit = 0;
1752
+ constructor(data) {
1753
+ super();
1754
+ proto3.util.initPartial(data, this);
1755
+ }
1756
+ static runtime = proto3;
1757
+ static typeName = "libravdb.ipc.v1.ListLifecycleJournalRequest";
1758
+ static fields = proto3.util.newFieldList(() => [
1759
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1760
+ { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1761
+ ]);
1762
+ static fromBinary(bytes, options) {
1763
+ return new ListLifecycleJournalRequest().fromBinary(bytes, options);
1764
+ }
1765
+ static fromJson(jsonValue, options) {
1766
+ return new ListLifecycleJournalRequest().fromJson(jsonValue, options);
1767
+ }
1768
+ static fromJsonString(jsonString, options) {
1769
+ return new ListLifecycleJournalRequest().fromJsonString(jsonString, options);
1770
+ }
1771
+ static equals(a, b) {
1772
+ return proto3.util.equals(ListLifecycleJournalRequest, a, b);
1773
+ }
1774
+ }
1775
+ /**
1776
+ * @generated from message libravdb.ipc.v1.BumpAccessCountsRequest
1777
+ */
1778
+ export class BumpAccessCountsRequest extends Message {
1779
+ /**
1780
+ * @generated from field: repeated libravdb.ipc.v1.AccessCountUpdate updates = 1;
1781
+ */
1782
+ updates = [];
1783
+ constructor(data) {
1784
+ super();
1785
+ proto3.util.initPartial(data, this);
1786
+ }
1787
+ static runtime = proto3;
1788
+ static typeName = "libravdb.ipc.v1.BumpAccessCountsRequest";
1789
+ static fields = proto3.util.newFieldList(() => [
1790
+ { no: 1, name: "updates", kind: "message", T: AccessCountUpdate, repeated: true },
1791
+ ]);
1792
+ static fromBinary(bytes, options) {
1793
+ return new BumpAccessCountsRequest().fromBinary(bytes, options);
1794
+ }
1795
+ static fromJson(jsonValue, options) {
1796
+ return new BumpAccessCountsRequest().fromJson(jsonValue, options);
1797
+ }
1798
+ static fromJsonString(jsonString, options) {
1799
+ return new BumpAccessCountsRequest().fromJsonString(jsonString, options);
1800
+ }
1801
+ static equals(a, b) {
1802
+ return proto3.util.equals(BumpAccessCountsRequest, a, b);
1803
+ }
1804
+ }
1805
+ /**
1806
+ * @generated from message libravdb.ipc.v1.BumpAccessCountsResponse
1807
+ */
1808
+ export class BumpAccessCountsResponse extends Message {
1809
+ /**
1810
+ * @generated from field: bool ok = 1;
1811
+ */
1812
+ ok = false;
1813
+ constructor(data) {
1814
+ super();
1815
+ proto3.util.initPartial(data, this);
1816
+ }
1817
+ static runtime = proto3;
1818
+ static typeName = "libravdb.ipc.v1.BumpAccessCountsResponse";
1819
+ static fields = proto3.util.newFieldList(() => [
1820
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1821
+ ]);
1822
+ static fromBinary(bytes, options) {
1823
+ return new BumpAccessCountsResponse().fromBinary(bytes, options);
1824
+ }
1825
+ static fromJson(jsonValue, options) {
1826
+ return new BumpAccessCountsResponse().fromJson(jsonValue, options);
1827
+ }
1828
+ static fromJsonString(jsonString, options) {
1829
+ return new BumpAccessCountsResponse().fromJsonString(jsonString, options);
1830
+ }
1831
+ static equals(a, b) {
1832
+ return proto3.util.equals(BumpAccessCountsResponse, a, b);
1833
+ }
1834
+ }
1835
+ /**
1836
+ * @generated from message libravdb.ipc.v1.DeleteRequest
1837
+ */
1838
+ export class DeleteRequest extends Message {
1839
+ /**
1840
+ * @generated from field: string collection = 1;
1841
+ */
1842
+ collection = "";
1843
+ /**
1844
+ * @generated from field: string id = 2;
1845
+ */
1846
+ id = "";
1847
+ constructor(data) {
1848
+ super();
1849
+ proto3.util.initPartial(data, this);
1850
+ }
1851
+ static runtime = proto3;
1852
+ static typeName = "libravdb.ipc.v1.DeleteRequest";
1853
+ static fields = proto3.util.newFieldList(() => [
1854
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1855
+ { no: 2, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1856
+ ]);
1857
+ static fromBinary(bytes, options) {
1858
+ return new DeleteRequest().fromBinary(bytes, options);
1859
+ }
1860
+ static fromJson(jsonValue, options) {
1861
+ return new DeleteRequest().fromJson(jsonValue, options);
1862
+ }
1863
+ static fromJsonString(jsonString, options) {
1864
+ return new DeleteRequest().fromJsonString(jsonString, options);
1865
+ }
1866
+ static equals(a, b) {
1867
+ return proto3.util.equals(DeleteRequest, a, b);
1868
+ }
1869
+ }
1870
+ /**
1871
+ * @generated from message libravdb.ipc.v1.DeleteResponse
1872
+ */
1873
+ export class DeleteResponse extends Message {
1874
+ /**
1875
+ * @generated from field: bool ok = 1;
1876
+ */
1877
+ ok = false;
1878
+ constructor(data) {
1879
+ super();
1880
+ proto3.util.initPartial(data, this);
1881
+ }
1882
+ static runtime = proto3;
1883
+ static typeName = "libravdb.ipc.v1.DeleteResponse";
1884
+ static fields = proto3.util.newFieldList(() => [
1885
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1886
+ ]);
1887
+ static fromBinary(bytes, options) {
1888
+ return new DeleteResponse().fromBinary(bytes, options);
1889
+ }
1890
+ static fromJson(jsonValue, options) {
1891
+ return new DeleteResponse().fromJson(jsonValue, options);
1892
+ }
1893
+ static fromJsonString(jsonString, options) {
1894
+ return new DeleteResponse().fromJsonString(jsonString, options);
1895
+ }
1896
+ static equals(a, b) {
1897
+ return proto3.util.equals(DeleteResponse, a, b);
1898
+ }
1899
+ }
1900
+ /**
1901
+ * @generated from message libravdb.ipc.v1.DeleteBatchRequest
1902
+ */
1903
+ export class DeleteBatchRequest extends Message {
1904
+ /**
1905
+ * @generated from field: string collection = 1;
1906
+ */
1907
+ collection = "";
1908
+ /**
1909
+ * @generated from field: repeated string ids = 2;
1910
+ */
1911
+ ids = [];
1912
+ constructor(data) {
1913
+ super();
1914
+ proto3.util.initPartial(data, this);
1915
+ }
1916
+ static runtime = proto3;
1917
+ static typeName = "libravdb.ipc.v1.DeleteBatchRequest";
1918
+ static fields = proto3.util.newFieldList(() => [
1919
+ { no: 1, name: "collection", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1920
+ { no: 2, name: "ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1921
+ ]);
1922
+ static fromBinary(bytes, options) {
1923
+ return new DeleteBatchRequest().fromBinary(bytes, options);
1924
+ }
1925
+ static fromJson(jsonValue, options) {
1926
+ return new DeleteBatchRequest().fromJson(jsonValue, options);
1927
+ }
1928
+ static fromJsonString(jsonString, options) {
1929
+ return new DeleteBatchRequest().fromJsonString(jsonString, options);
1930
+ }
1931
+ static equals(a, b) {
1932
+ return proto3.util.equals(DeleteBatchRequest, a, b);
1933
+ }
1934
+ }
1935
+ /**
1936
+ * @generated from message libravdb.ipc.v1.DeleteBatchResponse
1937
+ */
1938
+ export class DeleteBatchResponse extends Message {
1939
+ /**
1940
+ * @generated from field: bool ok = 1;
1941
+ */
1942
+ ok = false;
1943
+ constructor(data) {
1944
+ super();
1945
+ proto3.util.initPartial(data, this);
1946
+ }
1947
+ static runtime = proto3;
1948
+ static typeName = "libravdb.ipc.v1.DeleteBatchResponse";
1949
+ static fields = proto3.util.newFieldList(() => [
1950
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1951
+ ]);
1952
+ static fromBinary(bytes, options) {
1953
+ return new DeleteBatchResponse().fromBinary(bytes, options);
1954
+ }
1955
+ static fromJson(jsonValue, options) {
1956
+ return new DeleteBatchResponse().fromJson(jsonValue, options);
1957
+ }
1958
+ static fromJsonString(jsonString, options) {
1959
+ return new DeleteBatchResponse().fromJsonString(jsonString, options);
1960
+ }
1961
+ static equals(a, b) {
1962
+ return proto3.util.equals(DeleteBatchResponse, a, b);
1963
+ }
1964
+ }
1965
+ /**
1966
+ * @generated from message libravdb.ipc.v1.CompactSessionRequest
1967
+ */
1968
+ export class CompactSessionRequest extends Message {
1969
+ /**
1970
+ * @generated from field: string session_id = 1;
1971
+ */
1972
+ sessionId = "";
1973
+ /**
1974
+ * @generated from field: bool force = 2;
1975
+ */
1976
+ force = false;
1977
+ /**
1978
+ * @generated from field: int32 target_size = 3;
1979
+ */
1980
+ targetSize = 0;
1981
+ /**
1982
+ * @generated from field: int32 continuity_min_turns = 4;
1983
+ */
1984
+ continuityMinTurns = 0;
1985
+ /**
1986
+ * @generated from field: int32 continuity_tail_budget_tokens = 5;
1987
+ */
1988
+ continuityTailBudgetTokens = 0;
1989
+ /**
1990
+ * @generated from field: int32 continuity_prior_context_tokens = 6;
1991
+ */
1992
+ continuityPriorContextTokens = 0;
1993
+ constructor(data) {
1994
+ super();
1995
+ proto3.util.initPartial(data, this);
1996
+ }
1997
+ static runtime = proto3;
1998
+ static typeName = "libravdb.ipc.v1.CompactSessionRequest";
1999
+ static fields = proto3.util.newFieldList(() => [
2000
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2001
+ { no: 2, name: "force", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2002
+ { no: 3, name: "target_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2003
+ { no: 4, name: "continuity_min_turns", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2004
+ { no: 5, name: "continuity_tail_budget_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2005
+ { no: 6, name: "continuity_prior_context_tokens", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2006
+ ]);
2007
+ static fromBinary(bytes, options) {
2008
+ return new CompactSessionRequest().fromBinary(bytes, options);
2009
+ }
2010
+ static fromJson(jsonValue, options) {
2011
+ return new CompactSessionRequest().fromJson(jsonValue, options);
2012
+ }
2013
+ static fromJsonString(jsonString, options) {
2014
+ return new CompactSessionRequest().fromJsonString(jsonString, options);
2015
+ }
2016
+ static equals(a, b) {
2017
+ return proto3.util.equals(CompactSessionRequest, a, b);
2018
+ }
2019
+ }
2020
+ /**
2021
+ * @generated from message libravdb.ipc.v1.GatingScalarRequest
2022
+ */
2023
+ export class GatingScalarRequest extends Message {
2024
+ /**
2025
+ * @generated from field: string user_id = 1;
2026
+ */
2027
+ userId = "";
2028
+ /**
2029
+ * @generated from field: string text = 2;
2030
+ */
2031
+ text = "";
2032
+ constructor(data) {
2033
+ super();
2034
+ proto3.util.initPartial(data, this);
2035
+ }
2036
+ static runtime = proto3;
2037
+ static typeName = "libravdb.ipc.v1.GatingScalarRequest";
2038
+ static fields = proto3.util.newFieldList(() => [
2039
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2040
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2041
+ ]);
2042
+ static fromBinary(bytes, options) {
2043
+ return new GatingScalarRequest().fromBinary(bytes, options);
2044
+ }
2045
+ static fromJson(jsonValue, options) {
2046
+ return new GatingScalarRequest().fromJson(jsonValue, options);
2047
+ }
2048
+ static fromJsonString(jsonString, options) {
2049
+ return new GatingScalarRequest().fromJsonString(jsonString, options);
2050
+ }
2051
+ static equals(a, b) {
2052
+ return proto3.util.equals(GatingScalarRequest, a, b);
2053
+ }
2054
+ }
2055
+ /**
2056
+ * @generated from message libravdb.ipc.v1.FlushNamespaceRequest
2057
+ */
2058
+ export class FlushNamespaceRequest extends Message {
2059
+ /**
2060
+ * @generated from field: string user_id = 1;
2061
+ */
2062
+ userId = "";
2063
+ /**
2064
+ * @generated from field: string namespace = 2;
2065
+ */
2066
+ namespace = "";
2067
+ constructor(data) {
2068
+ super();
2069
+ proto3.util.initPartial(data, this);
2070
+ }
2071
+ static runtime = proto3;
2072
+ static typeName = "libravdb.ipc.v1.FlushNamespaceRequest";
2073
+ static fields = proto3.util.newFieldList(() => [
2074
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2075
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2076
+ ]);
2077
+ static fromBinary(bytes, options) {
2078
+ return new FlushNamespaceRequest().fromBinary(bytes, options);
2079
+ }
2080
+ static fromJson(jsonValue, options) {
2081
+ return new FlushNamespaceRequest().fromJson(jsonValue, options);
2082
+ }
2083
+ static fromJsonString(jsonString, options) {
2084
+ return new FlushNamespaceRequest().fromJsonString(jsonString, options);
2085
+ }
2086
+ static equals(a, b) {
2087
+ return proto3.util.equals(FlushNamespaceRequest, a, b);
2088
+ }
2089
+ }
2090
+ /**
2091
+ * @generated from message libravdb.ipc.v1.SessionLifecycleHintRequest
2092
+ */
2093
+ export class SessionLifecycleHintRequest extends Message {
2094
+ /**
2095
+ * @generated from field: string hook = 1;
2096
+ */
2097
+ hook = "";
2098
+ /**
2099
+ * @generated from field: string reason = 2;
2100
+ */
2101
+ reason = "";
2102
+ /**
2103
+ * @generated from field: string session_file = 3;
2104
+ */
2105
+ sessionFile = "";
2106
+ /**
2107
+ * @generated from field: string session_id = 4;
2108
+ */
2109
+ sessionId = "";
2110
+ /**
2111
+ * @generated from field: string session_key = 5;
2112
+ */
2113
+ sessionKey = "";
2114
+ /**
2115
+ * @generated from field: string agent_id = 6;
2116
+ */
2117
+ agentId = "";
2118
+ /**
2119
+ * @generated from field: string workspace_dir = 7;
2120
+ */
2121
+ workspaceDir = "";
2122
+ /**
2123
+ * @generated from field: int32 message_count = 8;
2124
+ */
2125
+ messageCount = 0;
2126
+ /**
2127
+ * @generated from field: int32 duration_ms = 9;
2128
+ */
2129
+ durationMs = 0;
2130
+ /**
2131
+ * @generated from field: bool transcript_archived = 10;
2132
+ */
2133
+ transcriptArchived = false;
2134
+ /**
2135
+ * @generated from field: string next_session_id = 11;
2136
+ */
2137
+ nextSessionId = "";
2138
+ /**
2139
+ * @generated from field: string next_session_key = 12;
2140
+ */
2141
+ nextSessionKey = "";
2142
+ constructor(data) {
2143
+ super();
2144
+ proto3.util.initPartial(data, this);
2145
+ }
2146
+ static runtime = proto3;
2147
+ static typeName = "libravdb.ipc.v1.SessionLifecycleHintRequest";
2148
+ static fields = proto3.util.newFieldList(() => [
2149
+ { no: 1, name: "hook", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2150
+ { no: 2, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2151
+ { no: 3, name: "session_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2152
+ { no: 4, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2153
+ { no: 5, name: "session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2154
+ { no: 6, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2155
+ { no: 7, name: "workspace_dir", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2156
+ { no: 8, name: "message_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2157
+ { no: 9, name: "duration_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2158
+ { no: 10, name: "transcript_archived", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2159
+ { no: 11, name: "next_session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2160
+ { no: 12, name: "next_session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2161
+ ]);
2162
+ static fromBinary(bytes, options) {
2163
+ return new SessionLifecycleHintRequest().fromBinary(bytes, options);
2164
+ }
2165
+ static fromJson(jsonValue, options) {
2166
+ return new SessionLifecycleHintRequest().fromJson(jsonValue, options);
2167
+ }
2168
+ static fromJsonString(jsonString, options) {
2169
+ return new SessionLifecycleHintRequest().fromJsonString(jsonString, options);
2170
+ }
2171
+ static equals(a, b) {
2172
+ return proto3.util.equals(SessionLifecycleHintRequest, a, b);
2173
+ }
2174
+ }
2175
+ /**
2176
+ * @generated from message libravdb.ipc.v1.SessionLifecycleHintResponse
2177
+ */
2178
+ export class SessionLifecycleHintResponse extends Message {
2179
+ /**
2180
+ * @generated from field: bool ok = 1;
2181
+ */
2182
+ ok = false;
2183
+ /**
2184
+ * @generated from field: string hook = 2;
2185
+ */
2186
+ hook = "";
2187
+ /**
2188
+ * @generated from field: string session_id = 3;
2189
+ */
2190
+ sessionId = "";
2191
+ /**
2192
+ * @generated from field: string reason = 4;
2193
+ */
2194
+ reason = "";
2195
+ constructor(data) {
2196
+ super();
2197
+ proto3.util.initPartial(data, this);
2198
+ }
2199
+ static runtime = proto3;
2200
+ static typeName = "libravdb.ipc.v1.SessionLifecycleHintResponse";
2201
+ static fields = proto3.util.newFieldList(() => [
2202
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2203
+ { no: 2, name: "hook", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2204
+ { no: 3, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2205
+ { no: 4, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2206
+ ]);
2207
+ static fromBinary(bytes, options) {
2208
+ return new SessionLifecycleHintResponse().fromBinary(bytes, options);
2209
+ }
2210
+ static fromJson(jsonValue, options) {
2211
+ return new SessionLifecycleHintResponse().fromJson(jsonValue, options);
2212
+ }
2213
+ static fromJsonString(jsonString, options) {
2214
+ return new SessionLifecycleHintResponse().fromJsonString(jsonString, options);
2215
+ }
2216
+ static equals(a, b) {
2217
+ return proto3.util.equals(SessionLifecycleHintResponse, a, b);
2218
+ }
2219
+ }
2220
+ /**
2221
+ * @generated from message libravdb.ipc.v1.MemoryStatusResponse
2222
+ */
2223
+ export class MemoryStatusResponse extends Message {
2224
+ /**
2225
+ * @generated from field: bool ok = 1;
2226
+ */
2227
+ ok = false;
2228
+ /**
2229
+ * @generated from field: string message = 2;
2230
+ */
2231
+ message = "";
2232
+ /**
2233
+ * @generated from field: int32 turn_count = 3;
2234
+ */
2235
+ turnCount = 0;
2236
+ /**
2237
+ * @generated from field: int32 memory_count = 4;
2238
+ */
2239
+ memoryCount = 0;
2240
+ /**
2241
+ * @generated from field: int32 lifecycle_hint_count = 5;
2242
+ */
2243
+ lifecycleHintCount = 0;
2244
+ /**
2245
+ * @generated from field: double gating_threshold = 6;
2246
+ */
2247
+ gatingThreshold = 0;
2248
+ /**
2249
+ * @generated from field: bool abstractive_ready = 7;
2250
+ */
2251
+ abstractiveReady = false;
2252
+ /**
2253
+ * @generated from field: string embedding_profile = 8;
2254
+ */
2255
+ embeddingProfile = "";
2256
+ constructor(data) {
2257
+ super();
2258
+ proto3.util.initPartial(data, this);
2259
+ }
2260
+ static runtime = proto3;
2261
+ static typeName = "libravdb.ipc.v1.MemoryStatusResponse";
2262
+ static fields = proto3.util.newFieldList(() => [
2263
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2264
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2265
+ { no: 3, name: "turn_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2266
+ { no: 4, name: "memory_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2267
+ { no: 5, name: "lifecycle_hint_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2268
+ { no: 6, name: "gating_threshold", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2269
+ { no: 7, name: "abstractive_ready", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2270
+ { no: 8, name: "embedding_profile", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2271
+ ]);
2272
+ static fromBinary(bytes, options) {
2273
+ return new MemoryStatusResponse().fromBinary(bytes, options);
2274
+ }
2275
+ static fromJson(jsonValue, options) {
2276
+ return new MemoryStatusResponse().fromJson(jsonValue, options);
2277
+ }
2278
+ static fromJsonString(jsonString, options) {
2279
+ return new MemoryStatusResponse().fromJsonString(jsonString, options);
2280
+ }
2281
+ static equals(a, b) {
2282
+ return proto3.util.equals(MemoryStatusResponse, a, b);
2283
+ }
2284
+ }
2285
+ /**
2286
+ * @generated from message libravdb.ipc.v1.ExportMemoryRequest
2287
+ */
2288
+ export class ExportMemoryRequest extends Message {
2289
+ /**
2290
+ * @generated from field: string user_id = 1;
2291
+ */
2292
+ userId = "";
2293
+ /**
2294
+ * @generated from field: string namespace = 2;
2295
+ */
2296
+ namespace = "";
2297
+ constructor(data) {
2298
+ super();
2299
+ proto3.util.initPartial(data, this);
2300
+ }
2301
+ static runtime = proto3;
2302
+ static typeName = "libravdb.ipc.v1.ExportMemoryRequest";
2303
+ static fields = proto3.util.newFieldList(() => [
2304
+ { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2305
+ { no: 2, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2306
+ ]);
2307
+ static fromBinary(bytes, options) {
2308
+ return new ExportMemoryRequest().fromBinary(bytes, options);
2309
+ }
2310
+ static fromJson(jsonValue, options) {
2311
+ return new ExportMemoryRequest().fromJson(jsonValue, options);
2312
+ }
2313
+ static fromJsonString(jsonString, options) {
2314
+ return new ExportMemoryRequest().fromJsonString(jsonString, options);
2315
+ }
2316
+ static equals(a, b) {
2317
+ return proto3.util.equals(ExportMemoryRequest, a, b);
2318
+ }
2319
+ }
2320
+ /**
2321
+ * @generated from message libravdb.ipc.v1.ExportMemoryResponse
2322
+ */
2323
+ export class ExportMemoryResponse extends Message {
2324
+ /**
2325
+ * @generated from field: repeated libravdb.ipc.v1.ExportMemoryRecord records = 1;
2326
+ */
2327
+ records = [];
2328
+ constructor(data) {
2329
+ super();
2330
+ proto3.util.initPartial(data, this);
2331
+ }
2332
+ static runtime = proto3;
2333
+ static typeName = "libravdb.ipc.v1.ExportMemoryResponse";
2334
+ static fields = proto3.util.newFieldList(() => [
2335
+ { no: 1, name: "records", kind: "message", T: ExportMemoryRecord, repeated: true },
2336
+ ]);
2337
+ static fromBinary(bytes, options) {
2338
+ return new ExportMemoryResponse().fromBinary(bytes, options);
2339
+ }
2340
+ static fromJson(jsonValue, options) {
2341
+ return new ExportMemoryResponse().fromJson(jsonValue, options);
2342
+ }
2343
+ static fromJsonString(jsonString, options) {
2344
+ return new ExportMemoryResponse().fromJsonString(jsonString, options);
2345
+ }
2346
+ static equals(a, b) {
2347
+ return proto3.util.equals(ExportMemoryResponse, a, b);
2348
+ }
2349
+ }
2350
+ /**
2351
+ * @generated from message libravdb.ipc.v1.FlushNamespaceResponse
2352
+ */
2353
+ export class FlushNamespaceResponse extends Message {
2354
+ /**
2355
+ * @generated from field: bool ok = 1;
2356
+ */
2357
+ ok = false;
2358
+ constructor(data) {
2359
+ super();
2360
+ proto3.util.initPartial(data, this);
2361
+ }
2362
+ static runtime = proto3;
2363
+ static typeName = "libravdb.ipc.v1.FlushNamespaceResponse";
2364
+ static fields = proto3.util.newFieldList(() => [
2365
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2366
+ ]);
2367
+ static fromBinary(bytes, options) {
2368
+ return new FlushNamespaceResponse().fromBinary(bytes, options);
2369
+ }
2370
+ static fromJson(jsonValue, options) {
2371
+ return new FlushNamespaceResponse().fromJson(jsonValue, options);
2372
+ }
2373
+ static fromJsonString(jsonString, options) {
2374
+ return new FlushNamespaceResponse().fromJsonString(jsonString, options);
2375
+ }
2376
+ static equals(a, b) {
2377
+ return proto3.util.equals(FlushNamespaceResponse, a, b);
2378
+ }
2379
+ }
2380
+ /**
2381
+ * @generated from message libravdb.ipc.v1.FlushResponse
2382
+ */
2383
+ export class FlushResponse extends Message {
2384
+ /**
2385
+ * @generated from field: bool ok = 1;
2386
+ */
2387
+ ok = false;
2388
+ constructor(data) {
2389
+ super();
2390
+ proto3.util.initPartial(data, this);
2391
+ }
2392
+ static runtime = proto3;
2393
+ static typeName = "libravdb.ipc.v1.FlushResponse";
2394
+ static fields = proto3.util.newFieldList(() => [
2395
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2396
+ ]);
2397
+ static fromBinary(bytes, options) {
2398
+ return new FlushResponse().fromBinary(bytes, options);
2399
+ }
2400
+ static fromJson(jsonValue, options) {
2401
+ return new FlushResponse().fromJson(jsonValue, options);
2402
+ }
2403
+ static fromJsonString(jsonString, options) {
2404
+ return new FlushResponse().fromJsonString(jsonString, options);
2405
+ }
2406
+ static equals(a, b) {
2407
+ return proto3.util.equals(FlushResponse, a, b);
2408
+ }
2409
+ }
2410
+ /**
2411
+ * @generated from message libravdb.ipc.v1.BootstrapSessionKernelRequest
2412
+ */
2413
+ export class BootstrapSessionKernelRequest extends Message {
2414
+ /**
2415
+ * @generated from field: string session_id = 1;
2416
+ */
2417
+ sessionId = "";
2418
+ /**
2419
+ * @generated from field: string session_key = 2;
2420
+ */
2421
+ sessionKey = "";
2422
+ /**
2423
+ * @generated from field: string user_id = 3;
2424
+ */
2425
+ userId = "";
2426
+ constructor(data) {
2427
+ super();
2428
+ proto3.util.initPartial(data, this);
2429
+ }
2430
+ static runtime = proto3;
2431
+ static typeName = "libravdb.ipc.v1.BootstrapSessionKernelRequest";
2432
+ static fields = proto3.util.newFieldList(() => [
2433
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2434
+ { no: 2, name: "session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2435
+ { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2436
+ ]);
2437
+ static fromBinary(bytes, options) {
2438
+ return new BootstrapSessionKernelRequest().fromBinary(bytes, options);
2439
+ }
2440
+ static fromJson(jsonValue, options) {
2441
+ return new BootstrapSessionKernelRequest().fromJson(jsonValue, options);
2442
+ }
2443
+ static fromJsonString(jsonString, options) {
2444
+ return new BootstrapSessionKernelRequest().fromJsonString(jsonString, options);
2445
+ }
2446
+ static equals(a, b) {
2447
+ return proto3.util.equals(BootstrapSessionKernelRequest, a, b);
2448
+ }
2449
+ }
2450
+ /**
2451
+ * @generated from message libravdb.ipc.v1.BootstrapSessionKernelResponse
2452
+ */
2453
+ export class BootstrapSessionKernelResponse extends Message {
2454
+ /**
2455
+ * @generated from field: bool ok = 1;
2456
+ */
2457
+ ok = false;
2458
+ constructor(data) {
2459
+ super();
2460
+ proto3.util.initPartial(data, this);
2461
+ }
2462
+ static runtime = proto3;
2463
+ static typeName = "libravdb.ipc.v1.BootstrapSessionKernelResponse";
2464
+ static fields = proto3.util.newFieldList(() => [
2465
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2466
+ ]);
2467
+ static fromBinary(bytes, options) {
2468
+ return new BootstrapSessionKernelResponse().fromBinary(bytes, options);
2469
+ }
2470
+ static fromJson(jsonValue, options) {
2471
+ return new BootstrapSessionKernelResponse().fromJson(jsonValue, options);
2472
+ }
2473
+ static fromJsonString(jsonString, options) {
2474
+ return new BootstrapSessionKernelResponse().fromJsonString(jsonString, options);
2475
+ }
2476
+ static equals(a, b) {
2477
+ return proto3.util.equals(BootstrapSessionKernelResponse, a, b);
2478
+ }
2479
+ }
2480
+ /**
2481
+ * @generated from message libravdb.ipc.v1.IngestMessageKernelRequest
2482
+ */
2483
+ export class IngestMessageKernelRequest extends Message {
2484
+ /**
2485
+ * @generated from field: string session_id = 1;
2486
+ */
2487
+ sessionId = "";
2488
+ /**
2489
+ * @generated from field: string session_key = 2;
2490
+ */
2491
+ sessionKey = "";
2492
+ /**
2493
+ * @generated from field: string user_id = 3;
2494
+ */
2495
+ userId = "";
2496
+ /**
2497
+ * @generated from field: libravdb.ipc.v1.KernelMessage message = 4;
2498
+ */
2499
+ message;
2500
+ /**
2501
+ * @generated from field: bool is_heartbeat = 5;
2502
+ */
2503
+ isHeartbeat = false;
2504
+ constructor(data) {
2505
+ super();
2506
+ proto3.util.initPartial(data, this);
2507
+ }
2508
+ static runtime = proto3;
2509
+ static typeName = "libravdb.ipc.v1.IngestMessageKernelRequest";
2510
+ static fields = proto3.util.newFieldList(() => [
2511
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2512
+ { no: 2, name: "session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2513
+ { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2514
+ { no: 4, name: "message", kind: "message", T: KernelMessage },
2515
+ { no: 5, name: "is_heartbeat", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2516
+ ]);
2517
+ static fromBinary(bytes, options) {
2518
+ return new IngestMessageKernelRequest().fromBinary(bytes, options);
2519
+ }
2520
+ static fromJson(jsonValue, options) {
2521
+ return new IngestMessageKernelRequest().fromJson(jsonValue, options);
2522
+ }
2523
+ static fromJsonString(jsonString, options) {
2524
+ return new IngestMessageKernelRequest().fromJsonString(jsonString, options);
2525
+ }
2526
+ static equals(a, b) {
2527
+ return proto3.util.equals(IngestMessageKernelRequest, a, b);
2528
+ }
2529
+ }
2530
+ /**
2531
+ * @generated from message libravdb.ipc.v1.IngestMessageKernelResponse
2532
+ */
2533
+ export class IngestMessageKernelResponse extends Message {
2534
+ /**
2535
+ * @generated from field: bool ok = 1;
2536
+ */
2537
+ ok = false;
2538
+ /**
2539
+ * @generated from field: int32 ingested = 2;
2540
+ */
2541
+ ingested = 0;
2542
+ constructor(data) {
2543
+ super();
2544
+ proto3.util.initPartial(data, this);
2545
+ }
2546
+ static runtime = proto3;
2547
+ static typeName = "libravdb.ipc.v1.IngestMessageKernelResponse";
2548
+ static fields = proto3.util.newFieldList(() => [
2549
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2550
+ { no: 2, name: "ingested", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2551
+ ]);
2552
+ static fromBinary(bytes, options) {
2553
+ return new IngestMessageKernelResponse().fromBinary(bytes, options);
2554
+ }
2555
+ static fromJson(jsonValue, options) {
2556
+ return new IngestMessageKernelResponse().fromJson(jsonValue, options);
2557
+ }
2558
+ static fromJsonString(jsonString, options) {
2559
+ return new IngestMessageKernelResponse().fromJsonString(jsonString, options);
2560
+ }
2561
+ static equals(a, b) {
2562
+ return proto3.util.equals(IngestMessageKernelResponse, a, b);
2563
+ }
2564
+ }
2565
+ /**
2566
+ * @generated from message libravdb.ipc.v1.AfterTurnKernelRequest
2567
+ */
2568
+ export class AfterTurnKernelRequest extends Message {
2569
+ /**
2570
+ * @generated from field: string session_id = 1;
2571
+ */
2572
+ sessionId = "";
2573
+ /**
2574
+ * @generated from field: string session_key = 2;
2575
+ */
2576
+ sessionKey = "";
2577
+ /**
2578
+ * @generated from field: string user_id = 3;
2579
+ */
2580
+ userId = "";
2581
+ /**
2582
+ * @generated from field: repeated libravdb.ipc.v1.KernelMessage messages = 4;
2583
+ */
2584
+ messages = [];
2585
+ /**
2586
+ * @generated from field: int32 pre_prompt_message_count = 5;
2587
+ */
2588
+ prePromptMessageCount = 0;
2589
+ /**
2590
+ * @generated from field: bool is_heartbeat = 6;
2591
+ */
2592
+ isHeartbeat = false;
2593
+ constructor(data) {
2594
+ super();
2595
+ proto3.util.initPartial(data, this);
2596
+ }
2597
+ static runtime = proto3;
2598
+ static typeName = "libravdb.ipc.v1.AfterTurnKernelRequest";
2599
+ static fields = proto3.util.newFieldList(() => [
2600
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2601
+ { no: 2, name: "session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2602
+ { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2603
+ { no: 4, name: "messages", kind: "message", T: KernelMessage, repeated: true },
2604
+ { no: 5, name: "pre_prompt_message_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2605
+ { no: 6, name: "is_heartbeat", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2606
+ ]);
2607
+ static fromBinary(bytes, options) {
2608
+ return new AfterTurnKernelRequest().fromBinary(bytes, options);
2609
+ }
2610
+ static fromJson(jsonValue, options) {
2611
+ return new AfterTurnKernelRequest().fromJson(jsonValue, options);
2612
+ }
2613
+ static fromJsonString(jsonString, options) {
2614
+ return new AfterTurnKernelRequest().fromJsonString(jsonString, options);
2615
+ }
2616
+ static equals(a, b) {
2617
+ return proto3.util.equals(AfterTurnKernelRequest, a, b);
2618
+ }
2619
+ }
2620
+ /**
2621
+ * @generated from message libravdb.ipc.v1.AfterTurnKernelResponse
2622
+ */
2623
+ export class AfterTurnKernelResponse extends Message {
2624
+ /**
2625
+ * @generated from field: bool ok = 1;
2626
+ */
2627
+ ok = false;
2628
+ constructor(data) {
2629
+ super();
2630
+ proto3.util.initPartial(data, this);
2631
+ }
2632
+ static runtime = proto3;
2633
+ static typeName = "libravdb.ipc.v1.AfterTurnKernelResponse";
2634
+ static fields = proto3.util.newFieldList(() => [
2635
+ { no: 1, name: "ok", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2636
+ ]);
2637
+ static fromBinary(bytes, options) {
2638
+ return new AfterTurnKernelResponse().fromBinary(bytes, options);
2639
+ }
2640
+ static fromJson(jsonValue, options) {
2641
+ return new AfterTurnKernelResponse().fromJson(jsonValue, options);
2642
+ }
2643
+ static fromJsonString(jsonString, options) {
2644
+ return new AfterTurnKernelResponse().fromJsonString(jsonString, options);
2645
+ }
2646
+ static equals(a, b) {
2647
+ return proto3.util.equals(AfterTurnKernelResponse, a, b);
2648
+ }
2649
+ }
2650
+ /**
2651
+ * @generated from message libravdb.ipc.v1.AssembleContextInternalRequest
2652
+ */
2653
+ export class AssembleContextInternalRequest extends Message {
2654
+ /**
2655
+ * @generated from field: string session_id = 1;
2656
+ */
2657
+ sessionId = "";
2658
+ /**
2659
+ * @generated from field: string session_key = 2;
2660
+ */
2661
+ sessionKey = "";
2662
+ /**
2663
+ * @generated from field: string user_id = 3;
2664
+ */
2665
+ userId = "";
2666
+ /**
2667
+ * @generated from field: repeated libravdb.ipc.v1.KernelMessage messages = 4;
2668
+ */
2669
+ messages = [];
2670
+ /**
2671
+ * @generated from field: int32 token_budget = 5;
2672
+ */
2673
+ tokenBudget = 0;
2674
+ /**
2675
+ * @generated from field: string prompt = 6;
2676
+ */
2677
+ prompt = "";
2678
+ /**
2679
+ * @generated from field: bool emit_debug = 7;
2680
+ */
2681
+ emitDebug = false;
2682
+ /**
2683
+ * @generated from field: libravdb.ipc.v1.AssembleConfigOverrides config = 8;
2684
+ */
2685
+ config;
2686
+ constructor(data) {
2687
+ super();
2688
+ proto3.util.initPartial(data, this);
2689
+ }
2690
+ static runtime = proto3;
2691
+ static typeName = "libravdb.ipc.v1.AssembleContextInternalRequest";
2692
+ static fields = proto3.util.newFieldList(() => [
2693
+ { no: 1, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2694
+ { no: 2, name: "session_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2695
+ { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2696
+ { no: 4, name: "messages", kind: "message", T: KernelMessage, repeated: true },
2697
+ { no: 5, name: "token_budget", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2698
+ { no: 6, name: "prompt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2699
+ { no: 7, name: "emit_debug", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2700
+ { no: 8, name: "config", kind: "message", T: AssembleConfigOverrides },
2701
+ ]);
2702
+ static fromBinary(bytes, options) {
2703
+ return new AssembleContextInternalRequest().fromBinary(bytes, options);
2704
+ }
2705
+ static fromJson(jsonValue, options) {
2706
+ return new AssembleContextInternalRequest().fromJson(jsonValue, options);
2707
+ }
2708
+ static fromJsonString(jsonString, options) {
2709
+ return new AssembleContextInternalRequest().fromJsonString(jsonString, options);
2710
+ }
2711
+ static equals(a, b) {
2712
+ return proto3.util.equals(AssembleContextInternalRequest, a, b);
2713
+ }
2714
+ }
2715
+ /**
2716
+ * @generated from message libravdb.ipc.v1.RankCandidatesRequest
2717
+ */
2718
+ export class RankCandidatesRequest extends Message {
2719
+ /**
2720
+ * @generated from field: repeated libravdb.ipc.v1.RankCandidate candidates = 1;
2721
+ */
2722
+ candidates = [];
2723
+ /**
2724
+ * @generated from field: string query_text = 2;
2725
+ */
2726
+ queryText = "";
2727
+ /**
2728
+ * @generated from field: string session_id = 3;
2729
+ */
2730
+ sessionId = "";
2731
+ /**
2732
+ * @generated from field: string user_id = 4;
2733
+ */
2734
+ userId = "";
2735
+ /**
2736
+ * @generated from field: int32 k1 = 5;
2737
+ */
2738
+ k1 = 0;
2739
+ /**
2740
+ * @generated from field: int32 k2 = 6;
2741
+ */
2742
+ k2 = 0;
2743
+ constructor(data) {
2744
+ super();
2745
+ proto3.util.initPartial(data, this);
2746
+ }
2747
+ static runtime = proto3;
2748
+ static typeName = "libravdb.ipc.v1.RankCandidatesRequest";
2749
+ static fields = proto3.util.newFieldList(() => [
2750
+ { no: 1, name: "candidates", kind: "message", T: RankCandidate, repeated: true },
2751
+ { no: 2, name: "query_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2752
+ { no: 3, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2753
+ { no: 4, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2754
+ { no: 5, name: "k1", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2755
+ { no: 6, name: "k2", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2756
+ ]);
2757
+ static fromBinary(bytes, options) {
2758
+ return new RankCandidatesRequest().fromBinary(bytes, options);
2759
+ }
2760
+ static fromJson(jsonValue, options) {
2761
+ return new RankCandidatesRequest().fromJson(jsonValue, options);
2762
+ }
2763
+ static fromJsonString(jsonString, options) {
2764
+ return new RankCandidatesRequest().fromJsonString(jsonString, options);
2765
+ }
2766
+ static equals(a, b) {
2767
+ return proto3.util.equals(RankCandidatesRequest, a, b);
2768
+ }
2769
+ }
2770
+ /**
2771
+ * @generated from message libravdb.ipc.v1.RankCandidatesResponse
2772
+ */
2773
+ export class RankCandidatesResponse extends Message {
2774
+ /**
2775
+ * @generated from field: repeated libravdb.ipc.v1.RankCandidate ranked = 1;
2776
+ */
2777
+ ranked = [];
2778
+ constructor(data) {
2779
+ super();
2780
+ proto3.util.initPartial(data, this);
2781
+ }
2782
+ static runtime = proto3;
2783
+ static typeName = "libravdb.ipc.v1.RankCandidatesResponse";
2784
+ static fields = proto3.util.newFieldList(() => [
2785
+ { no: 1, name: "ranked", kind: "message", T: RankCandidate, repeated: true },
2786
+ ]);
2787
+ static fromBinary(bytes, options) {
2788
+ return new RankCandidatesResponse().fromBinary(bytes, options);
2789
+ }
2790
+ static fromJson(jsonValue, options) {
2791
+ return new RankCandidatesResponse().fromJson(jsonValue, options);
2792
+ }
2793
+ static fromJsonString(jsonString, options) {
2794
+ return new RankCandidatesResponse().fromJsonString(jsonString, options);
2795
+ }
2796
+ static equals(a, b) {
2797
+ return proto3.util.equals(RankCandidatesResponse, a, b);
2798
+ }
2799
+ }
2800
+ //# sourceMappingURL=rpc_pb.js.map