@liquidmetal-ai/drizzle 0.2.3 → 0.2.8

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 (52) hide show
  1. package/.turbo/turbo-test.log +208 -1
  2. package/dist/codestore.js +1 -1
  3. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +518 -479
  4. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  5. package/dist/liquidmetal/v1alpha1/catalog_pb.js +210 -1726
  6. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +110 -92
  7. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
  8. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +38 -361
  9. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts +14 -13
  10. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -1
  11. package/dist/liquidmetal/v1alpha1/raindrop_pb.js +10 -48
  12. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +146 -122
  13. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -1
  14. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +49 -428
  15. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +262 -142
  16. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
  17. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +68 -684
  18. package/eslint.config.mjs +3 -1
  19. package/package.json +2 -1
  20. package/src/codestore.ts +1 -1
  21. package/src/liquidmetal/v1alpha1/catalog_pb.ts +710 -1468
  22. package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +142 -284
  23. package/src/liquidmetal/v1alpha1/raindrop_pb.ts +21 -35
  24. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +192 -378
  25. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +310 -450
  26. package/tsconfig.json +11 -3
  27. package/tsconfig.tsbuildinfo +1 -1
  28. package/.turbo/turbo-lint.log +0 -6
  29. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +0 -168
  30. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +0 -1
  31. package/dist/liquidmetal/v1alpha1/catalog_connect.js +0 -171
  32. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts +0 -49
  33. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts.map +0 -1
  34. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.js +0 -52
  35. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts +0 -26
  36. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts.map +0 -1
  37. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.js +0 -29
  38. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts +0 -202
  39. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts.map +0 -1
  40. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.js +0 -298
  41. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +0 -68
  42. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +0 -1
  43. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +0 -73
  44. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +0 -170
  45. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +0 -1
  46. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +0 -173
  47. package/src/liquidmetal/v1alpha1/catalog_connect.ts +0 -174
  48. package/src/liquidmetal/v1alpha1/rainbow_auth_connect.ts +0 -55
  49. package/src/liquidmetal/v1alpha1/rainbow_public_connect.ts +0 -32
  50. package/src/liquidmetal/v1alpha1/rainbow_public_pb.ts +0 -366
  51. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +0 -77
  52. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +0 -176
