@lightdash/common 2.355.0 → 2.357.0

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 (142) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +37 -3
  3. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  4. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +16 -3
  5. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +2 -0
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +2 -0
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +179 -5
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +16 -4
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +94 -5
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +12 -4
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +43 -2
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +52 -4
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts +32 -6
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts.map +1 -1
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js +7 -5
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js.map +1 -1
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts +29 -3
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts.map +1 -1
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js +8 -3
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js.map +1 -1
  32. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +62 -3
  33. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  34. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +35 -3
  35. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  36. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts +15 -0
  37. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  38. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +16 -1
  39. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  40. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts +173 -3
  41. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  42. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +5 -3
  43. package/dist/cjs/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  44. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +13 -0
  45. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  46. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +22 -3
  47. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  48. package/dist/esm/.tsbuildinfo +1 -1
  49. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +37 -3
  50. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  51. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +16 -3
  52. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  53. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +2 -0
  54. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  55. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +2 -0
  56. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  57. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  58. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +179 -5
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +16 -4
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +94 -5
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +12 -4
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +43 -2
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  69. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +51 -3
  70. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  71. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts +32 -6
  72. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts.map +1 -1
  73. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js +7 -5
  74. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js.map +1 -1
  75. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts +29 -3
  76. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts.map +1 -1
  77. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js +8 -3
  78. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js.map +1 -1
  79. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +62 -3
  80. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  81. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +35 -3
  82. package/dist/esm/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  83. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts +15 -0
  84. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  85. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +15 -0
  86. package/dist/esm/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  87. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts +173 -3
  88. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  89. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +5 -3
  90. package/dist/esm/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  91. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +13 -0
  92. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  93. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +21 -2
  94. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  95. package/dist/types/.tsbuildinfo +1 -1
  96. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +37 -3
  97. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts.map +1 -1
  98. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js +16 -3
  99. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.js.map +1 -1
  100. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +2 -0
  101. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  102. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +2 -0
  103. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  104. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  105. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  106. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts +179 -5
  107. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.d.ts.map +1 -1
  108. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.js +16 -4
  109. package/dist/types/ee/AiAgent/schemas/tools/toolFindExploresArgs.js.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts +94 -5
  111. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js +12 -4
  113. package/dist/types/ee/AiAgent/schemas/tools/toolFindFieldsArgs.js.map +1 -1
  114. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +43 -2
  115. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  116. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +51 -3
  117. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  118. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts +32 -6
  119. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.d.ts.map +1 -1
  120. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js +7 -5
  121. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateHashesArgs.js.map +1 -1
  122. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts +29 -3
  123. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.d.ts.map +1 -1
  124. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js +8 -3
  125. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateUuidsArgs.js.map +1 -1
  126. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts +62 -3
  127. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.d.ts.map +1 -1
  128. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js +35 -3
  129. package/dist/types/ee/AiAgent/schemas/tools/toolGetDashboardChartsArgs.js.map +1 -1
  130. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts +15 -0
  131. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.d.ts.map +1 -1
  132. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js +15 -0
  133. package/dist/types/ee/AiAgent/schemas/tools/toolGetKnowledgeDocumentContentArgs.js.map +1 -1
  134. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts +173 -3
  135. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.d.ts.map +1 -1
  136. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js +5 -3
  137. package/dist/types/ee/AiAgent/schemas/tools/toolGetMetadataArgs.js.map +1 -1
  138. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +13 -0
  139. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  140. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +21 -2
  141. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  142. package/package.json +1 -1
@@ -1,20 +1,26 @@
1
1
  import { z } from 'zod';
2
2
  import { type ToolDescriptionContext } from '../defineTool';
3
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
3
4
  export declare const TOOL_FIND_EXPLORES_DESCRIPTION: ({ toolName, }: ToolDescriptionContext) => string;
5
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
4
6
  export declare const toolFindExploresArgsSchemaV1: z.ZodObject<{
5
7
  exploreName: z.ZodNullable<z.ZodString>;
6
8
  } & {
7
9
  page: z.ZodNullable<z.ZodNumber>;
8
10
  }, z.core.$strip>;
11
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
9
12
  export declare const toolFindExploresArgsSchemaV2: z.ZodObject<{
10
13
  exploreName: z.ZodString;
11
14
  }, z.core.$strip>;
15
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
12
16
  export declare const toolFindExploresArgsSchemaV3: z.ZodObject<{
13
17
  searchQuery: z.ZodString;
14
18
  }, z.core.$strip>;
