@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,7 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { baseOutputMetadataSchema } from '../outputMetadata';
2
+ import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
3
  import { createToolSchema } from '../toolSchemaBuilder';
4
4
  import { makeBuiltInToolResultGuard } from './builtInToolResultGuard';
5
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
5
6
  export const TOOL_FIND_EXPLORES_DESCRIPTION = ({ toolName, }) => `Tool: ${toolName}
6
7
 
7
8
  Purpose:
@@ -16,6 +17,7 @@ Output:
16
17
  - Top matching fields with their explore names and searchRank scores
17
18
  - Required filters set on matching explores, including default values
18
19
  `;
20
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
19
21
  export const toolFindExploresArgsSchemaV1 = createToolSchema()
20
22
  .extend({
21
23
  exploreName: z
@@ -25,6 +27,7 @@ export const toolFindExploresArgsSchemaV1 = createToolSchema()
25
27
  })
26
28
  .withPagination()
27
29
  .build();
30
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
28
31
  export const toolFindExploresArgsSchemaV2 = createToolSchema()
29
32
  .extend({
30
33
  exploreName: z
@@ -32,6 +35,7 @@ export const toolFindExploresArgsSchemaV2 = createToolSchema()
32
35
  .describe('Name of the explore that you have access to'),
33
36
  })
34
37
  .build();
38
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
35
39
  export const toolFindExploresArgsSchemaV3 = createToolSchema()
36
40
  .extend({
37
41
  // TODO: check if we need to add exploreName back in for backward compatibility
@@ -40,7 +44,9 @@ export const toolFindExploresArgsSchemaV3 = createToolSchema()
40
44
  .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."),
41
45
  })
42
46
  .build();
47
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
43
48
  export const toolFindExploresArgsSchemaTransformed = toolFindExploresArgsSchemaV3;