@@ -1,10 +1,16 @@
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
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * Describes the file liquidmetal/v1alpha1/search_agent.proto.
11
+ */
12
+ export const file_liquidmetal_v1alpha1_search_agent: GenFile = /*@__PURE__*/
13
+ fileDesc("CidsaXF1aWRtZXRhbC92MWFscGhhMS9zZWFyY2hfYWdlbnQucHJvdG8SFGxpcXVpZG1ldGFsLnYxYWxwaGExIlsKE0RvY3VtZW50Q2hhdFJlcXVlc3QSDgoGYnVja2V0GAEgASgJEhEKCW9iamVjdF9pZBgCIAEoCRINCgVpbnB1dBgDIAEoCRISCgpyZXF1ZXN0X2lkGAQgASgJIiYKFERvY3VtZW50Q2hhdFJlc3BvbnNlEg4KBmFuc3dlchgBIAEoCSJJChBSYWdTZWFyY2hSZXF1ZXN0Eg0KBWlucHV0GAEgASgJEhIKCnJlcXVlc3RfaWQYAiABKAkSEgoKYnVja2V0X2lkcxgDIAMoCSJGChFSYWdTZWFyY2hSZXNwb25zZRIxCgdyZXN1bHRzGAEgAygLMiAubGlxdWlkbWV0YWwudjFhbHBoYTEuVGV4dFJlc3VsdCKIAgoKVGV4dFJlc3VsdBIcCg9jaHVua19zaWduYXR1cmUYASABKAlIAIgBARIRCgR0ZXh0GAIgASgJSAGIAQESEwoGc291cmNlGAMgASgJSAKIAQESHgoRcGF5bG9hZF9zaWduYXR1cmUYBCABKAlIA4gBARISCgVzY29yZRgFIAEoAUgEiAEBEhIKBWVtYmVkGAYgASgJSAWIAQESEQoEdHlwZRgHIAEoCUgGiAEBQhIKEF9jaHVua19zaWduYXR1cmVCBwoFX3RleHRCCQoHX3NvdXJjZUIUChJfcGF5bG9hZF9zaWduYXR1cmVCCAoGX3Njb3JlQggKBl9lbWJlZEIHCgVfdHlwZSJnCg5QYWdpbmF0aW9uSW5mbxINCgV0b3RhbBgBIAEoBRIMCgRwYWdlGAIgASgFEhEKCXBhZ2Vfc2l6ZRgDIAEoBRITCgt0b3RhbF9wYWdlcxgEIAEoBRIQCghoYXNfbW9yZRgFIAEoCCJPChhDcmVhdGVQYWdlU3VtbWFyeVJlcXVlc3QSDAoEcGFnZRgBIAEoBRIRCglwYWdlX3NpemUYAiABKAUSEgoKcmVxdWVzdF9pZBgDIAEoCSIsChlDcmVhdGVQYWdlU3VtbWFyeVJlc3BvbnNlEg8KB3N1bW1hcnkYASABKAkiUgoZUnVuU3VwZXJ2aXNvckFnZW50UmVxdWVzdBINCgVpbnB1dBgBIAEoCRISCgpyZXF1ZXN0X2lkGAIgASgJEhIKCmJ1Y2tldF9pZHMYAyADKAkiiQEKGlJ1blN1cGVydmlzb3JBZ2VudFJlc3BvbnNlEjEKB3Jlc3VsdHMYASADKAsyIC5saXF1aWRtZXRhbC52MWFscGhhMS5UZXh0UmVzdWx0EjgKCnBhZ2luYXRpb24YAiABKAsyJC5saXF1aWRtZXRhbC52MWFscGhhMS5QYWdpbmF0aW9uSW5mbyJyChpHZXRQYWdpbmF0ZWRSZXN1bHRzUmVxdWVzdBISCgpyZXF1ZXN0X2lkGAEgASgJEhEKBHBhZ2UYAiABKAVIAIgBARIWCglwYWdlX3NpemUYAyABKAVIAYgBAUIHCgVfcGFnZUIMCgpfcGFnZV9zaXplIooBChtHZXRQYWdpbmF0ZWRSZXN1bHRzUmVzcG9uc2USMQoHcmVzdWx0cxgBIAMoCzIgLmxpcXVpZG1ldGFsLnYxYWxwaGExLlRleHRSZXN1bHQSOAoKcGFnaW5hdGlvbhgCIAEoCzIkLmxpcXVpZG1ldGFsLnYxYWxwaGExLlBhZ2luYXRpb25JbmZvImQKHFJlZ2lzdGVyUmV0cmlldmVyVG9vbFJlcXVlc3QSDgoGYnVja2V0GAEgASgJEgsKA3VybBgCIAEoCRISCgpkZWxldGVfdXJsGAMgASgJEhMKC2J1Y2tldF9uYW1lGAQgASgJIjAKHVJlZ2lzdGVyUmV0cmlldmVyVG9vbFJlc3BvbnNlEg8KB21lc3NhZ2UYASABKAkyxwUKElNlYXJjaEFnZW50U2VydmljZRJlCgxEb2N1bWVudENoYXQSKS5saXF1aWRtZXRhbC52MWFscGhhMS5Eb2N1bWVudENoYXRSZXF1ZXN0GioubGlxdWlkbWV0YWwudjFhbHBoYTEuRG9jdW1lbnRDaGF0UmVzcG9uc2USXAoJUmFnU2VhcmNoEiYubGlxdWlkbWV0YWwudjFhbHBoYTEuUmFnU2VhcmNoUmVxdWVzdBonLmxpcXVpZG1ldGFsLnYxYWxwaGExLlJhZ1NlYXJjaFJlc3BvbnNlEnQKEUNyZWF0ZVBhZ2VTdW1tYXJ5Ei4ubGlxdWlkbWV0YWwudjFhbHBoYTEuQ3JlYXRlUGFnZVN1bW1hcnlSZXF1ZXN0Gi8ubGlxdWlkbWV0YWwudjFhbHBoYTEuQ3JlYXRlUGFnZVN1bW1hcnlSZXNwb25zZRJ3ChJSdW5TdXBlcnZpc29yQWdlbnQSLy5saXF1aWRtZXRhbC52MWFscGhhMS5SdW5TdXBlcnZpc29yQWdlbnRSZXF1ZXN0GjAubGlxdWlkbWV0YWwudjFhbHBoYTEuUnVuU3VwZXJ2aXNvckFnZW50UmVzcG9uc2USegoTR2V0UGFnaW5hdGVkUmVzdWx0cxIwLmxpcXVpZG1ldGFsLnYxYWxwaGExLkdldFBhZ2luYXRlZFJlc3VsdHNSZXF1ZXN0GjEubGlxdWlkbWV0YWwudjFhbHBoYTEuR2V0UGFnaW5hdGVkUmVzdWx0c1Jlc3BvbnNlEoABChVSZWdpc3RlclJldHJpZXZlclRvb2wSMi5saXF1aWRtZXRhbC52MWFscGhhMS5SZWdpc3RlclJldHJpZXZlclRvb2xSZXF1ZXN0GjMubGlxdWlkbWV0YWwudjFhbHBoYTEuUmVnaXN0ZXJSZXRyaWV2ZXJUb29sUmVzcG9uc2VCnQEKGGNvbS5saXF1aWRtZXRhbC52MWFscGhhMUIQU2VhcmNoQWdlbnRQcm90b1ABogIDTFhYqgIUTGlxdWlkbWV0YWwuVjFhbHBoYTHKAhRMaXF1aWRtZXRhbFxWMWFscGhhMeICIExpcXVpZG1ldGFsXFYxYWxwaGExXEdQQk1ldGFkYXRh6gIVTGlxdWlkbWV0YWw6OlYxYWxwaGExYgZwcm90bzM");
8
14
 