19
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
15
20
  export declare const toolFindExploresArgsSchemaTransformed: z.ZodObject<{
16
21
  searchQuery: z.ZodString;
17
22
  }, z.core.$strip>;
23
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
18
24
  export declare const findExploresRankingMetadataSchema: z.ZodObject<{
19
25
  searchQuery: z.ZodString;
20
26
  exploreSearchResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -63,7 +69,8 @@ export declare const findExploresRelevantVerifiedAnswerSchema: z.ZodObject<{
63
69
  description: z.ZodNullable<z.ZodString>;
64
70
  similarity: z.ZodNumber;
65
71
  }, z.core.$strip>;
66
- export declare const findExploresResultSchema: z.ZodObject<{
72
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
73
+ export declare const toolFindExploresStructuredContentSchema: z.ZodObject<{
67
74
  searchQuery: z.ZodString;
68
75
  description: z.ZodString;
69
76
  searchResults: z.ZodObject<{
@@ -117,6 +124,7 @@ export declare const findExploresResultSchema: z.ZodObject<{
117
124
  similarity: z.ZodNumber;
118
125
  }, z.core.$strip>>>;
119
126
  }, z.core.$strip>;
127
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
120
128
  export declare const toolFindExploresMetadataSchema: z.ZodObject<{
121
129
  status: z.ZodEnum<{
122
130
  error: "error";
@@ -150,9 +158,158 @@ export declare const toolFindExploresMetadataSchema: z.ZodObject<{
150
158
  }, z.core.$strip>>>;
151
159
  }, z.core.$strip>>;
152
160
  }, z.core.$strip>;
153
- export declare const toolFindExploresOutputSchema: z.ZodObject<{
161
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
162
+ export declare const findExploresResultSchema: z.ZodObject<{
163
+ searchQuery: z.ZodString;
164
+ description: z.ZodString;
165
+ searchResults: z.ZodObject<{
166
+ count: z.ZodNumber;
167
+ note: z.ZodString;
168
+ results: z.ZodArray<z.ZodObject<{
169
+ name: z.ZodString;
170
+ label: z.ZodString;
171
+ searchRank: z.ZodNullable<z.ZodNumber>;
172
+ description: z.ZodNullable<z.ZodString>;
173
+ aiHints: z.ZodArray<z.ZodString>;
174
+ joinedTables: z.ZodObject<{
175
+ count: z.ZodNumber;
176
+ note: z.ZodNullable<z.ZodString>;
177
+ tables: z.ZodArray<z.ZodString>;
178
+ }, z.core.$strip>;
179
+ requiredFilters: z.ZodArray<z.ZodObject<{
180
+ fieldId: z.ZodString;
181
+ fieldRef: z.ZodString;
182
+ tableName: z.ZodString;
183
+ operator: z.ZodString;
184
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
185
+ settings: z.ZodOptional<z.ZodUnknown>;
186
+ required: z.ZodBoolean;
187
+ }, z.core.$strip>>;
188
+ }, z.core.$strip>>;
189
+ }, z.core.$strip>;
190
+ topMatchingFields: z.ZodObject<{
191
+ count: z.ZodNumber;
192
+ note: z.ZodString;
193
+ fields: z.ZodArray<z.ZodObject<{
194
+ name: z.ZodString;
195
+ label: z.ZodString;
196
+ exploreName: z.ZodString;
197
+ fieldType: z.ZodString;
198
+ searchRank: z.ZodNullable<z.ZodNumber>;
199
+ usageInCharts: z.ZodNumber;
200
+ usageInVerifiedCharts: z.ZodNumber;
201
+ }, z.core.$strip>>;
202
+ }, z.core.$strip>;
203
+ relevantVerifiedAnswers: z.ZodOptional<z.ZodArray<z.ZodObject<{
204
+ artifactVersionUuid: z.ZodString;
205
+ chartConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
206
+ artifactType: z.ZodEnum<{
207
+ chart: "chart";
208
+ dashboard: "dashboard";
209
+ }>;
210
+ verifiedQuestion: z.ZodNullable<z.ZodString>;
211
+ title: z.ZodNullable<z.ZodString>;
212
+ description: z.ZodNullable<z.ZodString>;
213
+ similarity: z.ZodNumber;
214
+ }, z.core.$strip>>>;
215
+ }, z.core.$strip>;
216
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
217
+ export declare const toolFindExploresOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
218
+ result: z.ZodString;
219
+ metadata: z.ZodIntersection<z.ZodObject<{
220
+ status: z.ZodEnum<{
221
+ error: "error";
222
+ success: "success";
223
+ }>;
224
+ ranking: z.ZodOptional<z.ZodObject<{
225
+ searchQuery: z.ZodString;
226
+ exploreSearchResults: z.ZodOptional<z.ZodArray<z.ZodObject<{
227
+ name: z.ZodString;
228
+ label: z.ZodString;
229
+ searchRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
230
+ joinedTables: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
231
+ requiredFilters: z.ZodOptional<z.ZodArray<z.ZodObject<{
232
+ fieldId: z.ZodString;
233
+ fieldRef: z.ZodString;
234
+ tableName: z.ZodString;
235
+ operator: z.ZodString;
236
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
237
+ settings: z.ZodOptional<z.ZodUnknown>;
238
+ required: z.ZodBoolean;
239
+ }, z.core.$strip>>>;
240
+ }, z.core.$strip>>>;
241
+ topMatchingFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
242
+ name: z.ZodString;
243
+ label: z.ZodString;
244
+ tableName: z.ZodString;
245
+ fieldType: z.ZodString;
246
+ searchRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
247
+ chartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
248
+ verifiedChartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
+ }, z.core.$strip>>>;
250
+ }, z.core.$strip>>;
251
+ }, z.core.$strip>, z.ZodObject<{
252
+ status: z.ZodEnum<{
253
+ success: "success";
254
+ }>;
255
+ }, z.core.$strip>>;
256
+ structuredContent: z.ZodObject<{
257
+ searchQuery: z.ZodString;
258
+ description: z.ZodString;
259
+ searchResults: z.ZodObject<{
260
+ count: z.ZodNumber;
261
+ note: z.ZodString;
262
+ results: z.ZodArray<z.ZodObject<{
263
+ name: z.ZodString;
264
+ label: z.ZodString;
265
+ searchRank: z.ZodNullable<z.ZodNumber>;
266
+ description: z.ZodNullable<z.ZodString>;
267
+ aiHints: z.ZodArray<z.ZodString>;
268
+ joinedTables: z.ZodObject<{
269
+ count: z.ZodNumber;
270
+ note: z.ZodNullable<z.ZodString>;
271
+ tables: z.ZodArray<z.ZodString>;
272
+ }, z.core.$strip>;
273
+ requiredFilters: z.ZodArray<z.ZodObject<{
274
+ fieldId: z.ZodString;
275
+ fieldRef: z.ZodString;
276
+ tableName: z.ZodString;
277
+ operator: z.ZodString;
278
+ values: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
279
+ settings: z.ZodOptional<z.ZodUnknown>;
280
+ required: z.ZodBoolean;
281
+ }, z.core.$strip>>;
282
+ }, z.core.$strip>>;
283
+ }, z.core.$strip>;
284
+ topMatchingFields: z.ZodObject<{
285
+ count: z.ZodNumber;
286
+ note: z.ZodString;
287
+ fields: z.ZodArray<z.ZodObject<{
288
+ name: z.ZodString;
289
+ label: z.ZodString;
290
+ exploreName: z.ZodString;
291
+ fieldType: z.ZodString;
292
+ searchRank: z.ZodNullable<z.ZodNumber>;
293
+ usageInCharts: z.ZodNumber;
294
+ usageInVerifiedCharts: z.ZodNumber;
295
+ }, z.core.$strip>>;
296
+ }, z.core.$strip>;
297
+ relevantVerifiedAnswers: z.ZodOptional<z.ZodArray<z.ZodObject<{
298
+ artifactVersionUuid: z.ZodString;
299
+ chartConfig: z.ZodRecord<z.ZodString, z.ZodUnknown>;
300
+ artifactType: z.ZodEnum<{
301
+ chart: "chart";
302
+ dashboard: "dashboard";
303
+ }>;
304
+ verifiedQuestion: z.ZodNullable<z.ZodString>;
305
+ title: z.ZodNullable<z.ZodString>;
306
+ description: z.ZodNullable<z.ZodString>;
307
+ similarity: z.ZodNumber;
308
+ }, z.core.$strip>>>;
309
+ }, z.core.$strip>;
310
+ }, z.core.$strip>, z.ZodObject<{
154
311
  result: z.ZodString;
155
- metadata: z.ZodObject<{
312
+ metadata: z.ZodIntersection<z.ZodObject<{
156
313
  status: z.ZodEnum<{
157
314
  error: "error";
158
315
  success: "success";
@@ -184,8 +341,16 @@ export declare const toolFindExploresOutputSchema: z.ZodObject<{
184
341
  verifiedChartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
185
342
  }, z.core.$strip>>>;
186
343
  }, z.core.$strip>>;
344
+ }, z.core.$strip>, z.ZodObject<{
345
+ status: z.ZodEnum<{
346
+ error: "error";
347
+ }>;
348
+ }, z.core.$strip>>;
349
+ structuredContent: z.ZodObject<{
350
+ error: z.ZodString;
187
351
  }, z.core.$strip>;
188
- }, z.core.$strip>;
352
+ }, z.core.$strip>]>;
353
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
189
354
  export declare const isToolFindExploresResult: <T extends {
190
355
  toolType: string;
191
356
  toolName: string;
@@ -224,12 +389,21 @@ export declare const isToolFindExploresResult: <T extends {
224
389
  } | undefined;
225
390
  };
226
391
  };