49
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
44
50
  export const findExploresRankingMetadataSchema = z.object({
45
51
  searchQuery: z.string(),
46
52
  exploreSearchResults: z
@@ -92,7 +98,8 @@ export const findExploresRelevantVerifiedAnswerSchema = z.object({
92
98
  description: z.string().nullable(),
93
99
  similarity: z.number(),
94
100
  });
95
- export const findExploresResultSchema = z.object({
101
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
102
+ export const toolFindExploresStructuredContentSchema = z.object({
96
103
  searchQuery: z.string(),
97
104
  description: z.string(),
98
105
  searchResults: z.object({
@@ -129,12 +136,17 @@ export const findExploresResultSchema = z.object({
129
136
  .array(findExploresRelevantVerifiedAnswerSchema)
130
137
  .optional(),
131
138
  });
139
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
132
140
  export const toolFindExploresMetadataSchema = baseOutputMetadataSchema.extend({
133
141
  ranking: findExploresRankingMetadataSchema.optional(),
134
142
  });
135
- export const toolFindExploresOutputSchema = z.object({
136
- result: z.string(),
143
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
144
+ export const findExploresResultSchema = toolFindExploresStructuredContentSchema;
145
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
146
+ export const toolFindExploresOutputSchema = structuredToolOutputSchema({
137
147
  metadata: toolFindExploresMetadataSchema,
148
+ structuredContent: toolFindExploresStructuredContentSchema,
138
149
  });
150
+ /** @deprecated Legacy `findExplores` tool contract, kept for historical tool calls. */
139
151
  export const isToolFindExploresResult = makeBuiltInToolResultGuard('findExplores', toolFindExploresMetadataSchema);
140
152
  //# sourceMappingURL=toolFindExploresArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,EAC3C,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;CAatD,CAAC;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,EAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,Q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"version":3,"file":"toolFindExploresArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindExploresArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACH,wBAAwB,EACxB,0BAA0B,GAC7B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AAEtE,uFAAuF;AACvF,MAAM,CAAC,MAAM,8BAA8B,GAAG,CAAC,EAC3C,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;CAatD,CAAC;AAEF,uFAAuF;AACvF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,EAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,6CAA6C,CAAC;CAC/D,CAAC;KACD,cAAc,EAAE;KAChB,KAAK,EAAE,CAAC;AAEb,uFAAuF;AACvF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,EAAE;KACzD,MAAM,CAAC;IACJ,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CAAC,6CAA6C,CAAC;CAC/D,CAAC;KACD,KAAK,EAAE,CAAC;AAEb,uFAAuF;AACvF,MAAM,CAAC,MAAM,4BAA4B,GAAG,gBAAgB,EAAE;KACzD,MAAM,CAAC;IACJ,+EAA+E;IAC/E,WAAW,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,CACL,uRAAuR,CAC1R;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAEb,uFAAuF;AACvF,MAAM,CAAC,MAAM,qCAAqC,GAC9C,4BAA4B,CAAC;AAEjC,uFAAuF;AACvF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,M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SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;YACrB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACjC,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;YACzB,qBAAqB,EAAE,CAAC,CAAC,MAAM,EAAE;SACpC,CAAC,CACL;KACJ,CAAC;IACF,uBAAuB,EAAE,CAAC;SACrB,KAAK,CAAC,wCAAwC,CAAC;SAC/C,QAAQ,EAAE;CAClB,CAAC,CAAC;AAEH,uFAAuF;AACvF,MAAM,CAAC,MAAM,8BAA8B,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC1E,OAAO,EAAE,iCAAiC,CAAC,QAAQ,EAAE;CACxD,CAAC,CAAC;AAEH,uFAAuF;AACvF,MAAM,CAAC,MAAM,wBAAwB,GAAG,uCAAuC,CAAC;AAEhF,uFAAuF;AACvF,MAAM,CAAC,MAAM,4BAA4B,GAAG,0BAA0B,CAAC;IACnE,QAAQ,EAAE,8BAA8B;IACxC,iBAAiB,EAAE,uCAAuC;CAC7D,CAAC,CAAC;AAEH,uFAAuF;AACvF,MAAM,CAAC,MAAM,wBAAwB,GAAG,0BAA0B,CAC9D,cAAc,EACd,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,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAM5D,eAAO,MAAM,4BAA4B,2BAGtC,sBAAsB,KAAG,MAe3B,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;;;;iBAUzB,CAAC;AAEb,eAAO,MAAM,mCAAmC;;;;;;;iBAA2B,CAAC;AAE5E,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;iBA2B1C,CAAC;AAsCH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAEvC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAGrC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGlC,CAAC;AAEF,MAAM,M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;;;;;;;;;;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,8 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { baseOutputMetadataSchema } from '../outputMetadata';
2
+ import { baseOutputMetadataSchema, structuredToolOutputSchema, } from '../outputMetadata';
3
3
  import { createToolSchema } from '../toolSchemaBuilder';
4
4
  import { makeBuiltInToolResultGuard } from './builtInToolResultGuard';
5
5
  import { toolNameFor } from './discoveryToolNames';
6
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
6
7
  export const TOOL_FIND_FIELDS_DESCRIPTION = ({ runtime, toolName, }) => {
7
8
  const findExplores = toolNameFor('findExplores', runtime);
8
9
  return `Tool: "${toolName}"
@@ -19,6 +20,7 @@ Usage tips:
19
20
  - Results are paginated — use the next page token to get more results if needed.
20
21
  `;
21
22
  };
23
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
22
24
  export const toolFindFieldsArgsSchema = createToolSchema()
23
25
  .extend({
24
26
  table: z.string().describe('The table to search in.'),
@@ -28,7 +30,9 @@ export const toolFindFieldsArgsSchema = createToolSchema()
28
30
  })
29
31
  .withPagination()
30
32
  .build();
33
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
31
34
  export const toolFindFieldsArgsSchemaTransformed = toolFindFieldsArgsSchema;
35
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
32
36
  export const findFieldsRankingMetadataSchema = z.object({
33
37
  searchQueries: z.array(z.object({
34
38
  status: z.enum(['success', 'error']).optional(),
@@ -85,18 +89,22 @@ const findFieldsSearchErrorSchema = z.object({
85
89
  searchQuery: z.string(),
86
90
  error: z.string(),
87
91
  });
88
- export const findFieldsResultSchema = z.object({
92
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
93
+ export const toolFindFieldsStructuredContentSchema = z.object({
89
94
  searchResults: z.array(z.discriminatedUnion('status', [
90
95
  findFieldsSearchSuccessSchema,
91
96
  findFieldsSearchErrorSchema,
92
97
  ])),
93
98
  });
99
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
94
100
  export const toolFindFieldsMetadataSchema = baseOutputMetadataSchema.extend({
95
101
  ranking: findFieldsRankingMetadataSchema.optional(),
96
102
  });
97
- export const toolFindFieldsOutputSchema = z.object({
98
- result: z.string(),
103
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
104
+ export const toolFindFieldsOutputSchema = structuredToolOutputSchema({
99
105
  metadata: toolFindFieldsMetadataSchema,
106
+ structuredContent: toolFindFieldsStructuredContentSchema,
100
107
  });
108
+ /** @deprecated Legacy `findFields` tool contract, kept for historical tool calls. */
101
109
  export const isToolFindFieldsResult = makeBuiltInToolResultGuard('findFields', toolFindFieldsMetadataSchema);
102
110
  //# sourceMappingURL=toolFindFieldsArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindFieldsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindFieldsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD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