9
15
  /**
10
16
  * DocumentChatRequest initiates or continues a conversation about a specific document.
@@ -13,14 +19,14 @@ import { Message, proto3 } from "@bufbuild/protobuf";
13
19
  *
14
20
  * @generated from message liquidmetal.v1alpha1.DocumentChatRequest
15
21
  */
16
- export class DocumentChatRequest extends Message<DocumentChatRequest> {
22
+ export type DocumentChatRequest = Message<"liquidmetal.v1alpha1.DocumentChatRequest"> & {
17
23
  /**
18
24
  * The storage bucket containing the target document
19
25
  * Must be a valid, registered Smart Bucket
20
26
  *
21
27
  * @generated from field: string bucket = 1;
22
28
  */
23
- bucket = "";
29
+ bucket: string;
24
30
 
25
31
  /**
26
32
  * Document identifier within the bucket
@@ -28,7 +34,7 @@ export class DocumentChatRequest extends Message<DocumentChatRequest> {
28
34
  *
29
35
  * @generated from field: string object_id = 2;
30
36
  */
31
- objectId = "";
37
+ objectId: string;
32
38
 
33
39
  /**
34
40
  * User's input or question about the document
@@ -36,7 +42,7 @@ export class DocumentChatRequest extends Message<DocumentChatRequest> {
36
42
  *
37
43
  * @generated from field: string input = 3;
38
44
  */
39
- input = "";
45
+ input: string;
40
46
 
41
47
  /**
42
48
  * Conversation session identifier
@@ -44,38 +50,15 @@ export class DocumentChatRequest extends Message<DocumentChatRequest> {
44
50
  *
45
51
  * @generated from field: string request_id = 4;
46
52
  */
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
- }
53
+ requestId: string;
54
+ };
70
55
 
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
- }
56
+ /**
57
+ * Describes the message liquidmetal.v1alpha1.DocumentChatRequest.
58
+ * Use `create(DocumentChatRequestSchema)` to create a new message.
59
+ */
60
+ export const DocumentChatRequestSchema: GenMessage<DocumentChatRequest> = /*@__PURE__*/
61
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 0);
79
62
 
80
63
  /**
81
64
  * DocumentChatResponse contains the AI's response based on document content
@@ -84,7 +67,7 @@ export class DocumentChatRequest extends Message<DocumentChatRequest> {
84
67
  *
85
68
  * @generated from message liquidmetal.v1alpha1.DocumentChatResponse
86
69
  */
87
- export class DocumentChatResponse extends Message<DocumentChatResponse> {
70
+ export type DocumentChatResponse = Message<"liquidmetal.v1alpha1.DocumentChatResponse"> & {
88
71
  /**
89
72
  * AI-generated response that may include:
90
73
  * - Direct document quotes
@@ -95,35 +78,15 @@ export class DocumentChatResponse extends Message<DocumentChatResponse> {
95
78
  *
96
79
  * @generated from field: string answer = 1;
97
80
  */
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
- }
81
+ answer: string;
82
+ };
114
83
 
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
- }
84
+ /**
85
+ * Describes the message liquidmetal.v1alpha1.DocumentChatResponse.
86
+ * Use `create(DocumentChatResponseSchema)` to create a new message.
87
+ */
88
+ export const DocumentChatResponseSchema: GenMessage<DocumentChatResponse> = /*@__PURE__*/
89
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 1);
127
90
 
128
91
  /**
129
92
  * RagSearchRequest enables semantic search across document collections using
@@ -132,14 +95,14 @@ export class DocumentChatResponse extends Message<DocumentChatResponse> {
132
95
  *
133
96
  * @generated from message liquidmetal.v1alpha1.RagSearchRequest
134
97
  */
135
- export class RagSearchRequest extends Message<RagSearchRequest> {
98
+ export type RagSearchRequest = Message<"liquidmetal.v1alpha1.RagSearchRequest"> & {
136
99
  /**
137
100
  * Natural language query or question
138
101
  * Can include complex criteria and relationships
139
102
  *
140
103
  * @generated from field: string input = 1;
141
104
  */
142
- input = "";
105
+ input: string;
143
106
 
144
107
  /**
145
108
  * Search session identifier for result tracking
@@ -147,7 +110,7 @@ export class RagSearchRequest extends Message<RagSearchRequest> {
147
110
  *
148
111
  * @generated from field: string request_id = 2;
149
112
  */
150
- requestId = "";
113
+ requestId: string;
151
114
 
152
115
  /**
153
116
  * Bucket IDs to search
@@ -155,37 +118,15 @@ export class RagSearchRequest extends Message<RagSearchRequest> {
155
118
  *
156
119
  * @generated from field: repeated string bucket_ids = 3;
157
120
  */
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
- ]);
121
+ bucketIds: string[];
122
+ };
172
123
 
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
- }
124
+ /**
125
+ * Describes the message liquidmetal.v1alpha1.RagSearchRequest.
126
+ * Use `create(RagSearchRequestSchema)` to create a new message.
127
+ */
128
+ export const RagSearchRequestSchema: GenMessage<RagSearchRequest> = /*@__PURE__*/
129
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 2);
189
130
 