392
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
227
393
  export type ToolFindExploresArgsV1 = z.infer<typeof toolFindExploresArgsSchemaV1>;
394
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
228
395
  export type ToolFindExploresArgsV2 = z.infer<typeof toolFindExploresArgsSchemaV2>;
396
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
229
397
  export type ToolFindExploresArgsV3 = z.infer<typeof toolFindExploresArgsSchemaV3>;
398
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
230
399
  export type ToolFindExploresArgs = z.infer<typeof toolFindExploresArgsSchemaV3>;
400
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
231
401
  export type ToolFindExploresArgsTransformed = ToolFindExploresArgs;
232
402
  export type FindExploresRequiredFilter = z.infer<typeof findExploresRequiredFilterSchema>;
233
- export type FindExploresResult = z.infer<typeof findExploresResultSchema>;
403
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
404
+ export type ToolFindExploresStructuredContent = z.infer<typeof toolFindExploresStructuredContentSchema>;
405
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
406
+ export type FindExploresResult = ToolFindExploresStructuredContent;
407
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
234
408
  export type ToolFindExploresOutput = z.infer<typeof toolFindExploresOutputSchema>;
235
409
  //# sourceMappingURL=toolFindExploresArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindExploresArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAK5D,eAAO,MAAM,8BAA8B,kBAExC,sBAAsB,KAAG,MAa3B,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;iBAQ7B,CAAC;AAEb,eAAO,MAAM,4BAA4B;;iBAM7B,CAAC;AAEb,eAAO,MAAM,4BAA4B;;iBAS7B,CAAC;AAEb,eAAO,MAAM,qCAAqC;;iBAClB,CAAC;AAEjC,eAAO,MAAM,iCAAiC;;;;;;;;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AGpC,CAAC;AAEF,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC;AACF,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC;AACF,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC;AACF,uFAAuF;AACvF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAChF,uFAAuF;AACvF,MAAM,MAAM,+BAA+B,GAAG,oBAAoB,CAAC;AACnE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AACF,uFAAuF;AACvF,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,uCAAuC,CACjD,CAAC;AACF,uFAAuF;AACvF,MAAM,MAAM,kBAAkB,GAAG,iCAAiC,CAAC;AACnE,uFAAuF;AACvF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC"}
