@lightdash/common 2.350.0 → 2.351.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 (154) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/authorization/roleToScopeMapping.d.ts.map +1 -1
  3. package/dist/cjs/authorization/roleToScopeMapping.js +3 -1
  4. package/dist/cjs/authorization/roleToScopeMapping.js.map +1 -1
  5. package/dist/cjs/authorization/scopes.d.ts.map +1 -1
  6. package/dist/cjs/authorization/scopes.js +10 -0
  7. package/dist/cjs/authorization/scopes.js.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +43 -3
  9. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +16 -3
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts +39 -3
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +13 -3
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +35 -0
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.js +36 -1
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts +72 -4
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +10 -3
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts +25 -0
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +39 -20
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  28. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts +19 -0
  29. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  30. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +20 -1
  31. package/dist/cjs/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  32. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts +29 -3
  33. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  34. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +9 -3
  35. package/dist/cjs/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  36. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts +93 -3
  37. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts.map +1 -1
  38. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +14 -3
  39. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
  40. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +370 -3
  41. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  42. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.js +153 -3
  43. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  44. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +57 -3
  45. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  46. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +36 -3
  47. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  48. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts +111 -3
  49. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts.map +1 -1
  50. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +14 -3
  51. package/dist/cjs/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
  52. package/dist/esm/.tsbuildinfo +1 -1
  53. package/dist/esm/authorization/roleToScopeMapping.d.ts.map +1 -1
  54. package/dist/esm/authorization/roleToScopeMapping.js +3 -1
  55. package/dist/esm/authorization/roleToScopeMapping.js.map +1 -1
  56. package/dist/esm/authorization/scopes.d.ts.map +1 -1
  57. package/dist/esm/authorization/scopes.js +10 -0
  58. package/dist/esm/authorization/scopes.js.map +1 -1
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +43 -3
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +15 -2
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts +39 -3
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +13 -3
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +35 -0
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  69. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.js +35 -0
  70. package/dist/esm/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  71. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts +72 -4
  72. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  73. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +9 -2
  74. package/dist/esm/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  75. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts +25 -0
  76. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  77. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +38 -19
  78. package/dist/esm/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  79. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts +19 -0
  80. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  81. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +19 -0
  82. package/dist/esm/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  83. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts +29 -3
  84. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  85. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +8 -2
  86. package/dist/esm/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  87. package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts +93 -3
  88. package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts.map +1 -1
  89. package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +14 -3
  90. package/dist/esm/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
  91. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +370 -3
  92. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  93. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.js +153 -3
  94. package/dist/esm/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  95. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +57 -3
  96. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  97. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +36 -3
  98. package/dist/esm/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  99. package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts +111 -3
  100. package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts.map +1 -1
  101. package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +14 -3
  102. package/dist/esm/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
  103. package/dist/types/.tsbuildinfo +1 -1
  104. package/dist/types/authorization/roleToScopeMapping.d.ts.map +1 -1
  105. package/dist/types/authorization/roleToScopeMapping.js +3 -1
  106. package/dist/types/authorization/roleToScopeMapping.js.map +1 -1
  107. package/dist/types/authorization/scopes.d.ts.map +1 -1
  108. package/dist/types/authorization/scopes.js +10 -0
  109. package/dist/types/authorization/scopes.js.map +1 -1
  110. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts +43 -3
  111. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js +15 -2
  113. package/dist/types/ee/AiAgent/schemas/tools/toolDescribeWarehouseTableArgs.js.map +1 -1
  114. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts +39 -3
  115. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.d.ts.map +1 -1
  116. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js +13 -3
  117. package/dist/types/ee/AiAgent/schemas/tools/toolDiscoverReposArgs.js.map +1 -1
  118. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts +35 -0
  119. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.d.ts.map +1 -1
  120. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.js +35 -0
  121. package/dist/types/ee/AiAgent/schemas/tools/toolEditContentArgs.js.map +1 -1
  122. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts +72 -4
  123. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.d.ts.map +1 -1
  124. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js +9 -2
  125. package/dist/types/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.js.map +1 -1
  126. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts +25 -0
  127. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.d.ts.map +1 -1
  128. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js +38 -19
  129. package/dist/types/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.js.map +1 -1
  130. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts +19 -0
  131. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.d.ts.map +1 -1
  132. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.js +19 -0
  133. package/dist/types/ee/AiAgent/schemas/tools/toolEditRepoArgs.js.map +1 -1
  134. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts +29 -3
  135. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.d.ts.map +1 -1
  136. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js +8 -2
  137. package/dist/types/ee/AiAgent/schemas/tools/toolExploreRepoArgs.js.map +1 -1
  138. package/dist/types/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts +93 -3
  139. package/dist/types/ee/AiAgent/schemas/tools/toolFindChartsArgs.d.ts.map +1 -1
  140. package/dist/types/ee/AiAgent/schemas/tools/toolFindChartsArgs.js +14 -3
  141. package/dist/types/ee/AiAgent/schemas/tools/toolFindChartsArgs.js.map +1 -1
  142. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts +370 -3
  143. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.d.ts.map +1 -1
  144. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.js +153 -3
  145. package/dist/types/ee/AiAgent/schemas/tools/toolFindContentArgs.js.map +1 -1
  146. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts +57 -3
  147. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.d.ts.map +1 -1
  148. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js +36 -3
  149. package/dist/types/ee/AiAgent/schemas/tools/toolFindCustomChartTypesArgs.js.map +1 -1
  150. package/dist/types/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts +111 -3
  151. package/dist/types/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.d.ts.map +1 -1
  152. package/dist/types/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js +14 -3
  153. package/dist/types/ee/AiAgent/schemas/tools/toolFindDashboardsArgs.js.map +1 -1
  154. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditContentArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,6BAA6B,GACtC,4FAA4F,CAAC;AAEpF,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,wCAAwC,CAAC;IAC1E,IAAI,EAAE,OAAC;SACF,IAAI,CAAC,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;SAC5B,QAAQ,CAAC,mCAAmC,CAAC;IAClD,KAAK,EAAE,OAAC;SACH,KAAK,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;SAClB,QAAQ,CACL,6EAA6E,CAChF;CACR,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,OAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACjE,OAAC,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IACxC,OAAC,CAAC,MAAM,CAAC;QACL,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC;QAC5B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC7B,YAAY,EAAE,OAAC,CAAC,MAAM,CAAC;YACnB,MAAM,EAAE,OAAC,C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AC,CAAC,OAAO,EAAE,CAAC;aAC/B,QAAQ,CAAC,qCAAqC,CAAC;QACpD,QAAQ,EAAE,2BAA2B;KACxC,CAAC;CACL,CACJ,CAAC;AAEF,gFAAgF;AAChF,qEAAqE;AACxD,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,6BAA6B;IACvC,iBAAiB,EAAE,OAAC,CAAC,KAAK,CAAC;QACvB,QAAA,sCAAsC;QACtC,iDAAgC;KACnC,CAAC;CACL,CAAC,CAAC"}