190
131
  /**
191
132
  * RagSearchResponse provides semantically relevant results with metadata
@@ -194,42 +135,22 @@ export class RagSearchRequest extends Message<RagSearchRequest> {
194
135
  *
195
136
  * @generated from message liquidmetal.v1alpha1.RagSearchResponse
196
137
  */
197
- export class RagSearchResponse extends Message<RagSearchResponse> {
138
+ export type RagSearchResponse = Message<"liquidmetal.v1alpha1.RagSearchResponse"> & {
198
139
  /**
199
140
  * Ordered list of relevant text segments
200
141
  * Each result includes full context and metadata
201
142
  *
202
143
  * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
203
144
  */
204
- results: TextResult[] = [];
205
-
206
- constructor(data?: PartialMessage<RagSearchResponse>) {
207
- super();
208
- proto3.util.initPartial(data, this);
209
- }
145
+ results: TextResult[];
146
+ };
210
147
 
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
- }
148
+ /**
149
+ * Describes the message liquidmetal.v1alpha1.RagSearchResponse.
150
+ * Use `create(RagSearchResponseSchema)` to create a new message.
151
+ */
152
+ export const RagSearchResponseSchema: GenMessage<RagSearchResponse> = /*@__PURE__*/
153
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 3);
233
154
 
234
155
  /**
235
156
  * TextResult represents a single search result with comprehensive metadata
@@ -238,7 +159,7 @@ export class RagSearchResponse extends Message<RagSearchResponse> {
238
159
  *
239
160
  * @generated from message liquidmetal.v1alpha1.TextResult
240
161
  */
241
- export class TextResult extends Message<TextResult> {
162
+ export type TextResult = Message<"liquidmetal.v1alpha1.TextResult"> & {
242
163
  /**
243
164
  * Unique identifier for this text segment
244
165
  * Used for deduplication and result tracking
@@ -294,40 +215,14 @@ export class TextResult extends Message<TextResult> {
294
215
  * @generated from field: optional string type = 7;
295
216
  */
296
217
  type?: string;
218
+ };
297
219
 
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
- }
220
+ /**
221
+ * Describes the message liquidmetal.v1alpha1.TextResult.
222
+ * Use `create(TextResultSchema)` to create a new message.
223
+ */
224
+ export const TextResultSchema: GenMessage<TextResult> = /*@__PURE__*/
225
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 4);
331
226
 
332
227
  /**
333
228
  * PaginationInfo provides detailed pagination metadata for implementing
@@ -336,20 +231,20 @@ export class TextResult extends Message<TextResult> {
336
231
  *
337
232
  * @generated from message liquidmetal.v1alpha1.PaginationInfo
338
233
  */
339
- export class PaginationInfo extends Message<PaginationInfo> {
234
+ export type PaginationInfo = Message<"liquidmetal.v1alpha1.PaginationInfo"> & {
340
235
  /**
341
236
  * Total number of available results
342
237
  *
343
238
  * @generated from field: int32 total = 1;
344
239
  */
345
- total = 0;
240
+ total: number;
346
241
 
347
242
  /**
348
243
  * Current page number (1-based)
349
244
  *
350
245
  * @generated from field: int32 page = 2;
351
246
  */
352
- page = 0;
247
+ page: number;
353
248
 
354
249
  /**
355
250
  * Results per page
@@ -357,7 +252,7 @@ export class PaginationInfo extends Message<PaginationInfo> {
357
252
  *
358
253
  * @generated from field: int32 page_size = 3;
359
254
  */
360
- pageSize = 0;
255
+ pageSize: number;
361
256
 
362
257
  /**
363
258
  * Total available pages
@@ -365,7 +260,7 @@ export class PaginationInfo extends Message<PaginationInfo> {
365
260
  *
366
261
  * @generated from field: int32 total_pages = 4;
367
262
  */
368
- totalPages = 0;
263
+ totalPages: number;
369
264
 
370
265
  /**
371
266
  * Indicates more results available
@@ -373,39 +268,15 @@ export class PaginationInfo extends Message<PaginationInfo> {
373
268
  *
374
269
  * @generated from field: bool has_more = 5;
375
270
  */
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
- }
271
+ hasMore: boolean;
272
+ };
404
273
 
405
- static equals(a: PaginationInfo | PlainMessage<PaginationInfo> | undefined, b: PaginationInfo | PlainMessage<PaginationInfo> | undefined): boolean {
406
- return proto3.util.equals(PaginationInfo, a, b);
407
- }
408
- }
274
+ /**
275
+ * Describes the message liquidmetal.v1alpha1.PaginationInfo.
276
+ * Use `create(PaginationInfoSchema)` to create a new message.
277
+ */
278
+ export const PaginationInfoSchema: GenMessage<PaginationInfo> = /*@__PURE__*/
279
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 5);
409
280
 