@@ -1,10 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isToolFindExploresResult = exports.toolFindExploresOutputSchema = exports.toolFindExploresMetadataSchema = exports.findExploresResultSchema = exports.findExploresRelevantVerifiedAnswerSchema = exports.findExploresRequiredFilterSchema = exports.findExploresRankingMetadataSchema = exports.toolFindExploresArgsSchemaTransformed = exports.toolFindExploresArgsSchemaV3 = exports.toolFindExploresArgsSchemaV2 = exports.toolFindExploresArgsSchemaV1 = exports.TOOL_FIND_EXPLORES_DESCRIPTION = void 0;
3
+ exports.isToolFindExploresResult = exports.toolFindExploresOutputSchema = exports.findExploresResultSchema = exports.toolFindExploresMetadataSchema = exports.toolFindExploresStructuredContentSchema = exports.findExploresRelevantVerifiedAnswerSchema = exports.findExploresRequiredFilterSchema = exports.findExploresRankingMetadataSchema = exports.toolFindExploresArgsSchemaTransformed = exports.toolFindExploresArgsSchemaV3 = exports.toolFindExploresArgsSchemaV2 = exports.toolFindExploresArgsSchemaV1 = exports.TOOL_FIND_EXPLORES_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const outputMetadata_1 = require("../outputMetadata");
6
6
  const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
7
7
  const builtInToolResultGuard_1 = require("./builtInToolResultGuard");
8
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
8
9
  const TOOL_FIND_EXPLORES_DESCRIPTION = ({ toolName, }) => `Tool: ${toolName}
9
10
 
10
11
  Purpose:
@@ -20,6 +21,7 @@ Output:
20
21
  - Required filters set on matching explores, including default values
21
22
  `;
22
23
  exports.TOOL_FIND_EXPLORES_DESCRIPTION = TOOL_FIND_EXPLORES_DESCRIPTION;
