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