410
281
  /**
411
282
  * CreatePageSummaryRequest requests an AI-generated summary of search results
@@ -413,13 +284,13 @@ export class PaginationInfo extends Message<PaginationInfo> {
413
284
  *
414
285
  * @generated from message liquidmetal.v1alpha1.CreatePageSummaryRequest
415
286
  */
416
- export class CreatePageSummaryRequest extends Message<CreatePageSummaryRequest> {
287
+ export type CreatePageSummaryRequest = Message<"liquidmetal.v1alpha1.CreatePageSummaryRequest"> & {
417
288
  /**
418
289
  * Target page number (1-based)
419
290
  *
420
291
  * @generated from field: int32 page = 1;
421
292
  */
422
- page = 0;
293
+ page: number;
423
294
 
424
295
  /**
425
296
  * Results per page
@@ -427,44 +298,22 @@ export class CreatePageSummaryRequest extends Message<CreatePageSummaryRequest>
427
298
  *
428
299
  * @generated from field: int32 page_size = 2;
429
300
  */
430
- pageSize = 0;
301
+ pageSize: number;
431
302
 
432
303
  /**
433
304
  * Original search session identifier
434
305
  *
435
306
  * @generated from field: string request_id = 3;
436
307
  */
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
- }
308
+ requestId: string;
309
+ };
459
310
 
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
- }
311
+ /**
312
+ * Describes the message liquidmetal.v1alpha1.CreatePageSummaryRequest.
313
+ * Use `create(CreatePageSummaryRequestSchema)` to create a new message.
314
+ */
315
+ export const CreatePageSummaryRequestSchema: GenMessage<CreatePageSummaryRequest> = /*@__PURE__*/
316
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 6);
468
317
 
469
318
  /**
470
319
  * CreatePageSummaryResponse provides an AI-generated overview of the
@@ -472,7 +321,7 @@ export class CreatePageSummaryRequest extends Message<CreatePageSummaryRequest>
472
321
  *
473
322
  * @generated from message liquidmetal.v1alpha1.CreatePageSummaryResponse
474
323
  */
475
- export class CreatePageSummaryResponse extends Message<CreatePageSummaryResponse> {
324
+ export type CreatePageSummaryResponse = Message<"liquidmetal.v1alpha1.CreatePageSummaryResponse"> & {
476
325
  /**
477
326
  * AI-generated summary including:
478
327
  * - Key themes and topics
@@ -482,35 +331,15 @@ export class CreatePageSummaryResponse extends Message<CreatePageSummaryResponse
482
331
  *
483
332
  * @generated from field: string summary = 1;
484
333
  */
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
- }
334
+ summary: string;
335
+ };
501
336
 
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
- }
337
+ /**
338
+ * Describes the message liquidmetal.v1alpha1.CreatePageSummaryResponse.
339
+ * Use `create(CreatePageSummaryResponseSchema)` to create a new message.
340
+ */
341
+ export const CreatePageSummaryResponseSchema: GenMessage<CreatePageSummaryResponse> = /*@__PURE__*/
342
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 7);
514
343
 
515
344
  /**
516
345
  * RunSupervisorAgentRequest initiates a new semantic search operation
@@ -519,14 +348,14 @@ export class CreatePageSummaryResponse extends Message<CreatePageSummaryResponse
519
348
  *
520
349
  * @generated from message liquidmetal.v1alpha1.RunSupervisorAgentRequest
521
350
  */
522
- export class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest> {
351
+ export type RunSupervisorAgentRequest = Message<"liquidmetal.v1alpha1.RunSupervisorAgentRequest"> & {
523
352
  /**
524
353
  * Natural language search query
525
354
  * Can include complex criteria
526
355
  *
527
356
  * @generated from field: string input = 1;
528
357
  */
529
- input = "";
358
+ input: string;
530
359
 
531
360
  /**
532
361
  * Search session identifier
@@ -534,7 +363,7 @@ export class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest
534
363
  *
535
364
  * @generated from field: string request_id = 2;
536
365
  */
537
- requestId = "";
366
+ requestId: string;
538
367
 
539
368
  /**
540
369
  * Bucket IDs to search
@@ -542,37 +371,15 @@ export class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest
542
371
  *
543
372
  * @generated from field: repeated string bucket_ids = 3;
544
373
  */
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
- }
374
+ bucketIds: string[];
375
+ };
563
376
 
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
- }
377
+ /**
378
+ * Describes the message liquidmetal.v1alpha1.RunSupervisorAgentRequest.
379
+ * Use `create(RunSupervisorAgentRequestSchema)` to create a new message.
380
+ */
381
+ export const RunSupervisorAgentRequestSchema: GenMessage<RunSupervisorAgentRequest> = /*@__PURE__*/
382
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 8);
576
383
 
