@liquidmetal-ai/drizzle 0.1.3 → 0.2.2

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.
Files changed (44) hide show
  1. package/.changeset/breezy-lamps-fry.md +6 -0
  2. package/.turbo/turbo-lint.log +6 -0
  3. package/.turbo/turbo-test.log +6 -0
  4. package/dist/appify/build.d.ts +32 -2
  5. package/dist/appify/build.d.ts.map +1 -1
  6. package/dist/appify/build.js +166 -24
  7. package/dist/appify/build.test.js +75 -3
  8. package/dist/appify/validate.d.ts +2 -1
  9. package/dist/appify/validate.d.ts.map +1 -1
  10. package/dist/appify/validate.js +71 -2
  11. package/dist/appify/validate.test.js +74 -4
  12. package/dist/codestore.js +2 -2
  13. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +81 -78
  14. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
  15. package/dist/liquidmetal/v1alpha1/catalog_connect.js +81 -78
  16. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +572 -610
  17. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  18. package/dist/liquidmetal/v1alpha1/catalog_pb.js +675 -741
  19. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +68 -0
  20. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +1 -0
  21. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +73 -0
  22. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +283 -0
  23. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -0
  24. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +454 -0
  25. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +170 -0
  26. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +1 -0
  27. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +173 -0
  28. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +505 -0
  29. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -0
  30. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +715 -0
  31. package/package.json +1 -1
  32. package/src/appify/build.test.ts +85 -3
  33. package/src/appify/build.ts +181 -25
  34. package/src/appify/validate.test.ts +77 -4
  35. package/src/appify/validate.ts +78 -1
  36. package/src/codestore.ts +2 -2
  37. package/src/liquidmetal/v1alpha1/catalog_connect.ts +81 -78
  38. package/src/liquidmetal/v1alpha1/catalog_pb.ts +872 -970
  39. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +77 -0
  40. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +561 -0
  41. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +176 -0
  42. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +842 -0
  43. package/tsconfig.tsbuildinfo +1 -1
  44. package/.turbo/turbo-build.log +0 -30