@@ -6,6 +6,9 @@ export declare const toolEditDbtProjectArgsSchema: z.ZodObject<{
6
6
  prUrl: z.ZodNullable<z.ZodString>;
7
7
  startNewPullRequest: z.ZodNullable<z.ZodBoolean>;
8
8
  }, z.core.$strip>;
9
+ export declare const toolEditDbtProjectStructuredContentSchema: z.ZodObject<{
10
+ status: z.ZodLiteral<"pending">;
11
+ }, z.core.$strip>;
9
12
  export declare const toolEditDbtProjectMetadataSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
10
13
  status: z.ZodLiteral<"pending">;
11
14
  aiWritebackRunUuid: z.ZodString;
@@ -51,9 +54,9 @@ export declare const toolEditDbtProjectMetadataSchema: z.ZodDiscriminatedUnion<[
51
54
  unsupported_source_control: "unsupported_source_control";
52
55
  }>>>;
53
56
  }, z.core.$strip>], "status">;
54
- export declare const toolEditDbtProjectOutputSchema: z.ZodObject<{
57
+ export declare const toolEditDbtProjectOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
55
58
  result: z.ZodString;
56
- metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
59
+ metadata: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
57
60
  status: z.ZodLiteral<"pending">;
58
61
  aiWritebackRunUuid: z.ZodString;
59
62
  }, z.core.$strip>, z.ZodObject<{
@@ -97,10 +100,75 @@ export declare const toolEditDbtProjectOutputSchema: z.ZodObject<{
97
100
  unknown: "unknown";
98
101
  unsupported_source_control: "unsupported_source_control";
99
102
  }>>>;
100
- }, z.core.$strip>], "status">;
101
- }, z.core.$strip>;
103
+ }, z.core.$strip>], "status">, z.ZodObject<{
104
+ status: z.ZodEnum<{
105
+ success: "success";
106
+ }> | z.ZodEnum<{
107
+ pending: "pending";
108
+ success: "success";
109
+ }>;
110
+ }, z.core.$strip>>;
111
+ structuredContent: z.ZodObject<{
112
+ status: z.ZodLiteral<"pending">;
113
+ }, z.core.$strip>;
114
+ }, z.core.$strip>, z.ZodObject<{
115
+ result: z.ZodString;
116
+ metadata: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
117
+ status: z.ZodLiteral<"pending">;
118
+ aiWritebackRunUuid: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ status: z.ZodLiteral<"success">;
121
+ prUrl: z.ZodNullable<z.ZodString>;
122
+ prAction: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
123
+ opened: "opened";
124
+ updated: "updated";
125
+ }>>>;
126
+ commitSha: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ additions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
128
+ deletions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
129
+ previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ steps: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
131
+ kind: z.ZodEnum<{
132
+ compile: "compile";
133
+ edit: "edit";
134
+ read: "read";
135
+ search: "search";
136
+ stage: "stage";
137
+ }>;
138
+ label: z.ZodString;
139
+ }, z.core.$strip>>>>;
140
+ needsDbtSourceSelection: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
141
+ dbtSourceOptions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
142
+ projectDbtSourceUuid: z.ZodString;
143
+ name: z.ZodString;
144
+ isPrimary: z.ZodBoolean;
145
+ repository: z.ZodNullable<z.ZodString>;
146
+ branch: z.ZodNullable<z.ZodString>;
147
+ projectSubPath: z.ZodNullable<z.ZodString>;
148
+ }, z.core.$strip>>>>;
149
+ }, z.core.$strip>, z.ZodObject<{
150
+ status: z.ZodLiteral<"error">;
151
+ errorCode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
152
+ bitbucket_token_missing: "bitbucket_token_missing";
153
+ git_write_permission: "git_write_permission";
154
+ github_not_installed: "github_not_installed";
155
+ gitlab_not_installed: "gitlab_not_installed";
156
+ pull_request_not_open: "pull_request_not_open";
157
+ unknown: "unknown";
158
+ unsupported_source_control: "unsupported_source_control";
159
+ }>>>;
160
+ }, z.core.$strip>], "status">, z.ZodObject<{
161
+ status: z.ZodEnum<{
162
+ error: "error";
163
+ }>;
164
+ }, z.core.$strip>>;
165
+ structuredContent: z.ZodObject<{
166
+ error: z.ZodString;
167
+ }, z.core.$strip>;
168
+ }, z.core.$strip>]>;
102
169
  export type ToolEditDbtProjectArgs = z.infer<typeof toolEditDbtProjectArgsSchema>;