577
384
  /**
578
385
  * RunSupervisorAgentResponse provides the initial set of search results
@@ -580,13 +387,13 @@ export class RunSupervisorAgentRequest extends Message<RunSupervisorAgentRequest
580
387
  *
581
388
  * @generated from message liquidmetal.v1alpha1.RunSupervisorAgentResponse
582
389
  */
583
- export class RunSupervisorAgentResponse extends Message<RunSupervisorAgentResponse> {
390
+ export type RunSupervisorAgentResponse = Message<"liquidmetal.v1alpha1.RunSupervisorAgentResponse"> & {
584
391
  /**
585
392
  * Matched results with metadata
586
393
  *
587
394
  * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
588
395
  */
589
- results: TextResult[] = [];
396
+ results: TextResult[];
590
397
 
591
398
  /**
592
399
  * Pagination details for result navigation
@@ -594,35 +401,14 @@ export class RunSupervisorAgentResponse extends Message<RunSupervisorAgentRespon
594
401
  * @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
595
402
  */
596
403
  pagination?: PaginationInfo;
404
+ };
597
405
 
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
- }
406
+ /**
407
+ * Describes the message liquidmetal.v1alpha1.RunSupervisorAgentResponse.
408
+ * Use `create(RunSupervisorAgentResponseSchema)` to create a new message.
409
+ */
410
+ export const RunSupervisorAgentResponseSchema: GenMessage<RunSupervisorAgentResponse> = /*@__PURE__*/
411
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 9);
626
412
 
627
413
  /**
628
414
  * GetPaginatedResultsRequest retrieves additional pages from a previous
@@ -630,13 +416,13 @@ export class RunSupervisorAgentResponse extends Message<RunSupervisorAgentRespon
630
416
  *
631
417
  * @generated from message liquidmetal.v1alpha1.GetPaginatedResultsRequest
632
418
  */
633
- export class GetPaginatedResultsRequest extends Message<GetPaginatedResultsRequest> {
419
+ export type GetPaginatedResultsRequest = Message<"liquidmetal.v1alpha1.GetPaginatedResultsRequest"> & {
634
420
  /**
635
421
  * Original search session identifier
636
422
  *
637
423
  * @generated from field: string request_id = 1;
638
424
  */
639
- requestId = "";
425
+ requestId: string;
640
426
 
641
427
  /**
642
428
  * Requested page number
@@ -651,36 +437,14 @@ export class GetPaginatedResultsRequest extends Message<GetPaginatedResultsReque
651
437
  * @generated from field: optional int32 page_size = 3;
652
438
  */
653
439
  pageSize?: number;
440
+ };
654
441
 
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
- }
442
+ /**
443
+ * Describes the message liquidmetal.v1alpha1.GetPaginatedResultsRequest.
444
+ * Use `create(GetPaginatedResultsRequestSchema)` to create a new message.
445
+ */
446
+ export const GetPaginatedResultsRequestSchema: GenMessage<GetPaginatedResultsRequest> = /*@__PURE__*/
447
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 10);
684
448
 
685
449
  /**
686
450
  * GetPaginatedResultsResponse provides the requested page of results
@@ -688,13 +452,13 @@ export class GetPaginatedResultsRequest extends Message<GetPaginatedResultsReque
688
452
  *
689
453
  * @generated from message liquidmetal.v1alpha1.GetPaginatedResultsResponse
690
454
  */
691
- export class GetPaginatedResultsResponse extends Message<GetPaginatedResultsResponse> {
455
+ export type GetPaginatedResultsResponse = Message<"liquidmetal.v1alpha1.GetPaginatedResultsResponse"> & {
692
456
  /**
693
457
  * Page results with full metadata
694
458
  *
695
459
  * @generated from field: repeated liquidmetal.v1alpha1.TextResult results = 1;
696
460
  */
697
- results: TextResult[] = [];
461
+ results: TextResult[];
698
462
 
699
463
  /**
700
464
  * Updated pagination information
@@ -702,35 +466,14 @@ export class GetPaginatedResultsResponse extends Message<GetPaginatedResultsResp
702
466
  * @generated from field: liquidmetal.v1alpha1.PaginationInfo pagination = 2;
703
467
  */
704
468
  pagination?: PaginationInfo;
469
+ };
705
470
 
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
- }
471
+ /**
472
+ * Describes the message liquidmetal.v1alpha1.GetPaginatedResultsResponse.
473
+ * Use `create(GetPaginatedResultsResponseSchema)` to create a new message.
474
+ */
475
+ export const GetPaginatedResultsResponseSchema: GenMessage<GetPaginatedResultsResponse> = /*@__PURE__*/
476
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 11);
734
477
 
735
478
  /**
736
479
  * RegisterRetrieverToolRequest registers a new custom retriever endpoint
@@ -738,65 +481,42 @@ export class GetPaginatedResultsResponse extends Message<GetPaginatedResultsResp
738
481
  *
739
482
  * @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolRequest
740
483
  */