@@ -0,0 +1,842 @@
1
+ // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
2
+ // @generated from file liquidmetal/v1alpha1/search_agent.proto (package liquidmetal.v1alpha1, 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 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * DocumentChatRequest initiates or continues a conversation about a specific document.
11
+ * The system maintains conversation context for natural, flowing dialogue about
12
+ * document content.
13
+ *
14
+ * @generated from message liquidmetal.v1alpha1.DocumentChatRequest
15
+ */
16
+ export class DocumentChatRequest extends Message<DocumentChatRequest> {
17
+ /**
18
+ * The storage bucket containing the target document
19
+ * Must be a valid, registered Smart Bucket
20
+ *
21
+ * @generated from field: string bucket = 1;
22
+ */
23
+ bucket = "";
24
+
25
+ /**
26
+ * Document identifier within the bucket
27
+ * Typically matches the storage path or key
28
+ *
29
+ * @generated from field: string object_id = 2;
30
+ */
31
+ objectId = "";
32
+
33
+ /**
34
+ * User's input or question about the document
35
+ * Can be natural language questions, commands, or requests
36
+ *
37
+ * @generated from field: string input = 3;
38
+ */
39
+ input = "";
40
+
41
+ /**
42
+ * Conversation session identifier
43
+ * Use the same ID for follow-up questions to maintain context
44
+ *
45
+ * @generated from field: string request_id = 4;
46
+ */
47
+ requestId = "";
48
+
49
+ constructor(data?: PartialMessage<DocumentChatRequest>) {
50
+ super();
51
+ proto3.util.initPartial(data, this);
52
+ }
53
+
54
+ static readonly runtime: typeof proto3 = proto3;
55
+ static readonly typeName = "liquidmetal.v1alpha1.DocumentChatRequest";
56
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
57
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
58
+ { no: 2, name: "object_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
59
+ { no: 3, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
60
+ { no: 4, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
61
+ ]);
62
+
63
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DocumentChatRequest {
64
+ return new DocumentChatRequest().fromBinary(bytes, options);
65
+ }
66
+
67
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DocumentChatRequest {
68
+ return new DocumentChatRequest().fromJson(jsonValue, options);
69
+ }
70
+
71
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DocumentChatRequest {
72
+ return new DocumentChatRequest().fromJsonString(jsonString, options);
73
+ }
74
+
75
+ static equals(a: DocumentChatRequest | PlainMessage<DocumentChatRequest> | undefined, b: DocumentChatRequest | PlainMessage<DocumentChatRequest> | undefined): boolean {
76
+ return proto3.util.equals(DocumentChatRequest, a, b);
77
+ }
78
+ }
79
+
80
+ /**
81
+ * DocumentChatResponse contains the AI's response based on document content
82
+ * and conversation context. Responses are generated considering both the
83
+ * current question and previous conversation history.
84
+ *
85
+ * @generated from message liquidmetal.v1alpha1.DocumentChatResponse
86
+ */
87
+ export class DocumentChatResponse extends Message<DocumentChatResponse> {
88
+ /**
89
+ * AI-generated response that may include:
90
+ * - Direct document quotes
91
+ * - Content summaries
92
+ * - Contextual explanations
93
+ * - References to specific sections
94
+ * - Related content suggestions
95
+ *
96
+ * @generated from field: string answer = 1;
97
+ */
98
+ answer = "";
99
+
100
+ constructor(data?: PartialMessage<DocumentChatResponse>) {
101
+ super();
102
+ proto3.util.initPartial(data, this);
103
+ }
104
+
105
+ static readonly runtime: typeof proto3 = proto3;
106
+ static readonly typeName = "liquidmetal.v1alpha1.DocumentChatResponse";
107
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
108
+ { no: 1, name: "answer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
109
+ ]);
110
+
111
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DocumentChatResponse {
112
+ return new DocumentChatResponse().fromBinary(bytes, options);
113
+ }
114
+
115
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DocumentChatResponse {
116
+ return new DocumentChatResponse().fromJson(jsonValue, options);
117
+ }
118
+
119
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DocumentChatResponse {
120
+ return new DocumentChatResponse().fromJsonString(jsonString, options);
121
+ }
122
+
123
+ static equals(a: DocumentChatResponse | PlainMessage<DocumentChatResponse> | undefined, b: DocumentChatResponse | PlainMessage<DocumentChatResponse> | undefined): boolean {
124
+ return proto3.util.equals(DocumentChatResponse, a, b);
125
+ }
126
+ }
127
+
128
+ /**
129
+ * RagSearchRequest enables semantic search across document collections using
130
+ * natural language queries. The system automatically optimizes the search
131
+ * strategy based on the query content.
132
+ *
133
+ * @generated from message liquidmetal.v1alpha1.RagSearchRequest
134
+ */
135
+ export class RagSearchRequest extends Message<RagSearchRequest> {
136
+ /**
137
+ * Natural language query or question
138
+ * Can include complex criteria and relationships
139
+ *
140
+ * @generated from field: string input = 1;
141
+ */
142
+ input = "";
143
+
144
+ /**
145
+ * Search session identifier for result tracking
146
+ * Used for pagination and result caching
147
+ *
148
+ * @generated from field: string request_id = 2;
149
+ */
150
+ requestId = "";
151
+
152
+ /**
153
+ * Bucket IDs to search
154
+ * If provided, the search will only return results from these buckets
155
+ *
156
+ * @generated from field: repeated string bucket_ids = 3;
157
+ */
158
+ bucketIds: string[] = [];
159
+
160
+ constructor(data?: PartialMessage<RagSearchRequest>) {
161
+ super();
162
+ proto3.util.initPartial(data, this);
163
+ }
164
+
165
+ static readonly runtime: typeof proto3 = proto3;
166
+ static readonly typeName = "liquidmetal.v1alpha1.RagSearchRequest";
167
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
168
+ { no: 1, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
+ { no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
170
+ { no: 3, name: "bucket_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
171
+ ]);
172
+
173
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RagSearchRequest {
174
+ return new RagSearchRequest().fromBinary(bytes, options);
175
+ }
176
+
177
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RagSearchRequest {
178
+ return new RagSearchRequest().fromJson(jsonValue, options);
179
+ }
180
+
181
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RagSearchRequest {
182
+ return new RagSearchRequest().fromJsonString(jsonString, options);
183
+ }
184
+
185
+ static equals(a: RagSearchRequest | PlainMessage<RagSearchRequest> | undefined, b: RagSearchRequest | PlainMessage<RagSearchRequest> | undefined): boolean {
186
+ return proto3.util.equals(RagSearchRequest, a, b);
187
+ }
188
+ }
189
+
190
+ /**
191
+ * RagSearchResponse provides semantically relevant results with metadata
192
+ * and relevance scoring. Results are automatically filtered for PII
193
+ * and ranked by relevance.
194
+ *
195
+ * @generated from message liquidmetal.v1alpha1.RagSearchResponse
196
+ */
197
+ export class RagSearchResponse extends Message<RagSearchResponse> {
198
+ /**
199
+ * Ordered list of relevant text segments
200
+ * Each result includes full context and metadata
201
+ *
202
+ * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
203
+ */
204
+ results: TextResult[] = [];
205
+
206
+ constructor(data?: PartialMessage<RagSearchResponse>) {
207
+ super();
208
+ proto3.util.initPartial(data, this);
209
+ }
210
+
211
+ static readonly runtime: typeof proto3 = proto3;
212
+ static readonly typeName = "liquidmetal.v1alpha1.RagSearchResponse";
213
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
214
+ { no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
215
+ ]);
216
+
217
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RagSearchResponse {
218
+ return new RagSearchResponse().fromBinary(bytes, options);
219
+ }
220
+
221
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RagSearchResponse {
222
+ return new RagSearchResponse().fromJson(jsonValue, options);
223
+ }
224
+
225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RagSearchResponse {
226
+ return new RagSearchResponse().fromJsonString(jsonString, options);
227
+ }
228
+
229
+ static equals(a: RagSearchResponse | PlainMessage<RagSearchResponse> | undefined, b: RagSearchResponse | PlainMessage<RagSearchResponse> | undefined): boolean {
230
+ return proto3.util.equals(RagSearchResponse, a, b);
231
+ }
232
+ }
233
+
234
+ /**
235
+ * TextResult represents a single search result with comprehensive metadata
236
+ * and relevance information. This structure provides all necessary context
237
+ * for understanding and displaying the result.
238
+ *
239
+ * @generated from message liquidmetal.v1alpha1.TextResult
240
+ */
241
+ export class TextResult extends Message<TextResult> {
242
+ /**
243
+ * Unique identifier for this text segment
244
+ * Used for deduplication and result tracking
245
+ *
246
+ * @generated from field: optional string chunk_signature = 1;
247
+ */
248
+ chunkSignature?: string;
249
+
250
+ /**
251
+ * The actual content of the result
252
+ * May be a document excerpt or full content
253
+ *
254
+ * @generated from field: optional string text = 2;
255
+ */
256
+ text?: string;
257
+
258
+ /**
259
+ * Source document information in JSON format
260
+ * Includes bucket, path, type, and metadata
261
+ *
262
+ * @generated from field: optional string source = 3;
263
+ */
264
+ source?: string;
265
+
266
+ /**
267
+ * Parent document identifier
268
+ * Links related content chunks together
269
+ *
270
+ * @generated from field: optional string payload_signature = 4;
271
+ */
272
+ payloadSignature?: string;
273
+
274
+ /**
275
+ * Relevance score (0.0 to 1.0)
276
+ * Higher scores indicate better matches
277
+ *
278
+ * @generated from field: optional double score = 5;
279
+ */
280
+ score?: number;
281
+
282
+ /**
283
+ * Vector representation for similarity matching
284
+ * Used in semantic search operations
285
+ *
286
+ * @generated from field: optional string embed = 6;
287
+ */
288
+ embed?: string;
289
+
290
+ /**
291
+ * Content MIME type
292
+ * Helps with proper result rendering
293
+ *
294
+ * @generated from field: optional string type = 7;
295
+ */
296
+ type?: string;
297
+
298
+ constructor(data?: PartialMessage<TextResult>) {
299
+ super();
300
+ proto3.util.initPartial(data, this);
301
+ }
302
+
303
+ static readonly runtime: typeof proto3 = proto3;
304
+ static readonly typeName = "liquidmetal.v1alpha1.TextResult";
305
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
306
+ { no: 1, name: "chunk_signature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
307
+ { no: 2, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
308
+ { no: 3, name: "source", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
309
+ { no: 4, name: "payload_signature", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
310
+ { no: 5, name: "score", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
311
+ { no: 6, name: "embed", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
312
+ { no: 7, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
313
+ ]);
314
+
315
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextResult {
316
+ return new TextResult().fromBinary(bytes, options);
317
+ }
318
+
319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextResult {
320
+ return new TextResult().fromJson(jsonValue, options);
321
+ }
322
+
323
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextResult {
324
+ return new TextResult().fromJsonString(jsonString, options);
325
+ }
326
+
327
+ static equals(a: TextResult | PlainMessage<TextResult> | undefined, b: TextResult | PlainMessage<TextResult> | undefined): boolean {
328
+ return proto3.util.equals(TextResult, a, b);
329
+ }
330
+ }
331
+
332
+ /**
333
+ * PaginationInfo provides detailed pagination metadata for implementing
334
+ * UI controls and managing result navigation. Supports both traditional
335
+ * pagination and infinite scroll patterns.
336
+ *
337
+ * @generated from message liquidmetal.v1alpha1.PaginationInfo
338
+ */
339
+ export class PaginationInfo extends Message<PaginationInfo> {
340
+ /**
341
+ * Total number of available results
342
+ *
343
+ * @generated from field: int32 total = 1;
344
+ */
345
+ total = 0;
346
+
347
+ /**
348
+ * Current page number (1-based)
349
+ *
350
+ * @generated from field: int32 page = 2;
351
+ */
352
+ page = 0;
353
+
354
+ /**
355
+ * Results per page
356
+ * May be adjusted for performance
357
+ *
358
+ * @generated from field: int32 page_size = 3;
359
+ */
360
+ pageSize = 0;
361
+
362
+ /**
363
+ * Total available pages
364
+ * Calculated as ceil(total/page_size)
365
+ *
366
+ * @generated from field: int32 total_pages = 4;
367
+ */
368
+ totalPages = 0;
369
+
370
+ /**
371
+ * Indicates more results available
372
+ * Used for infinite scroll implementation
373
+ *
374
+ * @generated from field: bool has_more = 5;
375
+ */
376
+ hasMore = false;
377
+
378
+ constructor(data?: PartialMessage<PaginationInfo>) {
379
+ super();
380
+ proto3.util.initPartial(data, this);
381
+ }
382
+
383
+ static readonly runtime: typeof proto3 = proto3;
384
+ static readonly typeName = "liquidmetal.v1alpha1.PaginationInfo";
385
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
386
+ { no: 1, name: "total", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
387
+ { no: 2, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
388
+ { no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
389
+ { no: 4, name: "total_pages", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
390
+ { no: 5, name: "has_more", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
391
+ ]);
392
+
393
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PaginationInfo {
394
+ return new PaginationInfo().fromBinary(bytes, options);
395
+ }
396
+
397
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PaginationInfo {
398
+ return new PaginationInfo().fromJson(jsonValue, options);
399
+ }
400
+
401
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PaginationInfo {
402
+ return new PaginationInfo().fromJsonString(jsonString, options);
403
+ }
404
+
405
+ static equals(a: PaginationInfo | PlainMessage<PaginationInfo> | undefined, b: PaginationInfo | PlainMessage<PaginationInfo> | undefined): boolean {
406
+ return proto3.util.equals(PaginationInfo, a, b);
407
+ }
408
+ }
409
+
410
+ /**
411
+ * CreatePageSummaryRequest requests an AI-generated summary of search results
412
+ * for a specific page. Helps users quickly understand large result sets.
413
+ *
414
+ * @generated from message liquidmetal.v1alpha1.CreatePageSummaryRequest
415
+ */
416
+ export class CreatePageSummaryRequest extends Message<CreatePageSummaryRequest> {
417
+ /**
418
+ * Target page number (1-based)
419
+ *
420
+ * @generated from field: int32 page = 1;
421
+ */
422
+ page = 0;
423
+
424
+ /**
425
+ * Results per page
426
+ * Affects summary granularity
427
+ *
428
+ * @generated from field: int32 page_size = 2;
429
+ */
430
+ pageSize = 0;
431
+
432
+ /**
433
+ * Original search session identifier
434
+ *
435
+ * @generated from field: string request_id = 3;
436
+ */
437
+ requestId = "";
438
+
439
+ constructor(data?: PartialMessage<CreatePageSummaryRequest>) {
440
+ super();
441
+ proto3.util.initPartial(data, this);
442
+ }
443
+
444
+ static readonly runtime: typeof proto3 = proto3;
445
+ static readonly typeName = "liquidmetal.v1alpha1.CreatePageSummaryRequest";
446
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
447
+ { no: 1, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
448
+ { no: 2, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
449
+ { no: 3, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
450
+ ]);
451
+
452
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePageSummaryRequest {
453
+ return new CreatePageSummaryRequest().fromBinary(bytes, options);
454
+ }
455
+
456
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePageSummaryRequest {
457
+ return new CreatePageSummaryRequest().fromJson(jsonValue, options);
458
+ }
459
+
460
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePageSummaryRequest {
461
+ return new CreatePageSummaryRequest().fromJsonString(jsonString, options);
462
+ }
463
+
464
+ static equals(a: CreatePageSummaryRequest | PlainMessage<CreatePageSummaryRequest> | undefined, b: CreatePageSummaryRequest | PlainMessage<CreatePageSummaryRequest> | undefined): boolean {
465
+ return proto3.util.equals(CreatePageSummaryRequest, a, b);
466
+ }
467
+ }
468
+
469
+ /**
470
+ * CreatePageSummaryResponse provides an AI-generated overview of the
471
+ * search results page, highlighting key themes and patterns.
472
+ *
473
+ * @generated from message liquidmetal.v1alpha1.CreatePageSummaryResponse
474
+ */
475
+ export class CreatePageSummaryResponse extends Message<CreatePageSummaryResponse> {
476
+ /**
477
+ * AI-generated summary including:
478
+ * - Key themes and topics
479
+ * - Content type distribution
480
+ * - Important findings
481
+ * - Document relationships
482
+ *
483
+ * @generated from field: string summary = 1;
484
+ */
485
+ summary = "";
486
+
487
+ constructor(data?: PartialMessage<CreatePageSummaryResponse>) {
488
+ super();
489
+ proto3.util.initPartial(data, this);
490
+ }
491
+
492
+ static readonly runtime: typeof proto3 = proto3;
493
+ static readonly typeName = "liquidmetal.v1alpha1.CreatePageSummaryResponse";
494
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
495
+ { no: 1, name: "summary", kind: "scalar", T: 9 /* ScalarType.STRING */ },
496
+ ]);
497
+
498
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePageSummaryResponse {
499
+ return new CreatePageSummaryResponse().fromBinary(bytes, options);
500
+ }
501
+
502
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePageSummaryResponse {
503
+ return new CreatePageSummaryResponse().fromJson(jsonValue, options);
504
+ }
505
+
506
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePageSummaryResponse {
507
+ return new CreatePageSummaryResponse().fromJsonString(jsonString, options);
508
+ }
509
+
510
+ static equals(a: CreatePageSummaryResponse | PlainMessage<CreatePageSummaryResponse> | undefined, b: CreatePageSummaryResponse | PlainMessage<CreatePageSummaryResponse> | undefined): boolean {
511
+ return proto3.util.equals(CreatePageSummaryResponse, a, b);
512
+ }
513
+ }
514
+
515
+ /**
516
+ * RunSupervisorAgentRequest initiates a new semantic search operation
517
+ * using natural language queries. The supervisor coordinates multiple
518
+ * search strategies for comprehensive results.
519
+ *
520
+ * @generated from message liquidmetal.v1alpha1.RunSupervisorAgentRequest
521
+ */
522
+ export class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest> {
523
+ /**
524
+ * Natural language search query
525
+ * Can include complex criteria
526
+ *
527
+ * @generated from field: string input = 1;
528
+ */
529
+ input = "";
530
+
531
+ /**
532
+ * Search session identifier
533
+ * Used for result tracking
534
+ *
535
+ * @generated from field: string request_id = 2;
536
+ */
537
+ requestId = "";
538
+
539
+ /**
540
+ * Bucket IDs to search
541
+ * If provided, the search will only return results from these buckets
542
+ *
543
+ * @generated from field: repeated string bucket_ids = 3;
544
+ */
545
+ bucketIds: string[] = [];
546
+
547
+ constructor(data?: PartialMessage<RunSupervisorAgentRequest>) {
548
+ super();
549
+ proto3.util.initPartial(data, this);
550
+ }
551
+
552
+ static readonly runtime: typeof proto3 = proto3;
553
+ static readonly typeName = "liquidmetal.v1alpha1.RunSupervisorAgentRequest";
554
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
555
+ { no: 1, name: "input", kind: "scalar", T: 9 /* ScalarType.STRING */ },
556
+ { no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
557
+ { no: 3, name: "bucket_ids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
558
+ ]);
559
+
560
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunSupervisorAgentRequest {
561
+ return new RunSupervisorAgentRequest().fromBinary(bytes, options);
562
+ }
563
+
564
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunSupervisorAgentRequest {
565
+ return new RunSupervisorAgentRequest().fromJson(jsonValue, options);
566
+ }
567
+
568
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunSupervisorAgentRequest {
569
+ return new RunSupervisorAgentRequest().fromJsonString(jsonString, options);
570
+ }
571
+
572
+ static equals(a: RunSupervisorAgentRequest | PlainMessage<RunSupervisorAgentRequest> | undefined, b: RunSupervisorAgentRequest | PlainMessage<RunSupervisorAgentRequest> | undefined): boolean {
573
+ return proto3.util.equals(RunSupervisorAgentRequest, a, b);
574
+ }
575
+ }
576
+
577
+ /**
578
+ * RunSupervisorAgentResponse provides the initial set of search results
579
+ * along with pagination information for result navigation.
580
+ *
581
+ * @generated from message liquidmetal.v1alpha1.RunSupervisorAgentResponse
582
+ */
583
+ export class RunSupervisorAgentResponse extends Message<RunSupervisorAgentResponse> {
584
+ /**
585
+ * Matched results with metadata
586
+ *
587
+ * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
588
+ */
589
+ results: TextResult[] = [];
590
+
591
+ /**
592
+ * Pagination details for result navigation
593
+ *
594
+ * @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
595
+ */
596
+ pagination?: PaginationInfo;
597
+
598
+ constructor(data?: PartialMessage<RunSupervisorAgentResponse>) {
599
+ super();
600
+ proto3.util.initPartial(data, this);
601
+ }
602
+
603
+ static readonly runtime: typeof proto3 = proto3;
604
+ static readonly typeName = "liquidmetal.v1alpha1.RunSupervisorAgentResponse";
605
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
606
+ { no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
607
+ { no: 2, name: "pagination", kind: "message", T: PaginationInfo },
608
+ ]);
609
+
610
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunSupervisorAgentResponse {
611
+ return new RunSupervisorAgentResponse().fromBinary(bytes, options);
612
+ }
613
+
614
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunSupervisorAgentResponse {
615
+ return new RunSupervisorAgentResponse().fromJson(jsonValue, options);
616
+ }
617
+
618
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunSupervisorAgentResponse {
619
+ return new RunSupervisorAgentResponse().fromJsonString(jsonString, options);
620
+ }
621
+
622
+ static equals(a: RunSupervisorAgentResponse | PlainMessage<RunSupervisorAgentResponse> | undefined, b: RunSupervisorAgentResponse | PlainMessage<RunSupervisorAgentResponse> | undefined): boolean {
623
+ return proto3.util.equals(RunSupervisorAgentResponse, a, b);
624
+ }
625
+ }
626
+
627
+ /**
628
+ * GetPaginatedResultsRequest retrieves additional pages from a previous
629
+ * search operation. Maintains result consistency across pages.
630
+ *
631
+ * @generated from message liquidmetal.v1alpha1.GetPaginatedResultsRequest
632
+ */
633
+ export class GetPaginatedResultsRequest extends Message<GetPaginatedResultsRequest> {
634
+ /**
635
+ * Original search session identifier
636
+ *
637
+ * @generated from field: string request_id = 1;
638
+ */
639
+ requestId = "";
640
+
641
+ /**
642
+ * Requested page number
643
+ *
644
+ * @generated from field: optional int32 page = 2;
645
+ */
646
+ page?: number;
647
+
648
+ /**
649
+ * Results per page
650
+ *
651
+ * @generated from field: optional int32 page_size = 3;
652
+ */
653
+ pageSize?: number;
654
+
655
+ constructor(data?: PartialMessage<GetPaginatedResultsRequest>) {
656
+ super();
657
+ proto3.util.initPartial(data, this);
658
+ }
659
+
660
+ static readonly runtime: typeof proto3 = proto3;
661
+ static readonly typeName = "liquidmetal.v1alpha1.GetPaginatedResultsRequest";
662
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
663
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
664
+ { no: 2, name: "page", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
665
+ { no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
666
+ ]);
667
+
668
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaginatedResultsRequest {
669
+ return new GetPaginatedResultsRequest().fromBinary(bytes, options);
670
+ }
671
+
672
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaginatedResultsRequest {
673
+ return new GetPaginatedResultsRequest().fromJson(jsonValue, options);
674
+ }
675
+
676
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaginatedResultsRequest {
677
+ return new GetPaginatedResultsRequest().fromJsonString(jsonString, options);
678
+ }
679
+
680
+ static equals(a: GetPaginatedResultsRequest | PlainMessage<GetPaginatedResultsRequest> | undefined, b: GetPaginatedResultsRequest | PlainMessage<GetPaginatedResultsRequest> | undefined): boolean {
681
+ return proto3.util.equals(GetPaginatedResultsRequest, a, b);
682
+ }
683
+ }
684
+
685
+ /**
686
+ * GetPaginatedResultsResponse provides the requested page of results
687
+ * with updated pagination information.
688
+ *
689
+ * @generated from message liquidmetal.v1alpha1.GetPaginatedResultsResponse
690
+ */
691
+ export class GetPaginatedResultsResponse extends Message<GetPaginatedResultsResponse> {
692
+ /**
693
+ * Page results with full metadata
694
+ *
695
+ * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
696
+ */
697
+ results: TextResult[] = [];
698
+
699
+ /**
700
+ * Updated pagination information
701
+ *
702
+ * @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
703
+ */
704
+ pagination?: PaginationInfo;
705
+
706
+ constructor(data?: PartialMessage<GetPaginatedResultsResponse>) {
707
+ super();
708
+ proto3.util.initPartial(data, this);
709
+ }
710
+
711
+ static readonly runtime: typeof proto3 = proto3;
712
+ static readonly typeName = "liquidmetal.v1alpha1.GetPaginatedResultsResponse";
713
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
714
+ { no: 1, name: "results", kind: "message", T: TextResult, repeated: true },
715
+ { no: 2, name: "pagination", kind: "message", T: PaginationInfo },
716
+ ]);
717
+
718
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPaginatedResultsResponse {
719
+ return new GetPaginatedResultsResponse().fromBinary(bytes, options);
720
+ }
721
+
722
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPaginatedResultsResponse {
723
+ return new GetPaginatedResultsResponse().fromJson(jsonValue, options);
724
+ }
725
+
726
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPaginatedResultsResponse {
727
+ return new GetPaginatedResultsResponse().fromJsonString(jsonString, options);
728
+ }
729
+
730
+ static equals(a: GetPaginatedResultsResponse | PlainMessage<GetPaginatedResultsResponse> | undefined, b: GetPaginatedResultsResponse | PlainMessage<GetPaginatedResultsResponse> | undefined): boolean {
731
+ return proto3.util.equals(GetPaginatedResultsResponse, a, b);
732
+ }
733
+ }
734
+
735
+ /**
736
+ * RegisterRetrieverToolRequest registers a new custom retriever endpoint
737
+ * for a specific bucket. Enables specialized search implementations.
738
+ *
739
+ * @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolRequest
740
+ */
741
+ export class RegisterRetrieverToolRequest extends Message<RegisterRetrieverToolRequest> {
742
+ /**
743
+ * Target bucket identifier
744
+ *
745
+ * @generated from field: string bucket = 1;
746
+ */
747
+ bucket = "";
748
+
749
+ /**
750
+ * Retriever service endpoint
751
+ *
752
+ * @generated from field: string url = 2;
753
+ */
754
+ url = "";
755
+
756
+ /**
757
+ * Delete endpoint for the retriever
758
+ *
759
+ * @generated from field: string delete_url = 3;
760
+ */
761
+ deleteUrl = "";
762
+
763
+ /**
764
+ * Name of the bucket
765
+ *
766
+ * @generated from field: string bucket_name = 4;
767
+ */
768
+ bucketName = "";
769
+
770
+ constructor(data?: PartialMessage<RegisterRetrieverToolRequest>) {
771
+ super();
772
+ proto3.util.initPartial(data, this);
773
+ }
774
+
775
+ static readonly runtime: typeof proto3 = proto3;
776
+ static readonly typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolRequest";
777
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
778
+ { no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
779
+ { no: 2, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
780
+ { no: 3, name: "delete_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
781
+ { no: 4, name: "bucket_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
782
+ ]);
783
+
784
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRetrieverToolRequest {
785
+ return new RegisterRetrieverToolRequest().fromBinary(bytes, options);
786
+ }
787
+
788
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRetrieverToolRequest {
789
+ return new RegisterRetrieverToolRequest().fromJson(jsonValue, options);
790
+ }
791
+
792
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRetrieverToolRequest {
793
+ return new RegisterRetrieverToolRequest().fromJsonString(jsonString, options);
794
+ }
795
+
796
+ static equals(a: RegisterRetrieverToolRequest | PlainMessage<RegisterRetrieverToolRequest> | undefined, b: RegisterRetrieverToolRequest | PlainMessage<RegisterRetrieverToolRequest> | undefined): boolean {
797
+ return proto3.util.equals(RegisterRetrieverToolRequest, a, b);
798
+ }
799
+ }
800
+
801
+ /**
802
+ * RegisterRetrieverToolResponse confirms the registration status
803
+ * of the custom retriever tool.
804
+ *
805
+ * @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolResponse
806
+ */
807
+ export class RegisterRetrieverToolResponse extends Message<RegisterRetrieverToolResponse> {
808
+ /**
809
+ * Registration status message
810
+ *
811
+ * @generated from field: string message = 1;
812
+ */
813
+ message = "";
814
+
815
+ constructor(data?: PartialMessage<RegisterRetrieverToolResponse>) {
816
+ super();
817
+ proto3.util.initPartial(data, this);
818
+ }
819
+
820
+ static readonly runtime: typeof proto3 = proto3;
821
+ static readonly typeName = "liquidmetal.v1alpha1.RegisterRetrieverToolResponse";
822
+ static readonly fields: FieldList = proto3.util.newFieldList(() => [
823
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
824
+ ]);
825
+
826
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterRetrieverToolResponse {
827
+ return new RegisterRetrieverToolResponse().fromBinary(bytes, options);
828
+ }
829
+
830
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterRetrieverToolResponse {
831
+ return new RegisterRetrieverToolResponse().fromJson(jsonValue, options);
832
+ }
833
+
834
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterRetrieverToolResponse {
835
+ return new RegisterRetrieverToolResponse().fromJsonString(jsonString, options);
836
+ }
837
+
838
+ static equals(a: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined, b: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined): boolean {
839
+ return proto3.util.equals(RegisterRetrieverToolResponse, a, b);
840
+ }
841
+ }
842
+