24
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
23
25
  exports.toolFindExploresArgsSchemaV1 = (0, toolSchemaBuilder_1.createToolSchema)()
24
26
  .extend({
25
27
  exploreName: zod_1.z
@@ -29,6 +31,7 @@ exports.toolFindExploresArgsSchemaV1 = (0, toolSchemaBuilder_1.createToolSchema)
29
31
  })
30
32
  .withPagination()
31
33
  .build();
34
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
32
35
  exports.toolFindExploresArgsSchemaV2 = (0, toolSchemaBuilder_1.createToolSchema)()
33
36
  .extend({
34
37
  exploreName: zod_1.z
@@ -36,6 +39,7 @@ exports.toolFindExploresArgsSchemaV2 = (0, toolSchemaBuilder_1.createToolSchema)
36
39
  .describe('Name of the explore that you have access to'),
37
40
  })
38
41
  .build();
42
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
39
43
  exports.toolFindExploresArgsSchemaV3 = (0, toolSchemaBuilder_1.createToolSchema)()
40
44
  .extend({
41
45
  // TODO: check if we need to add exploreName back in for backward compatibility
@@ -44,7 +48,9 @@ exports.toolFindExploresArgsSchemaV3 = (0, toolSchemaBuilder_1.createToolSchema)
44
48
  .describe("set of high-signal keyword terms for query. Search uses PostgreSQL websearch_to_tsquery after joining whitespace-separated terms with OR. It searches explore and field name, label, and description. Prefer metric/entity/dimension nouns that capture the user's analytical intent."),
45
49
  })
46
50
  .build();
51
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
47
52
  exports.toolFindExploresArgsSchemaTransformed = exports.toolFindExploresArgsSchemaV3;
