@liquidmetal-ai/drizzle 0.2.3 → 0.2.9

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