741
- export class RegisterRetrieverToolRequest extends Message<RegisterRetrieverToolRequest> {
484
+ export type RegisterRetrieverToolRequest = Message<"liquidmetal.v1alpha1.RegisterRetrieverToolRequest"> & {
742
485
  /**
743
486
  * Target bucket identifier
744
487
  *
745
488
  * @generated from field: string bucket = 1;
746
489
  */
747
- bucket = "";
490
+ bucket: string;
748
491
 
749
492
  /**
750
493
  * Retriever service endpoint
751
494
  *
752
495
  * @generated from field: string url = 2;
753
496
  */
754
- url = "";
497
+ url: string;
755
498
 
756
499
  /**
757
500
  * Delete endpoint for the retriever
758
501
  *
759
502
  * @generated from field: string delete_url = 3;
760
503
  */
761
- deleteUrl = "";
504
+ deleteUrl: string;
762
505
 
763
506
  /**
764
507
  * Name of the bucket
765
508
  *
766
509
  * @generated from field: string bucket_name = 4;
767
510
  */
768
- bucketName = "";
511
+ bucketName: string;
512
+ };
769
513
 
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
- }
514
+ /**
515
+ * Describes the message liquidmetal.v1alpha1.RegisterRetrieverToolRequest.
516
+ * Use `create(RegisterRetrieverToolRequestSchema)` to create a new message.
517
+ */
518
+ export const RegisterRetrieverToolRequestSchema: GenMessage<RegisterRetrieverToolRequest> = /*@__PURE__*/
519
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 12);
800
520
 
801
521
  /**
802
522
  * RegisterRetrieverToolResponse confirms the registration status
@@ -804,39 +524,179 @@ export class RegisterRetrieverToolRequest extends Message<RegisterRetrieverToolR
804
524
  *
805
525
  * @generated from message liquidmetal.v1alpha1.RegisterRetrieverToolResponse
806
526
  */
807
- export class RegisterRetrieverToolResponse extends Message<RegisterRetrieverToolResponse> {
527
+ export type RegisterRetrieverToolResponse = Message<"liquidmetal.v1alpha1.RegisterRetrieverToolResponse"> & {
808
528
  /**
809
529
  * Registration status message
810
530
  *
811
531
  * @generated from field: string message = 1;
812
532
  */
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
- ]);
533
+ message: string;
534
+ };
825
535
 
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
- }
536
+ /**
537
+ * Describes the message liquidmetal.v1alpha1.RegisterRetrieverToolResponse.
538
+ * Use `create(RegisterRetrieverToolResponseSchema)` to create a new message.
539
+ */
540
+ export const RegisterRetrieverToolResponseSchema: GenMessage<RegisterRetrieverToolResponse> = /*@__PURE__*/
541
+ messageDesc(file_liquidmetal_v1alpha1_search_agent, 13);
837
542
 