53
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
48
54
  exports.findExploresRankingMetadataSchema = zod_1.z.object({
49
55
  searchQuery: zod_1.z.string(),
50
56
  exploreSearchResults: zod_1.z
@@ -96,7 +102,8 @@ exports.findExploresRelevantVerifiedAnswerSchema = zod_1.z.object({
96
102
  description: zod_1.z.string().nullable(),
97
103
  similarity: zod_1.z.number(),
98
104
  });
99
- exports.findExploresResultSchema = zod_1.z.object({
105
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
106
+ exports.toolFindExploresStructuredContentSchema = zod_1.z.object({
100
107
  searchQuery: zod_1.z.string(),
101
108
  description: zod_1.z.string(),
102
109
  searchResults: zod_1.z.object({
@@ -133,12 +140,17 @@ exports.findExploresResultSchema = zod_1.z.object({
133
140
  .array(exports.findExploresRelevantVerifiedAnswerSchema)
134
141
  .optional(),
135
142
  });
143
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
136
144
  exports.toolFindExploresMetadataSchema = outputMetadata_1.baseOutputMetadataSchema.extend({
137
145
  ranking: exports.findExploresRankingMetadataSchema.optional(),
138
146
  });
139
- exports.toolFindExploresOutputSchema = zod_1.z.object({
140
- result: zod_1.z.string(),
147
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
148
+ exports.findExploresResultSchema = exports.toolFindExploresStructuredContentSchema;
149
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
150
+ exports.toolFindExploresOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
141
151
  metadata: exports.toolFindExploresMetadataSchema,
152
+ structuredContent: exports.toolFindExploresStructuredContentSchema,
142
153
  });
154
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
143
155
  exports.isToolFindExploresResult = (0, builtInToolResultGuard_1.makeBuiltInToolResultGuard)('findExplores', exports.toolFindExploresMetadataSchema);
144
156
  //# sourceMappingURL=toolFindExploresArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAA6D;AAC7D,4DAAwD;AACxD,qEAAsE;AAE/D,MAAM,8BAA8B,GAAG,CAAC,EAC3C,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;CAatD,CAAC;AAfW,QAAA,8BAA8B,GAA9B,8BAA8B,CAezC;AAEW,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,GAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;CAC/D,CAAC;KACD,cAAc,EAAE;KAChB,KAAK,EAAE,CAAC;AAEA,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,GAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,6CAA6C,CAAC;CAC/D,CAAC;KACD,KAAK,EAAE,CAAC;AAEA,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,GAAE;KACzD,MAAM,CAAC;IACJ,+EAA+E;IAC/E,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,u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E;YAChB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;YACjB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;YACvB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;YACrB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACjC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;YACzB,qBAAqB,EAAE,OAAC,CAAC,MAAM,EAAE;SACpC,CAAC,CACL;KACJ,CAAC;IACF,uBAAuB,EAAE,OAAC;SACrB,KAAK,CAAC,QAAA,wCAAwC,CAAC;SAC/C,QAAQ,EAAE;CAClB,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,yCAAwB,CAAC,MAAM,CAAC;IAC1E,OAAO,EAAE,QAAA,iCAAiC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEU,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,QAAA,8BAA8B;CAC3C,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,IAAA,mDAA0B,EAC9D,cAAc,EACd,QAAA,8BAA8B,CACjC,CAAC"}
1
+ {"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAG2B;AAC3B,4DAAwD;AACxD,qEAAsE;AAEtE,uFAAuF;AAChF,MAAM,8BAA8B,GAAG,CAAC,EAC3C,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;CAatD,CAAC;AAfW,QAAA,8BAA8B,GAA9B,8BAA8B,CAezC;AAEF,uFAAuF;AAC1E,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,GAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,OAAC;SACT,MAAM,EAAE;SACR,QAA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AC7D,CAAC,CAAC;AAEH,uFAAuF;AAC1E,QAAA,wBAAwB,GAAG,IAAA,mDAA0B,EAC9D,cAAc,EACd,QAAA,8BAA8B,CACjC,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  import { type ToolDescriptionContext } from '../defineTool';
3
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
3
4
  export declare const TOOL_FIND_FIELDS_DESCRIPTION: ({ runtime, toolName, }: ToolDescriptionContext) => string;
5
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
4
6
  export declare const toolFindFieldsArgsSchema: z.ZodObject<{
5
7
  table: z.ZodString;
6
8
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
@@ -9,6 +11,7 @@ export declare const toolFindFieldsArgsSchema: z.ZodObject<{
9
11
  } & {
10
12
  page: z.ZodNullable<z.ZodNumber>;
11
13
  }, z.core.$strip>;
14
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
12
15
  export declare const toolFindFieldsArgsSchemaTransformed: z.ZodObject<{
13
16
  table: z.ZodString;
14
17
  fieldSearchQueries: z.ZodArray<z.ZodObject<{
@@ -17,6 +20,7 @@ export declare const toolFindFieldsArgsSchemaTransformed: z.ZodObject<{
17
20
  } & {
18
21
  page: z.ZodNullable<z.ZodNumber>;
19
22
  }, z.core.$strip>;
23
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
20
24
  export declare const findFieldsRankingMetadataSchema: z.ZodObject<{
21
25
  searchQueries: z.ZodArray<z.ZodObject<{
22
26
  status: z.ZodOptional<z.ZodEnum<{
@@ -42,7 +46,8 @@ export declare const findFieldsRankingMetadataSchema: z.ZodObject<{
42
46
  }, z.core.$strip>>;
43
47
  }, z.core.$strip>>;
44
48
  }, z.core.$strip>;
45
- export declare const findFieldsResultSchema: z.ZodObject<{
49
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
50
+ export declare const toolFindFieldsStructuredContentSchema: z.ZodObject<{
46
51
  searchResults: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
47
52
  status: z.ZodLiteral<"success">;
48
53
  searchQuery: z.ZodString;
@@ -75,6 +80,7 @@ export declare const findFieldsResultSchema: z.ZodObject<{
75
80
  error: z.ZodString;
76
81
  }, z.core.$strip>], "status">>;
77
82
  }, z.core.$strip>;
83
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
78
84
  export declare const toolFindFieldsMetadataSchema: z.ZodObject<{
79
85
  status: z.ZodEnum<{
80
86
  error: "error";
@@ -106,9 +112,10 @@ export declare const toolFindFieldsMetadataSchema: z.ZodObject<{
106
112
  }, z.core.$strip>>;
107
113
  }, z.core.$strip>>;
108
114
  }, z.core.$strip>;
109
- export declare const toolFindFieldsOutputSchema: z.ZodObject<{
115
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
116
+ export declare const toolFindFieldsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
110
117
  result: z.ZodString;
111
- metadata: z.ZodObject<{
118
+ metadata: z.ZodIntersection<z.ZodObject<{
112
119
  status: z.ZodEnum<{
113
120
  error: "error";
114
121
  success: "success";
@@ -138,8 +145,86 @@ export declare const toolFindFieldsOutputSchema: z.ZodObject<{
138
145
  }, z.core.$strip>>;
139
146
  }, z.core.$strip>>;
140
147
  }, z.core.$strip>>;
148
+ }, z.core.$strip>, z.ZodObject<{
149
+ status: z.ZodEnum<{
150
+ success: "success";
151
+ }>;
152
+ }, z.core.$strip>>;
153
+ structuredContent: z.ZodObject<{
154
+ searchResults: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
155
+ status: z.ZodLiteral<"success">;
156
+ searchQuery: z.ZodString;
157
+ page: z.ZodNullable<z.ZodNumber>;
158
+ pageSize: z.ZodNullable<z.ZodNumber>;
159
+ totalPageCount: z.ZodNullable<z.ZodNumber>;
160
+ totalResults: z.ZodNullable<z.ZodNumber>;
161
+ fields: z.ZodArray<z.ZodObject<{
162
+ type: z.ZodString;
163
+ baseTable: z.ZodString;
164
+ name: z.ZodString;
165
+ fieldId: z.ZodString;
166
+ fieldType: z.ZodString;
167
+ fieldFilterType: z.ZodString;
168
+ searchRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
169
+ chartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
170
+ usageInVerifiedCharts: z.ZodNumber;
171
+ isFromJoinedTable: z.ZodBoolean;
172
+ caseSensitiveFilters: z.ZodNullable<z.ZodBoolean>;
173
+ note: z.ZodNullable<z.ZodString>;
174
+ label: z.ZodString;
175
+ aiHints: z.ZodArray<z.ZodString>;
176
+ description: z.ZodNullable<z.ZodString>;
177
+ categories: z.ZodArray<z.ZodString>;
178
+ emoji: z.ZodNullable<z.ZodString>;
179
+ }, z.core.$strip>>;
180
+ }, z.core.$strip>, z.ZodObject<{
181
+ status: z.ZodLiteral<"error">;
182
+ searchQuery: z.ZodString;
183
+ error: z.ZodString;
184
+ }, z.core.$strip>], "status">>;
141
185
  }, z.core.$strip>;
142
- }, z.core.$strip>;
186
+ }, z.core.$strip>, z.ZodObject<{
187
+ result: z.ZodString;
188
+ metadata: z.ZodIntersection<z.ZodObject<{
189
+ status: z.ZodEnum<{
190
+ error: "error";
191
+ success: "success";
192
+ }>;
193
+ ranking: z.ZodOptional<z.ZodObject<{
194
+ searchQueries: z.ZodArray<z.ZodObject<{
195
+ status: z.ZodOptional<z.ZodEnum<{
196
+ error: "error";
197
+ success: "success";
198
+ }>>;
199
+ label: z.ZodString;
200
+ error: z.ZodOptional<z.ZodString>;
201
+ results: z.ZodArray<z.ZodObject<{
202
+ name: z.ZodString;
203
+ label: z.ZodString;
204
+ tableName: z.ZodString;
205
+ fieldType: z.ZodString;
206
+ searchRank: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
207
+ chartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
208
+ verifiedChartUsage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
209
+ }, z.core.$strip>>;
210
+ pagination: z.ZodOptional<z.ZodObject<{
211
+ page: z.ZodNumber;
212
+ pageSize: z.ZodNumber;
213
+ totalResults: z.ZodNumber;
214
+ totalPageCount: z.ZodNumber;
215
+ }, z.core.$strip>>;
216
+ }, z.core.$strip>>;
217
+ }, z.core.$strip>>;
218
+ }, z.core.$strip>, z.ZodObject<{
219
+ status: z.ZodEnum<{
220
+ error: "error";
221
+ }>;
222
+ }, z.core.$strip>>;
223
+ structuredContent: z.ZodObject<{
224
+ error: z.ZodString;
225
+ }, z.core.$strip>;
226
+ }, z.core.$strip>]>;
227
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
143
228
  export declare const isToolFindFieldsResult: <T extends {
144
229
  toolType: string;
145
230
  toolName: string;
@@ -173,8 +258,12 @@ export declare const isToolFindFieldsResult: <T extends {
173
258
  } | undefined;
174
259
  };
175
260
  };
261
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
176
262
  export type ToolFindFieldsArgs = z.infer<typeof toolFindFieldsArgsSchema>;
263
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
177
264
  export type ToolFindFieldsArgsTransformed = ToolFindFieldsArgs;
178
- export type FindFieldsResult = z.infer<typeof findFieldsResultSchema>;
265
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
266
+ export type ToolFindFieldsStructuredContent = z.infer<typeof toolFindFieldsStructuredContentSchema>;
267
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
179
268
  export type ToolFindFieldsOutput = z.infer<typeof toolFindFieldsOutputSchema>;
180
269
  //# sourceMappingURL=toolFindFieldsArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindFieldsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sB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;AAEb,qFAAqF;AACrF,eAAO,MAAM,mCAAmC;;;;;;;iBAA2B,CAAC;AAE5E,qFAAqF;AACrF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;iBA2B1C,CAAC;AAsCH,qFAAqF;AACrF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOhD,CAAC;AAEH,qFAAqF;AACrF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEvC,CAAC;AAEH,qFAAqF;AACrF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGrC,CAAC;AAEH,qFAAqF;AACrF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlC,CAAC;AAEF,qFAAqF;AACrF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,qFAAqF;AACrF,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAAC;AAC/D,qFAAqF;AACrF,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,qCAAqC,CAC/C,CAAC;AACF,qFAAqF;AACrF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC"}
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isToolFindFieldsResult = exports.toolFindFieldsOutputSchema = exports.toolFindFieldsMetadataSchema = exports.findFieldsResultSchema = exports.findFieldsRankingMetadataSchema = exports.toolFindFieldsArgsSchemaTransformed = exports.toolFindFieldsArgsSchema = exports.TOOL_FIND_FIELDS_DESCRIPTION = void 0;
3
+ exports.isToolFindFieldsResult = exports.toolFindFieldsOutputSchema = exports.toolFindFieldsMetadataSchema = exports.toolFindFieldsStructuredContentSchema = exports.findFieldsRankingMetadataSchema = exports.toolFindFieldsArgsSchemaTransformed = exports.toolFindFieldsArgsSchema = exports.TOOL_FIND_FIELDS_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const outputMetadata_1 = require("../outputMetadata");
6
6
  const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
7
7
  const builtInToolResultGuard_1 = require("./builtInToolResultGuard");
8
8
  const discoveryToolNames_1 = require("./discoveryToolNames");
9
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
9
10
  const TOOL_FIND_FIELDS_DESCRIPTION = ({ runtime, toolName, }) => {
10
11
  const findExplores = (0, discoveryToolNames_1.toolNameFor)('findExplores', runtime);
11
12
  return `Tool: "${toolName}"
@@ -23,6 +24,7 @@ Usage tips:
23
24
  `;
24
25
  };
25
26
  exports.TOOL_FIND_FIELDS_DESCRIPTION = TOOL_FIND_FIELDS_DESCRIPTION;
27
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
26
28
  exports.toolFindFieldsArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)()
27
29
  .extend({
28
30
  table: zod_1.z.string().describe('The table to search in.'),
@@ -32,7 +34,9 @@ exports.toolFindFieldsArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)()
32
34
  })
33
35
  .withPagination()
34
36
  .build();
37
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
35
38
  exports.toolFindFieldsArgsSchemaTransformed = exports.toolFindFieldsArgsSchema;
39
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
36
40
  exports.findFieldsRankingMetadataSchema = zod_1.z.object({
37
41
  searchQueries: zod_1.z.array(zod_1.z.object({
38
42
  status: zod_1.z.enum(['success', 'error']).optional(),
@@ -89,18 +93,22 @@ const findFieldsSearchErrorSchema = zod_1.z.object({
89
93
  searchQuery: zod_1.z.string(),
90
94
  error: zod_1.z.string(),
91
95
  });
92
- exports.findFieldsResultSchema = zod_1.z.object({
96
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
97
+ exports.toolFindFieldsStructuredContentSchema = zod_1.z.object({
93
98
  searchResults: zod_1.z.array(zod_1.z.discriminatedUnion('status', [
94
99
  findFieldsSearchSuccessSchema,
95
100
  findFieldsSearchErrorSchema,
96
101
  ])),
97
102
  });
103
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
98
104
  exports.toolFindFieldsMetadataSchema = outputMetadata_1.baseOutputMetadataSchema.extend({
99
105
  ranking: exports.findFieldsRankingMetadataSchema.optional(),
100
106
  });
101
- exports.toolFindFieldsOutputSchema = zod_1.z.object({
102
- result: zod_1.z.string(),
107
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
108
+ exports.toolFindFieldsOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
103
109
  metadata: exports.toolFindFieldsMetadataSchema,
110
+ structuredContent: exports.toolFindFieldsStructuredContentSchema,
104
111
  });
112
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
105
113
  exports.isToolFindFieldsResult = (0, builtInToolResultGuard_1.makeBuiltInToolResultGuard)('findFields', exports.toolFindFieldsMetadataSchema);
106
114
  //# sourceMappingURL=toolFindFieldsArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAA6D;AAC7D,4DAAwD;AACxD,qEAAsE;AACtE,6DAAmD;AAE5C,MAAM,4BAA4B,GAAG,CAAC,EACzC,OAAO,EACP,QAAQ,GACa,EAAU,EAAE;IACjC,MAAM,YAAY,GAAG,IAAA,gCAAW,EAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IAC1D,OAAO,UAAU,QAAQ;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