103
170
  export type ToolEditDbtProjectOutput = z.infer<typeof toolEditDbtProjectOutputSchema>;
171
+ export type ToolEditDbtProjectStructuredContent = z.infer<typeof toolEditDbtProjectStructuredContentSchema>;
104
172
  export declare const isToolEditDbtProjectResult: <T extends {
105
173
  toolType: string;
106
174
  toolName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditDbtProjectArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B,QAAgB,CAAC;AAE3D,eAAO,MAAM,iCAAiC,QAOnC,CAAC;AAEZ,eAAO,MAAM,4BAA4B;;;;iBAkBvC,CAAC;AAEH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA6E3C,CAAC;AAE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;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGtC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isToolEditDbtProjectResult = exports.toolEditDbtProjectOutputSchema = exports.toolEditDbtProjectMetadataSchema = exports.toolEditDbtProjectArgsSchema = exports.TOOL_EDIT_DBT_PROJECT_DESCRIPTION = exports.AI_WRITEBACK_PENDING_GRACE_MS = void 0;
3
+ exports.isToolEditDbtProjectResult = exports.toolEditDbtProjectOutputSchema = exports.toolEditDbtProjectMetadataSchema = exports.toolEditDbtProjectStructuredContentSchema = exports.toolEditDbtProjectArgsSchema = exports.TOOL_EDIT_DBT_PROJECT_DESCRIPTION = exports.AI_WRITEBACK_PENDING_GRACE_MS = void 0;
4
4
  const zod_1 = require("zod");
5
+ const outputMetadata_1 = require("../outputMetadata");
5
6
  const builtInToolResultGuard_1 = require("./builtInToolResultGuard");
6
7
  exports.AI_WRITEBACK_PENDING_GRACE_MS = 5 * 60 * 1000;
7
8
  exports.TOOL_EDIT_DBT_PROJECT_DESCRIPTION = [
@@ -25,6 +26,11 @@ exports.toolEditDbtProjectArgsSchema = zod_1.z.object({
25
26
  .nullable()
26
27
  .describe("Set true to open a brand-new pull request even when this conversation already has one open against this project's connected repository — use it when the user asks for a SEPARATE, unrelated change rather than a follow-up to existing work. Leave null (the default) to continue the most recent pull request. Ignored when prUrl is set."),
27
28
  });
29
+ exports.toolEditDbtProjectStructuredContentSchema = zod_1.z.object({
30
+ status: zod_1.z
31
+ .literal('pending')
32
+ .describe('The change has started in the background; the pull request is opened later and this tool must not be called again to check on it.'),
33
+ });
28
34
  exports.toolEditDbtProjectMetadataSchema = zod_1.z.discriminatedUnion('status', [
29
35
  zod_1.z.object({
30
36
  status: zod_1.z.literal('pending'),
@@ -99,9 +105,10 @@ exports.toolEditDbtProjectMetadataSchema = zod_1.z.discriminatedUnion('status',
99
105
  .nullish(),
100
106
  }),
101
107
  ]);
102
- exports.toolEditDbtProjectOutputSchema = zod_1.z.object({
103
- result: zod_1.z.string(),
108
+ exports.toolEditDbtProjectOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
104
109
  metadata: exports.toolEditDbtProjectMetadataSchema,
110
+ structuredContent: exports.toolEditDbtProjectStructuredContentSchema,
111
+ contentStatuses: zod_1.z.enum(['success', 'pending']),
105
112
  });
106
113
  exports.isToolEditDbtProjectResult = (0, builtInToolResultGuard_1.makeBuiltInToolResultGuard)('editDbtProject', exports.toolEditDbtProjectMetadataSchema);
107
114
  //# sourceMappingURL=toolEditDbtProjectArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditDbtProjectArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAAsE;AAEzD,QAAA,6BAA6B,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE9C,QAAA,iCAAiC,GAAG;IAC7C,0GAA0G;IAC1G,wLAAwL;IACxL,8JAA8J;IAC9J,8IAA8I;IAC9I,iZAAiZ;IACjZ,+MAA+M;CAClN,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,ibAAib,CACpb;IACL,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,oaAAoa,CACva;IACL,mBAAmB,EAAE,OAAC;SACjB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACL,6UAA6U,CAChV;CACR,CAAC,CAAC;AAEU,QAAA,gCAAgC,GAAG,OAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC3E,OAAC,CAAC,MAAM,CAAC;QACL,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS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,EAAE;YAChC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;YAChB,SAAS,EAAE,OAAC,CAAC,OAAO,EAAE;YACtB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YACjC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC7B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;SACxC,CAAC,CACL;aACA,OAAO,EAAE;KACjB,CAAC;IACF,OAAC,CAAC,MAAM,CAAC;QACL,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;QAC1B,8DAA8D;QAC9D,oEAAoE;QACpE,mEAAmE;QACnE,kEAAkE;QAClE,SAAS,EAAE,OAAC;aACP,IAAI,CAAC;YACF,sBAAsB;YACtB,sBAAsB;YACtB,yBAAyB;YACzB,4BAA4B;YAC5B,uBAAuB;YACvB,sBAAsB;YACtB,SAAS;SACZ,CAAC;aACD,OAAO,EAAE;KACjB,CAAC;CACL,CAAC,CAAC;AAEU,QAAA,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,QAAA,gCAAgC;CAC7C,CAAC,CAAC;AAUU,QAAA,0BAA0B,GAAG,IAAA,mDAA0B,EAChE,gBAAgB,EAChB,QAAA,gCAAgC,CACnC,CAAC"}
1
+ {"version":3,"file":"toolEditDbtProjectArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditDbtProjectArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAA+D;AAC/D,qEAAsE;AAEzD,QAAA,6BAA6B,GAAG,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;AAE9C,QAAA,iCAAiC,GAAG;IAC7C,0GAA0G;IAC1G,wLAAwL;IACxL,8JAA8J;IAC9J,8IAA8I;IAC9I,iZAAiZ;IAC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4B;YAC5B,uBAAuB;YACvB,sBAAsB;YACtB,SAAS;SACZ,CAAC;aACD,OAAO,EAAE;KACjB,CAAC;CACL,CAAC,CAAC;AACU,QAAA,8BAA8B,GAAG,IAAA,2CAA0B,EAAC;IACrE,QAAQ,EAAE,QAAA,gCAAgC;IAC1C,iBAAiB,EAAE,QAAA,yCAAyC;IAC5D,eAAe,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;CAClD,CAAC,CAAC;AAcU,QAAA,0BAA0B,GAAG,IAAA,mDAA0B,EAChE,gBAAgB,EAChB,QAAA,gCAAgC,CACnC,CAAC"}
@@ -14,6 +14,17 @@ export declare const toolEditProjectContextArgsSchema: z.ZodObject<{
14
14
  terms: z.ZodArray<z.ZodString>;
15
15
  objects: z.ZodArray<z.ZodType<import("../..").AiProjectContextTypedObjectRef, unknown, z.core.$ZodTypeInternals<import("../..").AiProjectContextTypedObjectRef, unknown>>>;
16
16
  }, z.core.$strip>;
17
+ export declare const toolEditProjectContextStructuredContentSchema: z.ZodObject<{
18
+ prAction: z.ZodEnum<{
19
+ opened: "opened";
20
+ updated: "updated";
21
+ }>;
22
+ op: z.ZodEnum<{
23
+ create: "create";
24
+ update: "update";
25
+ }>;
26
+ content: z.ZodString;
27
+ }, z.core.$strip>;
17
28
  export declare const toolEditProjectContextOutputSchema: z.ZodObject<{
18
29
  result: z.ZodString;
19
30
  metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -32,7 +43,21 @@ export declare const toolEditProjectContextOutputSchema: z.ZodObject<{
32
43
  unsupported_source_control: "unsupported_source_control";
33
44
  }>>>;
34
45
  }, z.core.$strip>], "status">;
46
+ structuredContent: z.ZodUnion<readonly [z.ZodObject<{
47
+ prAction: z.ZodEnum<{
48
+ opened: "opened";
49
+ updated: "updated";
50
+ }>;
51
+ op: z.ZodEnum<{
52
+ create: "create";
53
+ update: "update";
54
+ }>;
55
+ content: z.ZodString;
56
+ }, z.core.$strip>, z.ZodObject<{
57
+ error: z.ZodString;
58
+ }, z.core.$strip>]>;
35
59
  }, z.core.$strip>;
36
60
  export type ToolEditProjectContextArgs = z.infer<typeof toolEditProjectContextArgsSchema>;
61
+ export type ToolEditProjectContextStructuredContent = z.infer<typeof toolEditProjectContextStructuredContentSchema>;
37
62
  export type ToolEditProjectContextOutput = z.infer<typeof toolEditProjectContextOutputSchema>;
38
63
  //# sourceMappingURL=toolEditProjectContextArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditProjectContextArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,qCAAqC,QAKvC,CAAC;AAIZ,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;iBAgC3C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;iBAsB7C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
1
+ {"version":3,"file":"toolEditProjectContextArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qCAAqC,QAKvC,CAAC;AAIZ,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;iBAgC3C,CAAC;AAEH,eAAO,MAAM,6CAA6C;;;;;;;;;;iBAcxD,CAAC;AA4BH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAO7C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,gCAAgC,CAC1C,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG,CAAC,CAAC,KAAK,CACzD,OAAO,6CAA6C,CACvD,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC5C,CAAC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toolEditProjectContextOutputSchema = exports.toolEditProjectContextArgsSchema = exports.TOOL_EDIT_PROJECT_CONTEXT_DESCRIPTION = void 0;
3
+ exports.toolEditProjectContextOutputSchema = exports.toolEditProjectContextStructuredContentSchema = exports.toolEditProjectContextArgsSchema = exports.TOOL_EDIT_PROJECT_CONTEXT_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const projectContext_1 = require("../../projectContext");
6
+ const outputMetadata_1 = require("../outputMetadata");
6
7
  exports.TOOL_EDIT_PROJECT_CONTEXT_DESCRIPTION = [
7
8
  "Open or update a pull request that changes this project's Lightdash project context — the lightdash.project_context.yml living document of business definitions and routing/context facts the AI agents read before answering.",
8
9
  'Use this ONLY to add or refine a durable, project-specific fact: a business definition or acronym ("HR" = high-risk cohort, not human resources), routing/join guidance about which explore answers a question, or an object-scoped context note — something that would prevent a class of wrong answers in future turns.',
@@ -32,27 +33,45 @@ exports.toolEditProjectContextArgsSchema = zod_1.z.object({
32
33
  .array(projectContext_1.aiProjectContextTypedObjectRefSchema)
33
34
  .describe('The semantic objects this fact concerns. Use {type:"explore",name} for explores and {type:"field",explore,fieldId} for fields; [] when purely prompt-driven.'),
34
35
  });
36
+ exports.toolEditProjectContextStructuredContentSchema = zod_1.z.object({
37
+ prAction: zod_1.z
38
+ .enum(['opened', 'updated'])
39
+ .describe('Whether a new pull request was opened or the existing one was updated.'),
40
+ op: zod_1.z
41
+ .enum(['create', 'update'])
42
+ .describe('Whether the pull request adds a new project-context entry or updates an existing one.'),
43
+ content: zod_1.z
44
+ .string()
45
+ .describe('The entry sentence written to the project context.'),
46
+ });
47
+ const toolEditProjectContextOutputMetadataSchema = zod_1.z.discriminatedUnion('status', [
48
+ zod_1.z.object({
49
+ status: zod_1.z.literal('success'),
50
+ prUrl: zod_1.z.string().nullable(),
51
+ // Nullish, not required: tool-call metadata is persisted, so cards
52
+ // rendered from rows written before this field existed must parse.
53
+ prAction: zod_1.z.enum(['opened', 'updated']).nullish(),
54
+ }),
55
+ zod_1.z.object({
56
+ status: zod_1.z.literal('error'),
57
+ errorCode: zod_1.z
58
+ .enum([
59
+ 'github_not_installed',
60
+ 'unsupported_source_control',
61
+ 'git_write_permission',
62
+ 'unknown',
63
+ ])
64
+ .nullish(),
65
+ }),
66
+ ]);
67
+ // Same envelope as `structuredToolOutputSchema`, composed by hand because the
68
+ // metadata is a discriminated union rather than a plain object.
35
69
  exports.toolEditProjectContextOutputSchema = zod_1.z.object({
36
70
  result: zod_1.z.string(),
37
- metadata: zod_1.z.discriminatedUnion('status', [
38
- zod_1.z.object({
39
- status: zod_1.z.literal('success'),
40
- prUrl: zod_1.z.string().nullable(),
41
- // Nullish, not required: tool-call metadata is persisted, so cards
42
- // rendered from rows written before this field existed must parse.
43
- prAction: zod_1.z.enum(['opened', 'updated']).nullish(),
44
- }),
45
- zod_1.z.object({
46
- status: zod_1.z.literal('error'),
47
- errorCode: zod_1.z
48
- .enum([
49
- 'github_not_installed',
50
- 'unsupported_source_control',
51
- 'git_write_permission',
52
- 'unknown',
53
- ])
54
- .nullish(),
55
- }),
71
+ metadata: toolEditProjectContextOutputMetadataSchema,
72
+ structuredContent: zod_1.z.union([
73
+ exports.toolEditProjectContextStructuredContentSchema,
74
+ outputMetadata_1.toolErrorStructuredContentSchema,
56
75
  ]),
57
76
  });
58
77
  //# sourceMappingURL=toolEditProjectContextArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditProjectContextArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/A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,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,OAAO,EAAE;SACpD,CAAC;QACF,OAAC,CAAC,MAAM,CAAC;YACL,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;YAC1B,SAAS,EAAE,OAAC;iBACP,IAAI,CAAC;gBACF,sBAAsB;gBACtB,4BAA4B;gBAC5B,sBAAsB;gBACtB,SAAS;aACZ,CAAC;iBACD,OAAO,EAAE;SACjB,CAAC;KACL,CAAC;CACL,CAAC,CAAC"}
1
+ {"version":3,"file":"toolEditProjectContextArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditProjectContextArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,yDAA4E;AAC5E,sDAAqE;AAExD,QAAA,qCAAqC,GAAG;IACjD,gOAAgO;IAChO,2TAA2T;IAC3T,kHAAkH;IAClH,wOAAwO;CAC3O,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,qEAAqE;AACrE,0EAA0E;AAC7D,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACrD,EAAE,EAAE,OAAC;SACA,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;SAC1B,QAAQ,CACL,yFAAyF,CAC5F;IACL,EAAE,EAAE,OAAC;SACA,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,2EAA2E,CAC9E;IACL,IAAI,EAAE,OAAC;SACF,IAAI,CAAC,CAAC,YAAY,EAAE,SAAS,CAAC,CAAC;SAC/B,QAAQ,CACL,sJAAsJ,CACzJ;IACL,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,0HAA0H,CAC7H;IACL,KAAK,EAAE,OAAC;SACH,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,CACL,6HAA6H,CAChI;IACL,OAAO,EAAE,OAA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C;QACvB,QAAA,6CAA6C;QAC7C,iDAAgC;KACnC,CAAC;CACL,CAAC,CAAC"}
@@ -6,6 +6,15 @@ export declare const toolEditRepoArgsSchema: z.ZodObject<{
6
6
  prUrl: z.ZodNullable<z.ZodString>;
7
7
  startNewPullRequest: z.ZodNullable<z.ZodBoolean>;
8
8
  }, z.core.$strip>;
9
+ export declare const toolEditRepoStructuredContentSchema: z.ZodObject<{
10
+ repository: z.ZodString;
11
+ pullRequestAction: z.ZodNullable<z.ZodEnum<{
12
+ opened: "opened";
13
+ updated: "updated";
14
+ }>>;
15
+ agentSummary: z.ZodString;
16
+ }, z.core.$strip>;
17
+ export type ToolEditRepoStructuredContent = z.infer<typeof toolEditRepoStructuredContentSchema>;
9
18
  export declare const toolEditRepoOutputSchema: z.ZodObject<{
10
19
  result: z.ZodString;
11
20
  metadata: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -43,6 +52,16 @@ export declare const toolEditRepoOutputSchema: z.ZodObject<{
43
52
  }>>>;
44
53
  reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
54
  }, z.core.$strip>], "status">;
55
+ structuredContent: z.ZodUnion<readonly [z.ZodObject<{
56
+ repository: z.ZodString;
57
+ pullRequestAction: z.ZodNullable<z.ZodEnum<{
58
+ opened: "opened";
59
+ updated: "updated";
60
+ }>>;
61
+ agentSummary: z.ZodString;
62
+ }, z.core.$strip>, z.ZodObject<{
63
+ error: z.ZodString;
64
+ }, z.core.$strip>]>;
46
65
  }, z.core.$strip>;
47
66
  export type ToolEditRepoArgs = z.infer<typeof toolEditRepoArgsSchema>;
48
67
  export type ToolEditRepoOutput = z.infer<typeof toolEditRepoOutputSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditRepoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,0BAA0B,QAO5B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;iBAwBjC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmEnC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;CAGhC,CAAC"}
1
+ {"version":3,"file":"toolEditRepoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,0BAA0B,QAO5B,CAAC;AAEZ,eAAO,MAAM,sBAAsB;;;;;iBAwBjC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;iBAa9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,mCAAmC,CAC7C,CAAC;AAIF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAuEnC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;CAGhC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isToolEditRepoResult = exports.toolEditRepoOutputSchema = exports.toolEditRepoArgsSchema = exports.TOOL_EDIT_REPO_DESCRIPTION = void 0;
3
+ exports.isToolEditRepoResult = exports.toolEditRepoOutputSchema = exports.toolEditRepoStructuredContentSchema = exports.toolEditRepoArgsSchema = exports.TOOL_EDIT_REPO_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
+ const outputMetadata_1 = require("../outputMetadata");
5
6
  const builtInToolResultGuard_1 = require("./builtInToolResultGuard");
6
7
  exports.TOOL_EDIT_REPO_DESCRIPTION = [
7
8
  'Make a code change to one of the repositories your organization can write to, and open (or update) a pull request with it.',
@@ -28,6 +29,20 @@ exports.toolEditRepoArgsSchema = zod_1.z.object({
28
29
  .nullable()
29
30
  .describe('Set true to open a brand-new pull request even when this conversation already has one open against the same repository — use it when the user asks for a separate/independent change rather than a follow-up to existing work. Leave null (the default) to continue the most recent pull request for the repo. Ignored when prUrl is set.'),
30
31
  });
32
+ exports.toolEditRepoStructuredContentSchema = zod_1.z.object({
33
+ repository: zod_1.z
34
+ .string()
35
+ .describe('The repository the change targeted, as "owner/repo".'),
36
+ pullRequestAction: zod_1.z
37
+ .enum(['opened', 'updated'])
38
+ .nullable()
39
+ .describe('Whether the run opened a new pull request or updated an existing one; null when it made no file changes, so no pull request was opened.'),
40
+ agentSummary: zod_1.z
41
+ .string()
42
+ .describe("The coding agent's own summary of the change it made."),
43
+ });
44
+ // Same envelope as `structuredToolOutputSchema`, spelled out because the
45
+ // metadata here is a discriminated union rather than a plain object.
31
46
  exports.toolEditRepoOutputSchema = zod_1.z.object({
32
47
  result: zod_1.z.string(),
33
48
  metadata: zod_1.z.discriminatedUnion('status', [
@@ -93,6 +108,10 @@ exports.toolEditRepoOutputSchema = zod_1.z.object({
93
108
  reason: zod_1.z.string().nullish(),
94
109
  }),
95
110
  ]),
111
+ structuredContent: zod_1.z.union([
112
+ exports.toolEditRepoStructuredContentSchema,
113
+ outputMetadata_1.toolErrorStructuredContentSchema,
114
+ ]),
96
115
  });
97
116
  exports.isToolEditRepoResult = (0, builtInToolResultGuard_1.makeBuiltInToolResultGuard)('editRepo', exports.toolEditRepoOutputSchema.shape.metadata);
98
117
  //# sourceMappingURL=toolEditRepoArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolEditRepoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolEditRepoArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAAsE;AAEzD,QAAA,0BAA0B,GAAG;IACtC,4HAA4H;IAC5H,kLAAkL;IAClL,4RAA4R;IAC5R,0OAA0O;IAC1O,wKAAwK;IACxK,wKAAwK;CAC3K,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,UAAU,EAAE,OAAC;SACR,MAAM,EAAE;SACR,QAAQ,CACL,uPAAuP,CAC1P;IACL,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,mUAAmU,CACtU;IACL,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,qVAAqV,CACxV;IACL,mBAAmB,EAAE,OAAC;SACjB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACL,2UAA2U,CAC9U;CACR,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,OAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;QACrC,OAAC,CAAC,MAAM,CAAC;YACL,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,SAAS,CAAC;YAC5B,kEAAkE;YAClE,mDAAmD;YACnD,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;YAChC,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;YAC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,8DAA8D;YAC9D,oEAAoE;YACpE,mEAAmE;YACnE,kEAAkE;YAClE,SAAS,EAAE,OAAC;iBACP,IAAI,CAAC;gBACF,sBAAsB;gBACtB,sBAAsB;gBACtB,sBAAsB;gBACtB,uBAAuB;gBACvB,sBAAsB;gBACtB,gBAAgB;gBAChB,aAAa;gBACb,SAAS;aACZ,CAAC;iBACD,OAAO,EAAE;YACd,mEAAmE;YACnE,mEAAmE;YACnE,iEAAiE;YACjE,oEAAoE;YACpE,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;SAC/B,CAAC;KACL,CAAC;IACF,iBAAiB,EAAE,OAAC,CAAC,KAAK,CAAC;QACvB,QAAA,mCAAmC;QACnC,iDAAgC;KACnC,CAAC;CACL,CAAC,CAAC;AAMU,QAAA,oBAAoB,GAAG,IAAA,mDAA0B,EAC1D,UAAU,EACV,QAAA,wBAAwB,CAAC,KAAK,CAAC,QAAQ,CAC1C,CAAC"}
@@ -4,15 +4,41 @@ export declare const toolExploreRepoArgsSchema: z.ZodObject<{
4
4
  command: z.ZodString;
5
5
  target: z.ZodNullable<z.ZodString>;
6
6
  }, z.core.$strip>;
7
- export declare const toolExploreRepoOutputSchema: z.ZodObject<{
7
+ export declare const toolExploreRepoStructuredContentSchema: z.ZodObject<{
8
+ output: z.ZodString;
9
+ }, z.core.$strip>;
10
+ export declare const toolExploreRepoOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
8
11
  result: z.ZodString;
9
- metadata: z.ZodObject<{
12
+ metadata: z.ZodIntersection<z.ZodObject<{
10
13
  status: z.ZodEnum<{
11
14
  error: "error";
12
15
  success: "success";
13
16
  }>;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ status: z.ZodEnum<{
19
+ success: "success";
20
+ }>;
21
+ }, z.core.$strip>>;
22
+ structuredContent: z.ZodObject<{
23
+ output: z.ZodString;
14
24
  }, z.core.$strip>;
15
- }, z.core.$strip>;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ result: z.ZodString;
27
+ metadata: z.ZodIntersection<z.ZodObject<{
28
+ status: z.ZodEnum<{
29
+ error: "error";
30
+ success: "success";
31
+ }>;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ status: z.ZodEnum<{
34
+ error: "error";
35
+ }>;
36
+ }, z.core.$strip>>;
37
+ structuredContent: z.ZodObject<{
38
+ error: z.ZodString;
39
+ }, z.core.$strip>;
40
+ }, z.core.$strip>]>;
16
41
  export type ToolExploreRepoArgs = z.infer<typeof toolExploreRepoArgsSchema>;
42
+ export type ToolExploreRepoStructuredContent = z.infer<typeof toolExploreRepoStructuredContentSchema>;
17
43
  export type ToolExploreRepoOutput = z.infer<typeof toolExploreRepoOutputSchema>;
18
44
  //# sourceMappingURL=toolExploreRepoArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolExploreRepoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B,QAU/B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;iBAYpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;iBAKtC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
1
+ {"version":3,"file":"toolExploreRepoArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,6BAA6B,QAU/B,CAAC;AAEZ,eAAO,MAAM,yBAAyB;;;iBAYpC,CAAC;AAEH,eAAO,MAAM,sCAAsC;;iBAMjD,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKtC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toolExploreRepoOutputSchema = exports.toolExploreRepoArgsSchema = exports.TOOL_EXPLORE_REPO_DESCRIPTION = void 0;
3
+ exports.toolExploreRepoOutputSchema = exports.toolExploreRepoStructuredContentSchema = exports.toolExploreRepoArgsSchema = exports.TOOL_EXPLORE_REPO_DESCRIPTION = void 0;
4
4
  const zod_1 = require("zod");
5
+ const outputMetadata_1 = require("../outputMetadata");
5
6
  exports.TOOL_EXPLORE_REPO_DESCRIPTION = [
6
7
  'Read-only access to source code via a real bash shell restricted to a read-only command set, over a single virtual filesystem that mounts every repository this organization can access.',
7
8
  'The dbt project is mounted at `/dbt` (its files at the top, e.g. `/dbt/dbt_project.yml`, `/dbt/models`). Every other accessible repository is mounted whole on its default branch at `/<owner>/<repo>` (e.g. `/lightdash/lightdash`). Run `ls /` to see what is mounted, or use `discoverRepos` to list repositories. Do NOT ask the user to connect the GitHub MCP for this.',
@@ -22,10 +23,15 @@ exports.toolExploreRepoArgsSchema = zod_1.z.object({
22
23
  .nullable()
23
24
  .describe('Optional starting directory, as a repository "owner/repo" (e.g. "lightdash/lightdash") — the command then starts in that repository\'s mount (`/owner/repo`). Use `discoverRepos` to find accessible repos. Pass null to start in the dbt project mount (`/dbt`). This only sets the working directory; absolute paths in the command can reach any mount regardless of target.'),
24
25
  });
25
- exports.toolExploreRepoOutputSchema = zod_1.z.object({
26
- result: zod_1.z.string(),
26
+ exports.toolExploreRepoStructuredContentSchema = zod_1.z.object({
27
+ output: zod_1.z
28
+ .string()
29
+ .describe('The command output exactly as shown in `result`: stdout (clamped to the output limit), followed by any stderr diagnostic and truncation notes.'),
30
+ });
31
+ exports.toolExploreRepoOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
27
32
  metadata: zod_1.z.object({
28
33
  status: zod_1.z.enum(['success', 'error']),
29
34
  }),
35
+ structuredContent: exports.toolExploreRepoStructuredContentSchema,
30
36
  });
31
37
  //# sourceMappingURL=toolExploreRepoArgs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolExploreRepoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,6BAA6B,GAAG;IACzC,0LAA0L;IAC1L,+WAA+W;IAC/W,oNAAoN;IACpN,oNAAoN;IACpN,yJAAyJ;IACzJ,yUAAyU;IACzU,8EAA8E;IAC9E,yWAAyW;IACzW,kLAAkL;CACrL,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,0ZAA0Z,CAC7Z;IACL,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,iXAAiX,CACpX;CACR,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KACvC,CAAC;CACL,CAAC,CAAC"}
1
+ {"version":3,"file":"toolExploreRepoArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolExploreRepoArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAA+D;AAElD,QAAA,6BAA6B,GAAG;IACzC,0LAA0L;IAC1L,+WAA+W;IAC/W,oNAAoN;IACpN,oNAAoN;IACpN,yJAAyJ;IACzJ,yUAAyU;IACzU,8EAA8E;IAC9E,yWAAyW;IACzW,kLAAkL;CACrL,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,0ZAA0Z,CAC7Z;IACL,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,iXAAiX,CACpX;CACR,CAAC,CAAC;AAEU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,gJAAgJ,CACnJ;CACR,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,IAAA,2CAA0B,EAAC;IAClE,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;KACvC,CAAC;IACF,iBAAiB,EAAE,QAAA,sCAAsC;CAC5D,CAAC,CAAC"}
@@ -16,14 +16,104 @@ export declare const toolFindChartsArgsSchemaTransformed: z.ZodObject<{
16
16
  page: z.ZodNullable<z.ZodNumber>;
17
17
  }, z.core.$strip>;
18
18
  export type ToolFindChartsArgsTransformed = ToolFindChartsArgs;
19
- export declare const toolFindChartsOutputSchema: z.ZodObject<{
19
+ export declare const toolFindChartsStructuredContentSchema: z.ZodObject<{
20
+ searchResults: z.ZodArray<z.ZodObject<{
21
+ searchQuery: z.ZodString;
22
+ charts: z.ZodArray<z.ZodObject<{
23
+ contentType: z.ZodLiteral<"chart">;
24
+ uuid: z.ZodString;
25
+ name: z.ZodString;
26
+ slug: z.ZodString;
27
+ searchRank: z.ZodNumber;
28
+ chartType: z.ZodString;
29
+ chartSource: z.ZodEnum<{
30
+ saved: "saved";
31
+ sql: "sql";
32
+ }>;
33
+ spaceUuid: z.ZodString;
34
+ viewsCount: z.ZodNumber;
35
+ href: z.ZodString;
36
+ space: z.ZodObject<{
37
+ uuid: z.ZodString;
38
+ name: z.ZodString;
39
+ slug: z.ZodString;
40
+ breadcrumb: z.ZodString;
41
+ }, z.core.$strip>;
42
+ description: z.ZodNullable<z.ZodString>;
43
+ verification: z.ZodNullable<z.ZodObject<{
44
+ verifiedBy: z.ZodString;
45
+ verifiedAt: z.ZodString;
46
+ }, z.core.$strip>>;
47
+ firstViewedAt: z.ZodNullable<z.ZodString>;
48
+ lastModified: z.ZodNullable<z.ZodString>;
49
+ createdBy: z.ZodNullable<z.ZodString>;
50
+ lastUpdatedBy: z.ZodNullable<z.ZodString>;
51
+ }, z.core.$strip>>;
52
+ }, z.core.$strip>>;
53
+ }, z.core.$strip>;
54
+ export declare const toolFindChartsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
20
55
  result: z.ZodString;
21
- metadata: z.ZodObject<{
56
+ metadata: z.ZodIntersection<z.ZodObject<{
22
57
  status: z.ZodEnum<{
23
58
  error: "error";
24
59
  success: "success";
25
60
  }>;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ status: z.ZodEnum<{
63
+ success: "success";
64
+ }>;
65
+ }, z.core.$strip>>;
66
+ structuredContent: z.ZodObject<{
67
+ searchResults: z.ZodArray<z.ZodObject<{
68
+ searchQuery: z.ZodString;
69
+ charts: z.ZodArray<z.ZodObject<{
70
+ contentType: z.ZodLiteral<"chart">;
71
+ uuid: z.ZodString;
72
+ name: z.ZodString;
73
+ slug: z.ZodString;
74
+ searchRank: z.ZodNumber;
75
+ chartType: z.ZodString;
76
+ chartSource: z.ZodEnum<{
77
+ saved: "saved";
78
+ sql: "sql";
79
+ }>;
80
+ spaceUuid: z.ZodString;
81
+ viewsCount: z.ZodNumber;
82
+ href: z.ZodString;
83
+ space: z.ZodObject<{
84
+ uuid: z.ZodString;
85
+ name: z.ZodString;
86
+ slug: z.ZodString;
87
+ breadcrumb: z.ZodString;
88
+ }, z.core.$strip>;
89
+ description: z.ZodNullable<z.ZodString>;
90
+ verification: z.ZodNullable<z.ZodObject<{
91
+ verifiedBy: z.ZodString;
92
+ verifiedAt: z.ZodString;
93
+ }, z.core.$strip>>;
94
+ firstViewedAt: z.ZodNullable<z.ZodString>;
95
+ lastModified: z.ZodNullable<z.ZodString>;
96
+ createdBy: z.ZodNullable<z.ZodString>;
97
+ lastUpdatedBy: z.ZodNullable<z.ZodString>;
98
+ }, z.core.$strip>>;
99
+ }, z.core.$strip>>;
26
100
  }, z.core.$strip>;
27
- }, z.core.$strip>;
101
+ }, z.core.$strip>, z.ZodObject<{
102
+ result: z.ZodString;
103
+ metadata: z.ZodIntersection<z.ZodObject<{
104
+ status: z.ZodEnum<{
105
+ error: "error";
106
+ success: "success";
107
+ }>;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ status: z.ZodEnum<{
110
+ error: "error";
111
+ }>;
112
+ }, z.core.$strip>>;
113
+ structuredContent: z.ZodObject<{
114
+ error: z.ZodString;
115
+ }, z.core.$strip>;
116
+ }, z.core.$strip>]>;
117
+ export type ToolFindChartsStructuredContent = z.infer<typeof toolFindChartsStructuredContentSchema>;
28
118
  export type ToolFindChartsOutput = z.infer<typeof toolFindChartsOutputSchema>;
29
119
  //# sourceMappingURL=toolFindChartsArgs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toolFindChartsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolFindChartsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK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