838
- static equals(a: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined, b: RegisterRetrieverToolResponse | PlainMessage<RegisterRetrieverToolResponse> | undefined): boolean {
839
- return proto3.util.equals(RegisterRetrieverToolResponse, a, b);
840
- }
841
- }
543
+ /**
544
+ * SearchAgentService provides the core functionality for Smart Buckets - Raindrop's intelligent
545
+ * object storage service designed specifically for AI applications. When files are uploaded
546
+ * to a Smart Bucket, they undergo advanced AI decomposition that analyzes and indexes content
547
+ * using state-of-the-art AI models. This includes:
548
+ *
549
+ * - Automated document indexing and processing
550
+ * - Extraction of structured data
551
+ * - Processing through specialized AI models
552
+ * - Storage in optimized formats for AI querying
553
+ * - Automatic PII detection and classification
554
+ *
555
+ * The service supports multiple file types including:
556
+ * - application/pdf
557
+ * - image/jpeg, image/png
558
+ * - audio/webm, audio/wav, audio/mp4, audio/mpeg
559
+ * - text/plain
560
+ *
561
+ * @generated from service liquidmetal.v1alpha1.SearchAgentService
562
+ */
563
+ export const SearchAgentService: GenService<{
564
+ /**
565
+ * DocumentChat enables natural conversational interactions with documents stored in Smart Buckets.
566
+ * This creates an intelligent interface for document exploration through natural dialogue, allowing
567
+ * users to ask questions, request summaries, and extract insights from any supported document type.
568
+ *
569
+ * The chat system maintains conversation context, enabling follow-up questions and deep exploration
570
+ * of document content. It works across all supported file types and automatically handles multi-page
571
+ * documents, making complex document interaction as simple as having a conversation.
572
+ *
573
+ * The system will:
574
+ * - Maintain conversation history for context
575
+ * - Process questions against document content
576
+ * - Generate contextual, relevant responses
577
+ * - Handle document references and citations
578
+ * - Support multi-turn conversations about document content
579
+ *
580
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.DocumentChat
581
+ */
582
+ documentChat: {
583
+ methodKind: "unary";
584
+ input: typeof DocumentChatRequestSchema;
585
+ output: typeof DocumentChatResponseSchema;
586
+ },
587
+ /**
588
+ * RagSearch (Retrieval-Augmented Generation) provides an advanced search capability that serves
589
+ * as a complete drop-in replacement for traditional RAG pipelines. This system enables AI agents
590
+ * to leverage private data stored in Smart Buckets with zero additional configuration.
591
+ *
592
+ * The RAG system automatically:
593
+ * - Processes and indexes uploaded content
594
+ * - Maintains optimal chunk sizes (max 450 tokens)
595
+ * - Handles document metadata
596
+ * - Provides relevance scoring
597
+ * - Manages document versioning
598
+ *
599
+ * This creates a foundation for:
600
+ * - Training AI models with private data
601
+ * - Building intelligent knowledge bases
602
+ * - Creating context-aware chatbots
603
+ * - Implementing semantic search systems
604
+ *
605
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RagSearch
606
+ */
607
+ ragSearch: {
608
+ methodKind: "unary";
609
+ input: typeof RagSearchRequestSchema;
610
+ output: typeof RagSearchResponseSchema;
611
+ },
612
+ /**
613
+ * CreatePageSummary generates intelligent summaries of search result pages, helping users
614
+ * quickly understand large result sets without reading through every document. The system
615
+ * analyzes the content of all results on a given page and generates a comprehensive overview.
616
+ *
617
+ * The summary system:
618
+ * - Identifies key themes and topics
619
+ * - Extracts important findings
620
+ * - Highlights document relationships
621
+ * - Provides content type distribution
622
+ * - Summarizes metadata patterns
623
+ *
624
+ * This is particularly valuable when dealing with:
625
+ * - Large document collections
626
+ * - Mixed content types
627
+ * - Technical documentation
628
+ * - Research materials
629
+ *
630
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.CreatePageSummary
631
+ */
632
+ createPageSummary: {
633
+ methodKind: "unary";
634
+ input: typeof CreatePageSummaryRequestSchema;
635
+ output: typeof CreatePageSummaryResponseSchema;
636
+ },
637
+ /**
638
+ * RunSupervisorAgent is the primary search interface for Smart Buckets, providing
639
+ * advanced semantic search capabilities that go far beyond traditional keyword matching.
640
+ * The supervisor agent orchestrates multiple specialized search strategies to provide
641
+ * comprehensive, intelligent results.
642
+ *
643
+ * The system supports complex queries like:
644
+ * - "Show me documents containing credit card numbers or social security numbers"
645
+ * - "Find images of landscapes taken during sunset"
646
+ * - "Get documents mentioning revenue forecasts from Q4 2023"
647
+ * - "Find me all PDF documents that contain pictures of a cat"
648
+ *
649
+ * Key capabilities:
650
+ * - Natural language query understanding
651
+ * - Content-based search across text and images
652
+ * - Automatic PII detection and filtering
653
+ * - Cross-document relationship analysis
654
+ * - Multi-modal search (text, images, audio)
655
+ *
656
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RunSupervisorAgent
657
+ */
658
+ runSupervisorAgent: {
659
+ methodKind: "unary";
660
+ input: typeof RunSupervisorAgentRequestSchema;
661
+ output: typeof RunSupervisorAgentResponseSchema;
662
+ },
663
+ /**
664
+ * GetPaginatedResults enables efficient navigation through large result sets while
665
+ * maintaining search context and result relevance. This method is optimized for
666
+ * handling large document collections and implementing modern UI patterns.
667
+ *
668
+ * Features:
669
+ * - Consistent result ordering
670
+ * - Configurable page sizes
671
+ * - Efficient result caching
672
+ * - Cursor-based pagination
673
+ * - Support for infinite scroll
674
+ *
675
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.GetPaginatedResults
676
+ */
677
+ getPaginatedResults: {
678
+ methodKind: "unary";
679
+ input: typeof GetPaginatedResultsRequestSchema;
680
+ output: typeof GetPaginatedResultsResponseSchema;
681
+ },
682
+ /**
683
+ * RegisterRetrieverTool allows extending Smart Bucket capabilities with custom
684
+ * retrieval implementations. This enables specialized search algorithms and
685
+ * custom processing pipelines for specific use cases or data types.
686
+ *
687
+ * Use cases include:
688
+ * - Custom search implementations
689
+ * - Specialized retrieval algorithms
690
+ * - Domain-specific optimizations
691
+ * - Integration with existing systems
692
+ *
693
+ * @generated from rpc liquidmetal.v1alpha1.SearchAgentService.RegisterRetrieverTool
694
+ */
695
+ registerRetrieverTool: {
696
+ methodKind: "unary";
697
+ input: typeof RegisterRetrieverToolRequestSchema;
698
+ output: typeof RegisterRetrieverToolResponseSchema;
699
+ },
700
+ }> = /*@__PURE__*/
701
+ serviceDesc(file_liquidmetal_v1alpha1_search_agent, 0);
842
702