@sisense/sdk-ai-core 0.17.0 → 0.60.1

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 (167) hide show
  1. package/dist/__vite-browser-external-l0sNRNKZ.js +1 -0
  2. package/dist/constants.d.ts +35 -0
  3. package/dist/engines/atomic-handle-args.d.ts +45 -0
  4. package/dist/engines/atomic-tool-requirements.d.ts +38 -0
  5. package/dist/engines/author-pulse/actions/create.d.ts +9 -0
  6. package/dist/engines/author-pulse/actions/define.d.ts +9 -0
  7. package/dist/engines/author-pulse/actions/load-existing.d.ts +9 -0
  8. package/dist/engines/author-pulse/actions/redefine.d.ts +9 -0
  9. package/dist/engines/author-pulse/actions/set-receive-notifications.d.ts +8 -0
  10. package/dist/engines/author-pulse/actions/update-spec.d.ts +11 -0
  11. package/dist/engines/author-pulse/actions/update-workflow.d.ts +9 -0
  12. package/dist/engines/author-pulse/atomic-adapter.d.ts +10 -0
  13. package/dist/engines/author-pulse/atomic-tools.d.ts +362 -0
  14. package/dist/engines/author-pulse/author-pulse-engine.d.ts +21 -0
  15. package/dist/engines/author-pulse/index.d.ts +9 -0
  16. package/dist/engines/author-pulse/shared/adjustment-error.d.ts +15 -0
  17. package/dist/engines/author-pulse/shared/assemble-create-workflow-payload.d.ts +36 -0
  18. package/dist/engines/author-pulse/shared/assert-agentic-workflow.d.ts +12 -0
  19. package/dist/engines/author-pulse/shared/compile-query-from-prompt.d.ts +95 -0
  20. package/dist/engines/author-pulse/shared/decision-spec-validation.d.ts +84 -0
  21. package/dist/engines/author-pulse/shared/notification-urls.d.ts +52 -0
  22. package/dist/engines/author-pulse/shared/pulse-knowledge.d.ts +36 -0
  23. package/dist/engines/author-pulse/shared/pulse-signature.d.ts +39 -0
  24. package/dist/engines/author-pulse/shared/resolve-frequency.d.ts +18 -0
  25. package/dist/engines/author-pulse/shared/staging.d.ts +65 -0
  26. package/dist/engines/author-pulse/shared/workflow-ownership.d.ts +14 -0
  27. package/dist/engines/author-pulse/types.d.ts +1385 -0
  28. package/dist/engines/build-chart/atomic-adapter.d.ts +20 -0
  29. package/dist/engines/build-chart/atomic-tools.d.ts +214 -0
  30. package/dist/engines/build-chart/build-chart-engine.d.ts +1 -1
  31. package/dist/engines/build-chart/chart-tool-name.d.ts +3 -0
  32. package/dist/engines/build-chart/create-chart/assemble-chart-widget.d.ts +1 -1
  33. package/dist/engines/build-chart/create-chart/chart-json-axes-mapping.d.ts +1 -1
  34. package/dist/engines/build-chart/create-chart/create-chart.d.ts +1 -1
  35. package/dist/engines/build-chart/create-chart/derive-chart-title.d.ts +7 -0
  36. package/dist/engines/build-chart/create-chart/generate-chart-recommendations.d.ts +2 -2
  37. package/dist/engines/build-chart/create-chart/resolve-chart-query.d.ts +4 -0
  38. package/dist/engines/build-chart/shared/normalize-cartesian-axes-mapping.d.ts +1 -1
  39. package/dist/engines/build-chart/shared/sync-chart-state-measure-flags.d.ts +3 -0
  40. package/dist/engines/build-chart/types.d.ts +38 -19
  41. package/dist/engines/build-chart/update-chart/apply-prior-chart-style.d.ts +8 -5
  42. package/dist/engines/build-chart/update-chart/chart-options-schemas.d.ts +18 -18
  43. package/dist/engines/build-chart/update-chart/schemas.d.ts +2 -2
  44. package/dist/engines/build-chart/update-chart/update-chart-data-options.d.ts +7 -2
  45. package/dist/engines/build-chart/update-chart/update-chart-query.d.ts +1 -1
  46. package/dist/engines/build-chart/update-chart/update-chart-style-options.d.ts +7 -2
  47. package/dist/engines/build-chart/update-chart/update-chart-title.d.ts +1 -1
  48. package/dist/engines/build-chart/update-chart/update-chart-type.d.ts +7 -2
  49. package/dist/engines/build-csv-model/build-csv-model-engine.d.ts +1 -1
  50. package/dist/engines/build-csv-model/types.d.ts +1 -1
  51. package/dist/engines/build-dashboard/add-dashboard-narration.d.ts +50 -0
  52. package/dist/engines/build-dashboard/add-dashboard-widgets.d.ts +1 -1
  53. package/dist/engines/build-dashboard/atomic-adapter.d.ts +21 -0
  54. package/dist/engines/build-dashboard/atomic-tools.d.ts +231 -0
  55. package/dist/engines/build-dashboard/build-dashboard-engine.d.ts +1 -1
  56. package/dist/engines/build-dashboard/build-dashboard-service.d.ts +2 -1
  57. package/dist/engines/build-dashboard/create-dashboard.d.ts +3 -4
  58. package/dist/engines/build-dashboard/dashboard-filters/manipulate-dashboard-filters.d.ts +2 -1
  59. package/dist/engines/build-dashboard/dashboard-filters/translate-filters.d.ts +17 -1
  60. package/dist/engines/build-dashboard/index.d.ts +2 -0
  61. package/dist/engines/build-dashboard/layout/place-widget.d.ts +53 -0
  62. package/dist/engines/build-dashboard/load-existing-fusion-dashboard.d.ts +1 -1
  63. package/dist/engines/build-dashboard/remove-dashboard-widgets.d.ts +4 -0
  64. package/dist/engines/build-dashboard/resolve-chart-widgets.d.ts +16 -0
  65. package/dist/engines/build-dashboard/types.d.ts +180 -18
  66. package/dist/engines/build-data-model/build-data-model-engine.d.ts +1 -1
  67. package/dist/engines/build-data-model/types.d.ts +1 -1
  68. package/dist/engines/build-query/build-query-engine.d.ts +33 -5
  69. package/dist/engines/build-query/index.d.ts +1 -1
  70. package/dist/engines/build-query/types.d.ts +216 -3
  71. package/dist/engines/build-status/build-status-engine.d.ts +8 -0
  72. package/dist/engines/build-status/builds-client.d.ts +44 -0
  73. package/dist/engines/build-status/index.d.ts +2 -0
  74. package/dist/engines/build-status/types.d.ts +177 -0
  75. package/dist/engines/datamodel-graph/data-model-map-text.d.ts +28 -0
  76. package/dist/engines/datamodel-graph/datamodel-graph-engine.d.ts +31 -0
  77. package/dist/engines/datamodel-graph/index.d.ts +4 -0
  78. package/dist/engines/datamodel-graph/summaries.d.ts +97 -0
  79. package/dist/engines/datamodel-graph/test-fixtures.d.ts +42 -0
  80. package/dist/engines/datamodel-graph/types.d.ts +190 -0
  81. package/dist/engines/evaluate-pulse/evaluate-pulse-engine.d.ts +10 -0
  82. package/dist/engines/evaluate-pulse/index.d.ts +2 -0
  83. package/dist/engines/evaluate-pulse/types.d.ts +85 -0
  84. package/dist/engines/get-dashboard-narration/get-dashboard-narration-engine.d.ts +23 -0
  85. package/dist/engines/get-dashboard-narration/index.d.ts +2 -0
  86. package/dist/engines/get-dashboard-narration/types.d.ts +64 -0
  87. package/dist/engines/get-dashboards/get-dashboards-engine.d.ts +1 -1
  88. package/dist/engines/get-dashboards/types.d.ts +16 -4
  89. package/dist/engines/get-data-preview/get-data-preview-engine.d.ts +18 -0
  90. package/dist/engines/get-data-preview/index.d.ts +2 -0
  91. package/dist/engines/get-data-preview/types.d.ts +35 -0
  92. package/dist/engines/get-data-source-fields/get-data-source-fields-engine.d.ts +12 -6
  93. package/dist/engines/get-data-source-fields/index.d.ts +1 -0
  94. package/dist/engines/get-data-source-fields/model-relations.d.ts +38 -0
  95. package/dist/engines/get-data-source-fields/types.d.ts +49 -3
  96. package/dist/engines/get-data-sources/get-data-sources-engine.d.ts +1 -1
  97. package/dist/engines/get-data-sources/types.d.ts +2 -2
  98. package/dist/engines/index.d.ts +17 -0
  99. package/dist/engines/inspect-pulse/atomic-adapter.d.ts +8 -0
  100. package/dist/engines/inspect-pulse/atomic-tools.d.ts +60 -0
  101. package/dist/engines/inspect-pulse/index.d.ts +4 -0
  102. package/dist/engines/inspect-pulse/inspect-pulse-engine.d.ts +7 -0
  103. package/dist/engines/inspect-pulse/types.d.ts +209 -0
  104. package/dist/engines/manage-perspectives/manage-perspectives-engine.d.ts +5 -1
  105. package/dist/engines/manage-perspectives/types.d.ts +13 -8
  106. package/dist/engines/pulse-tool-words.d.ts +62 -0
  107. package/dist/engines/recommend-queries/recommend-queries-engine.d.ts +1 -1
  108. package/dist/engines/recommend-queries/types.d.ts +1 -1
  109. package/dist/engines/shared/existing-answer-cascade.d.ts +52 -0
  110. package/dist/engines/shared/get-filters-json-for-llm-summary.d.ts +2 -2
  111. package/dist/engines/shared/nlq-query-helpers.d.ts +2 -2
  112. package/dist/engines/shared/project-dashboard-json.d.ts +151 -0
  113. package/dist/engines/shared/project-widget-json.d.ts +67 -0
  114. package/dist/engines/shared/projection-helpers.d.ts +19 -0
  115. package/dist/engines/shared/redact-data-models-closed-to-ai.d.ts +55 -0
  116. package/dist/engines/shared/redact-hidden-columns-from-ai.d.ts +55 -0
  117. package/dist/index.d.ts +20 -0
  118. package/dist/index.js +57916 -30543
  119. package/dist/services/ai-access/ai-access-service.d.ts +68 -0
  120. package/dist/services/dashboards/dashboards-service.d.ts +9 -3
  121. package/dist/services/dashboards/fusion-dashboards-service.d.ts +34 -4
  122. package/dist/services/data-sources/data-sources-service.d.ts +131 -2
  123. package/dist/services/data-sources/find-data-source-by-title.d.ts +8 -0
  124. package/dist/services/datamodel-graph/datamodel-graph-service.d.ts +457 -0
  125. package/dist/services/existing-answer/existing-answer-query-service.d.ts +31 -0
  126. package/dist/services/formulas/formulas-service.d.ts +19 -0
  127. package/dist/services/hide-from-ai/hide-from-ai.d.ts +31 -0
  128. package/dist/services/knowledge-graph/knowledge-graph-service.d.ts +96 -0
  129. package/dist/services/llm/llm-consumption-service.d.ts +7 -2
  130. package/dist/services/llm/llm-settings-service.d.ts +49 -5
  131. package/dist/services/nlq/nlq-preview-dataset.d.ts +34 -0
  132. package/dist/services/nlq/nlq-service.d.ts +138 -3
  133. package/dist/services/pulse/evaluate-pulse-client.d.ts +78 -0
  134. package/dist/services/pulse/pulse-alerts-service.d.ts +264 -0
  135. package/dist/services/pulse/pulse-events-service.d.ts +217 -0
  136. package/dist/services/semantic-search/semantic-search-service.d.ts +43 -0
  137. package/dist/services/tool-store/tool-store-service.d.ts +32 -0
  138. package/dist/services/users-groups-service.d.ts +37 -0
  139. package/dist/skills/index.d.ts +127 -0
  140. package/dist/tool-availability/controlled-tools.d.ts +56 -0
  141. package/dist/tool-availability/index.d.ts +4 -0
  142. package/dist/tool-availability/offer-tools.d.ts +44 -0
  143. package/dist/tool-availability/resolve-tool-availability.d.ts +68 -0
  144. package/dist/tool-availability/withdrawn-text.d.ts +33 -0
  145. package/dist/tool-catalog/catalog.d.ts +387 -0
  146. package/dist/tool-catalog/index.d.ts +3 -0
  147. package/dist/tool-catalog/manifest.d.ts +5 -0
  148. package/dist/tool-catalog/prototype-lookup.d.ts +10 -0
  149. package/dist/tool-catalog/types.d.ts +67 -0
  150. package/dist/tools.manifest.json +826 -0
  151. package/dist/utils/chat-stream-errors.d.ts +42 -0
  152. package/dist/utils/create-custom-fetch.d.ts +19 -1
  153. package/dist/utils/create-stream-completion.d.ts +84 -6
  154. package/dist/utils/create-structured-completion.d.ts +29 -2
  155. package/dist/utils/create-tools-completion.d.ts +9 -0
  156. package/dist/utils/deferred-tools.d.ts +45 -0
  157. package/dist/utils/dev-debug.d.ts +5 -0
  158. package/dist/utils/generate-suggestions.d.ts +32 -0
  159. package/dist/utils/http-client.d.ts +3 -1
  160. package/dist/utils/llm-call-observer.d.ts +83 -0
  161. package/dist/utils/llm-client.d.ts +11 -1
  162. package/dist/utils/quoted-text.d.ts +6 -0
  163. package/dist/utils/server-error-body.d.ts +23 -0
  164. package/dist/utils/text-tokens.d.ts +35 -0
  165. package/dist/utils/user-action-tracking.d.ts +48 -5
  166. package/dist/utils/zod-utils.d.ts +9 -1
  167. package/package.json +28 -19
@@ -1,5 +1,5 @@
1
1
  import { ChartType } from '@sisense/sdk-ui';
2
- import { z } from 'zod/v4';
2
+ import { z } from 'zod';
3
3
  export declare const LineChartStyleSchema: z.ZodObject<{
4
4
  line: z.ZodOptional<z.ZodObject<{
5
5
  width: z.ZodOptional<z.ZodNumber>;
@@ -1144,8 +1144,8 @@ export declare function getChartStyleOptionsSchema(chartType: ChartType): z.ZodO
1144
1144
  chartType: z.ZodEnum<{
1145
1145
  area: "area";
1146
1146
  table: "table";
1147
- indicator: "indicator";
1148
1147
  column: "column";
1148
+ indicator: "indicator";
1149
1149
  line: "line";
1150
1150
  pie: "pie";
1151
1151
  bar: "bar";
@@ -1283,11 +1283,11 @@ export declare const dataOptionsEditingSchemas: {
1283
1283
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1284
1284
  showOnRightAxis: z.ZodBoolean;
1285
1285
  totalsCalculation: z.ZodEnum<{
1286
+ count: "count";
1286
1287
  min: "min";
1287
1288
  max: "max";
1288
1289
  sum: "sum";
1289
1290
  avg: "avg";
1290
- count: "count";
1291
1291
  }>;
1292
1292
  treatNullDataAsZeros: z.ZodBoolean;
1293
1293
  trend: z.ZodOptional<z.ZodObject<{
@@ -1400,11 +1400,11 @@ export declare const cartesianDataOptionsEditingSchemas: z.ZodObject<{
1400
1400
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1401
1401
  showOnRightAxis: z.ZodBoolean;
1402
1402
  totalsCalculation: z.ZodEnum<{
1403
+ count: "count";
1403
1404
  min: "min";
1404
1405
  max: "max";
1405
1406
  sum: "sum";
1406
1407
  avg: "avg";
1407
- count: "count";
1408
1408
  }>;
1409
1409
  treatNullDataAsZeros: z.ZodBoolean;
1410
1410
  trend: z.ZodOptional<z.ZodObject<{
@@ -1563,11 +1563,11 @@ export declare const categoricalDataOptionsEditingSchemas: z.ZodObject<{
1563
1563
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1564
1564
  showOnRightAxis: z.ZodBoolean;
1565
1565
  totalsCalculation: z.ZodEnum<{
1566
+ count: "count";
1566
1567
  min: "min";
1567
1568
  max: "max";
1568
1569
  sum: "sum";
1569
1570
  avg: "avg";
1570
- count: "count";
1571
1571
  }>;
1572
1572
  treatNullDataAsZeros: z.ZodBoolean;
1573
1573
  trend: z.ZodOptional<z.ZodObject<{
@@ -1681,11 +1681,11 @@ export declare const scatterChartDataOptionsEditingSchemas: z.ZodObject<{
1681
1681
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1682
1682
  showOnRightAxis: z.ZodBoolean;
1683
1683
  totalsCalculation: z.ZodEnum<{
1684
+ count: "count";
1684
1685
  min: "min";
1685
1686
  max: "max";
1686
1687
  sum: "sum";
1687
1688
  avg: "avg";
1688
- count: "count";
1689
1689
  }>;
1690
1690
  treatNullDataAsZeros: z.ZodBoolean;
1691
1691
  trend: z.ZodOptional<z.ZodObject<{
@@ -1751,11 +1751,11 @@ export declare const scatterChartDataOptionsEditingSchemas: z.ZodObject<{
1751
1751
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1752
1752
  showOnRightAxis: z.ZodBoolean;
1753
1753
  totalsCalculation: z.ZodEnum<{
1754
+ count: "count";
1754
1755
  min: "min";
1755
1756
  max: "max";
1756
1757
  sum: "sum";
1757
1758
  avg: "avg";
1758
- count: "count";
1759
1759
  }>;
1760
1760
  treatNullDataAsZeros: z.ZodBoolean;
1761
1761
  trend: z.ZodOptional<z.ZodObject<{
@@ -1821,11 +1821,11 @@ export declare const scatterChartDataOptionsEditingSchemas: z.ZodObject<{
1821
1821
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1822
1822
  showOnRightAxis: z.ZodBoolean;
1823
1823
  totalsCalculation: z.ZodEnum<{
1824
+ count: "count";
1824
1825
  min: "min";
1825
1826
  max: "max";
1826
1827
  sum: "sum";
1827
1828
  avg: "avg";
1828
- count: "count";
1829
1829
  }>;
1830
1830
  treatNullDataAsZeros: z.ZodBoolean;
1831
1831
  trend: z.ZodOptional<z.ZodObject<{
@@ -1936,11 +1936,11 @@ export declare const scatterChartDataOptionsEditingSchemas: z.ZodObject<{
1936
1936
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
1937
1937
  showOnRightAxis: z.ZodBoolean;
1938
1938
  totalsCalculation: z.ZodEnum<{
1939
+ count: "count";
1939
1940
  min: "min";
1940
1941
  max: "max";
1941
1942
  sum: "sum";
1942
1943
  avg: "avg";
1943
- count: "count";
1944
1944
  }>;
1945
1945
  treatNullDataAsZeros: z.ZodBoolean;
1946
1946
  trend: z.ZodOptional<z.ZodObject<{
@@ -2009,11 +2009,11 @@ export declare const indicatorDataOptionsEditingSchemas: z.ZodObject<{
2009
2009
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2010
2010
  showOnRightAxis: z.ZodBoolean;
2011
2011
  totalsCalculation: z.ZodEnum<{
2012
+ count: "count";
2012
2013
  min: "min";
2013
2014
  max: "max";
2014
2015
  sum: "sum";
2015
2016
  avg: "avg";
2016
- count: "count";
2017
2017
  }>;
2018
2018
  treatNullDataAsZeros: z.ZodBoolean;
2019
2019
  trend: z.ZodOptional<z.ZodObject<{
@@ -2079,11 +2079,11 @@ export declare const indicatorDataOptionsEditingSchemas: z.ZodObject<{
2079
2079
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2080
2080
  showOnRightAxis: z.ZodBoolean;
2081
2081
  totalsCalculation: z.ZodEnum<{
2082
+ count: "count";
2082
2083
  min: "min";
2083
2084
  max: "max";
2084
2085
  sum: "sum";
2085
2086
  avg: "avg";
2086
- count: "count";
2087
2087
  }>;
2088
2088
  treatNullDataAsZeros: z.ZodBoolean;
2089
2089
  trend: z.ZodOptional<z.ZodObject<{
@@ -2149,11 +2149,11 @@ export declare const indicatorDataOptionsEditingSchemas: z.ZodObject<{
2149
2149
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2150
2150
  showOnRightAxis: z.ZodBoolean;
2151
2151
  totalsCalculation: z.ZodEnum<{
2152
+ count: "count";
2152
2153
  min: "min";
2153
2154
  max: "max";
2154
2155
  sum: "sum";
2155
2156
  avg: "avg";
2156
- count: "count";
2157
2157
  }>;
2158
2158
  treatNullDataAsZeros: z.ZodBoolean;
2159
2159
  trend: z.ZodOptional<z.ZodObject<{
@@ -2219,11 +2219,11 @@ export declare const indicatorDataOptionsEditingSchemas: z.ZodObject<{
2219
2219
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2220
2220
  showOnRightAxis: z.ZodBoolean;
2221
2221
  totalsCalculation: z.ZodEnum<{
2222
+ count: "count";
2222
2223
  min: "min";
2223
2224
  max: "max";
2224
2225
  sum: "sum";
2225
2226
  avg: "avg";
2226
- count: "count";
2227
2227
  }>;
2228
2228
  treatNullDataAsZeros: z.ZodBoolean;
2229
2229
  trend: z.ZodOptional<z.ZodObject<{
@@ -2342,11 +2342,11 @@ export declare const boxplotDataOptionsEditingSchemas: z.ZodObject<{
2342
2342
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2343
2343
  showOnRightAxis: z.ZodBoolean;
2344
2344
  totalsCalculation: z.ZodEnum<{
2345
+ count: "count";
2345
2346
  min: "min";
2346
2347
  max: "max";
2347
2348
  sum: "sum";
2348
2349
  avg: "avg";
2349
- count: "count";
2350
2350
  }>;
2351
2351
  treatNullDataAsZeros: z.ZodBoolean;
2352
2352
  trend: z.ZodOptional<z.ZodObject<{
@@ -2414,11 +2414,11 @@ export declare const scattermapDataOptionsEditingSchemas: z.ZodObject<{
2414
2414
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2415
2415
  showOnRightAxis: z.ZodBoolean;
2416
2416
  totalsCalculation: z.ZodEnum<{
2417
+ count: "count";
2417
2418
  min: "min";
2418
2419
  max: "max";
2419
2420
  sum: "sum";
2420
2421
  avg: "avg";
2421
- count: "count";
2422
2422
  }>;
2423
2423
  treatNullDataAsZeros: z.ZodBoolean;
2424
2424
  trend: z.ZodOptional<z.ZodObject<{
@@ -2574,11 +2574,11 @@ export declare const scattermapDataOptionsEditingSchemas: z.ZodObject<{
2574
2574
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2575
2575
  showOnRightAxis: z.ZodBoolean;
2576
2576
  totalsCalculation: z.ZodEnum<{
2577
+ count: "count";
2577
2578
  min: "min";
2578
2579
  max: "max";
2579
2580
  sum: "sum";
2580
2581
  avg: "avg";
2581
- count: "count";
2582
2582
  }>;
2583
2583
  treatNullDataAsZeros: z.ZodBoolean;
2584
2584
  trend: z.ZodOptional<z.ZodObject<{
@@ -2646,11 +2646,11 @@ export declare const areamapDataOptionsEditingSchemas: z.ZodObject<{
2646
2646
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2647
2647
  showOnRightAxis: z.ZodBoolean;
2648
2648
  totalsCalculation: z.ZodEnum<{
2649
+ count: "count";
2649
2650
  min: "min";
2650
2651
  max: "max";
2651
2652
  sum: "sum";
2652
2653
  avg: "avg";
2653
- count: "count";
2654
2654
  }>;
2655
2655
  treatNullDataAsZeros: z.ZodBoolean;
2656
2656
  trend: z.ZodOptional<z.ZodObject<{
@@ -2808,11 +2808,11 @@ export declare const calendarHeatmapDataOptionsEditingSchemas: z.ZodObject<{
2808
2808
  seriesStyleOptions: z.ZodObject<{}, z.core.$strip>;
2809
2809
  showOnRightAxis: z.ZodBoolean;
2810
2810
  totalsCalculation: z.ZodEnum<{
2811
+ count: "count";
2811
2812
  min: "min";
2812
2813
  max: "max";
2813
2814
  sum: "sum";
2814
2815
  avg: "avg";
2815
- count: "count";
2816
2816
  }>;
2817
2817
  treatNullDataAsZeros: z.ZodBoolean;
2818
2818
  trend: z.ZodOptional<z.ZodObject<{
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/v4';
1
+ import { z } from 'zod';
2
2
  export declare const AxisLabelSchema: z.ZodObject<{
3
3
  enabled: z.ZodOptional<z.ZodBoolean>;
4
4
  gridLines: z.ZodOptional<z.ZodBoolean>;
@@ -181,9 +181,9 @@ export declare const LineStyleOptionsSchema: z.ZodObject<{
181
181
  legend: z.ZodOptional<z.ZodObject<{
182
182
  enabled: z.ZodBoolean;
183
183
  position: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
184
+ top: "top";
184
185
  left: "left";
185
186
  right: "right";
186
- top: "top";
187
187
  bottom: "bottom";
188
188
  }>>>;
189
189
  }, z.core.$strip>>;
@@ -1,9 +1,14 @@
1
+ import { LanguageModel } from 'ai';
1
2
  import { BuildChartContext, ExtendedChartWidgetProps, updateChartSchema } from '../types';
2
- import { z } from 'zod/v4';
3
+ import { z } from 'zod';
3
4
  type UpdateChartDataOptionsHelperParams = {
4
5
  systemPrompt: string;
5
6
  userPrompt: string;
6
7
  chartWidgetProps: ExtendedChartWidgetProps;
8
+ /** Sent as `x-tool-name`; see `chartToolName`. */
9
+ toolName?: string;
10
+ /** The caller's model; the global one only when absent (SNS-135386). */
11
+ llmClient?: LanguageModel;
7
12
  };
8
13
  /**
9
14
  * Builds a system prompt for chart data options editing.
@@ -20,7 +25,7 @@ export declare const buildSystemPromptForDataOptions: (chartWidgetProps: Extende
20
25
  * @param chartWidgetProps - The chart widget props to update the chart data options for.
21
26
  * @returns The updated chart.
22
27
  */
23
- export declare const updateChartDataOptionsHelper: ({ systemPrompt, userPrompt, chartWidgetProps, }: UpdateChartDataOptionsHelperParams) => Promise<ExtendedChartWidgetProps>;
28
+ export declare const updateChartDataOptionsHelper: ({ systemPrompt, userPrompt, chartWidgetProps, toolName, llmClient, }: UpdateChartDataOptionsHelperParams) => Promise<ExtendedChartWidgetProps>;
24
29
  export declare const updateChartDataOptions: ({ chartId, userPrompt }: z.infer<typeof updateChartSchema>, systemPrompt: string, context: BuildChartContext) => Promise<{
25
30
  message: string;
26
31
  }>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/v4';
1
+ import { z } from 'zod';
2
2
  import { BuildChartContext, updateChartQuerySchema } from '../types';
3
3
  export declare const updateChartQuery: ({ revisionPrompt, chartId }: z.infer<typeof updateChartQuerySchema>, context: BuildChartContext) => Promise<{
4
4
  message: string;
@@ -1,8 +1,13 @@
1
- import { z } from 'zod/v4';
1
+ import { LanguageModel } from 'ai';
2
+ import { z } from 'zod';
2
3
  import { BuildChartContext, ExtendedChartWidgetProps, updateChartSchema } from '../types';
3
4
  type UpdateChartStyleOptionsHelperParams = {
4
5
  userPrompt: string;
5
6
  chartWidgetProps: ExtendedChartWidgetProps;
7
+ /** Sent as `x-tool-name`; see `chartToolName`. */
8
+ toolName?: string;
9
+ /** The caller's model; the global one only when absent (SNS-135386). */
10
+ llmClient?: LanguageModel;
6
11
  };
7
12
  /**
8
13
  * Updates chart style options based on the user's prompt.
@@ -10,7 +15,7 @@ type UpdateChartStyleOptionsHelperParams = {
10
15
  * @param chartWidgetProps - The chart widget props to update the chart style options for.
11
16
  * @returns The updated chart.
12
17
  */
13
- export declare const updateChartStyleOptionsHelper: ({ userPrompt, chartWidgetProps, }: UpdateChartStyleOptionsHelperParams) => Promise<ExtendedChartWidgetProps>;
18
+ export declare const updateChartStyleOptionsHelper: ({ userPrompt, chartWidgetProps, toolName, llmClient, }: UpdateChartStyleOptionsHelperParams) => Promise<ExtendedChartWidgetProps>;
14
19
  export declare const updateChartStyleOptions: ({ chartId, userPrompt }: z.infer<typeof updateChartSchema>, context: BuildChartContext) => Promise<{
15
20
  message: string;
16
21
  }>;
@@ -1,4 +1,4 @@
1
- import { default as z } from 'zod/v4';
1
+ import { default as z } from 'zod';
2
2
  import { BuildChartContext, ExtendedChartWidgetProps, updateChartTitleSchema } from '../types';
3
3
  type UpdateChartTitleHelperParams = {
4
4
  chartTitle: string;
@@ -1,12 +1,17 @@
1
+ import { LanguageModel } from 'ai';
1
2
  import { ChartType } from '@sisense/sdk-ui';
2
3
  import { ExtendedChartWidgetProps, BuildChartContext, updateChartTypeSchema } from '../types';
3
- import { default as z } from 'zod/v4';
4
+ import { default as z } from 'zod';
4
5
  type UpdateChartTypeHelperParams = {
5
6
  userPrompt: string;
6
7
  chartType: ChartType;
7
8
  chartWidgetProps: ExtendedChartWidgetProps;
9
+ /** Sent as `x-tool-name`; see `chartToolName`. */
10
+ toolName?: string;
11
+ /** The caller's model; the global one only when absent (SNS-135386). */
12
+ llmClient?: LanguageModel;
8
13
  };
9
- export declare const updateChartTypeHelper: ({ userPrompt, chartType, chartWidgetProps, }: UpdateChartTypeHelperParams) => Promise<ExtendedChartWidgetProps>;
14
+ export declare const updateChartTypeHelper: ({ userPrompt, chartType, chartWidgetProps, toolName, llmClient, }: UpdateChartTypeHelperParams) => Promise<ExtendedChartWidgetProps>;
10
15
  export declare const updateChartType: ({ chartId, userPrompt, chartType }: z.infer<typeof updateChartTypeSchema>, context: BuildChartContext) => Promise<{
11
16
  message: string;
12
17
  }>;
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/v4';
1
+ import { z } from 'zod';
2
2
  import { buildCsvModelParamsSchema, BuildCsvModelResult, BuiltRelation, BuiltTable, CsvModelEngineContext } from './types';
3
3
  /**
4
4
  * Optional snapshot accompanying a progress update. Lets the renderer surface
@@ -1,4 +1,4 @@
1
- import { z } from 'zod/v4';
1
+ import { z } from 'zod';
2
2
  import { HttpClient } from '@sisense/sdk-rest-client';
3
3
  /**
4
4
  * Canonical tool description for uploadFiles — reusable by any host (sdk-assistant, MCP server, custom integrations).
@@ -0,0 +1,50 @@
1
+ import { WidgetProps } from '@sisense/sdk-ui';
2
+ import { RowHeightTier } from './layout/place-widget';
3
+ import { BuildDashboardContext, ExtendedDashboardProps } from './types';
4
+ /** Props of a narrative widget on a dashboard. */
5
+ type NarrativeWidget = Extract<WidgetProps, {
6
+ widgetType: 'narrative';
7
+ }>;
8
+ /** Title of a new narrative widget, unless the caller passes one — the title Fusion gives it. */
9
+ export declare const DEFAULT_NARRATION_WIDGET_TITLE = "Dashboard Narrative";
10
+ /** Height tier of the row the narrative widget is added in, unless the caller picks one. */
11
+ export declare const DEFAULT_NARRATION_ROW_HEIGHT: RowHeightTier;
12
+ export interface AddNarrationToDashboardResult {
13
+ dashboardProps: ExtendedDashboardProps;
14
+ /** Id of the narrative widget on the dashboard — the new one, or the one already there. */
15
+ widgetId: string;
16
+ /** `false` when the dashboard already had a narrative widget and was left unchanged. */
17
+ added: boolean;
18
+ }
19
+ /**
20
+ * Props of a new Dashboard Narrative widget. It carries only its id and title: the dashboard it
21
+ * is placed on supplies the widgets it describes.
22
+ * @param title - Widget title, e.g. a translated one.
23
+ * @returns Narrative widget props with a fresh id.
24
+ */
25
+ export declare function createNarrativeWidgetProps(title?: string): NarrativeWidget;
26
+ /**
27
+ * Adds a Dashboard Narrative widget to a dashboard, in a new row at the top of its widest column. A dashboard holds at
28
+ * most one: when it already has one, the dashboard is returned unchanged.
29
+ * @param dashboardProps - Dashboard to add to.
30
+ * @param height - Height tier of the new row.
31
+ * @param title - Title of the new widget.
32
+ * @returns The updated dashboard and the narrative widget id.
33
+ */
34
+ export declare function addNarrationToDashboard(dashboardProps: ExtendedDashboardProps, height?: RowHeightTier, title?: string): AddNarrationToDashboardResult;
35
+ /**
36
+ * Removes the Dashboard Narrative widget from a dashboard, along with its layout cell.
37
+ * @param dashboardProps - Dashboard to remove from.
38
+ * @returns The updated dashboard, or the input when it holds no narrative widget.
39
+ */
40
+ export declare function removeNarrationFromDashboard(dashboardProps: ExtendedDashboardProps): ExtendedDashboardProps;
41
+ /**
42
+ * The `add-narration` action of buildDashboard.
43
+ */
44
+ export declare const addDashboardNarration: ({ dashboardId, height }: {
45
+ dashboardId: string;
46
+ height?: RowHeightTier;
47
+ }, context: BuildDashboardContext) => {
48
+ message: string;
49
+ };
50
+ export {};
@@ -1,4 +1,4 @@
1
1
  import { AddDashboardWidgetsParams, BuildDashboardContext } from './types';
2
- export declare const addDashboardWidgets: ({ dashboardId, widgetIdsToAdd }: AddDashboardWidgetsParams, context: BuildDashboardContext) => Promise<{
2
+ export declare const addDashboardWidgets: ({ dashboardId, widgetIdsToAdd, placements }: AddDashboardWidgetsParams, context: BuildDashboardContext) => Promise<{
3
3
  message: string;
4
4
  }>;
@@ -0,0 +1,21 @@
1
+ import { AtomicDashboardToolName } from './atomic-tools';
2
+ import { BuildDashboardContext, DashboardSummary } from './types';
3
+ /**
4
+ * What an atomic dashboard tool needs from its host: the `buildDashboard` context, with
5
+ * `dataSourceTitle` optional because only `createDashboard` and `addDashboardFilters` take it as an
6
+ * argument.
7
+ */
8
+ export type AtomicDashboardContext = Omit<BuildDashboardContext, 'dataSourceTitle'> & {
9
+ dataSourceTitle?: string;
10
+ };
11
+ /**
12
+ * Adapter from an atomic dashboard tool to the composite `buildDashboard` engine (SNS-135308): it
13
+ * accepts the tool's flat arguments, validates them, turns them into the matching `buildDashboard`
14
+ * action and runs the existing engine. The tools differ from the composite only in the shape of
15
+ * their input, so both do exactly the same work and the engine stays the single implementation.
16
+ *
17
+ * `dataSourceTitle` comes from the arguments, else the context, else the dashboard being revised;
18
+ * a tool that has none of them (`loadDashboard`) reports an empty title in its summary, which no
19
+ * step of the action reads.
20
+ */
21
+ export declare function atomicDashboardAdapter(toolName: AtomicDashboardToolName, args: unknown, context: AtomicDashboardContext): Promise<DashboardSummary>;
@@ -0,0 +1,231 @@
1
+ import { z } from 'zod';
2
+ import { ArgRenames } from '../atomic-handle-args';
3
+ export declare const loadDashboardToolDescription = "Loads an existing Fusion dashboard, by title or id, into the conversation as a draft that the other dashboard tools can edit. Nothing in Sisense changes. Returns a dashboardId. Titles are not unique: if more than one dashboard matches, the tool reports the candidates and the call must be repeated with dashboardId.";
4
+ export declare const createDashboardToolDescription = "Creates a new dashboard from widgets built earlier in this conversation, laid out in rows with a height tier each (small, medium or large). Pass the widgetIds from prior widget tool results; use `rows: []` for an empty dashboard. Returns a dashboardId.";
5
+ export declare const addDashboardWidgetsToolDescription = "Adds widgets built earlier in this conversation to an existing dashboard. Optional `placements` position each widget (row, cell, before or after a widget already on the dashboard, or a height tier for a new row); omit them to append at the bottom.";
6
+ export declare const removeDashboardWidgetsToolDescription = "Removes widgets from an existing dashboard by widgetId: the widgetId of each cell in the layoutGrid of the latest dashboard tool result.";
7
+ export declare const replaceDashboardWidgetsToolDescription = "Swaps a widget on a dashboard for a different widget, in the same row and cell. The widget to replace is its widgetId, as listed in the layoutGrid of the latest dashboard tool result; the new widget is a newWidgetId from a widget tool. Not for editing a widget in place: change the widget itself with the widget-editing tools, then pass its own id as both widgetId and newWidgetId to copy the edited widget into the dashboard.";
8
+ export declare const updateDashboardTitleToolDescription = "Renames an existing dashboard.";
9
+ export declare const updateDashboardRowHeightToolDescription = "Changes the height tier of an existing dashboard row. The row number comes from the layoutGrid of the latest dashboard tool result.";
10
+ export declare const addDashboardNarrationToolDescription = "Adds a Dashboard Narrative widget (an AI-written summary of the dashboard's data, generated when the user opens it) in a new top row. A dashboard holds at most one; remove it with removeDashboardWidgets and its widgetId (the one in layoutGrid). To show a narrative in the conversation instead, use getDashboardNarration.";
11
+ export declare const addDashboardFiltersToolDescription = "Adds filters to an existing dashboard from a natural-language description (`filterDescription`). Uses an LLM to turn the description into filters.";
12
+ export declare const loadDashboardToolSchema: z.ZodObject<{
13
+ dashboardTitle: z.ZodOptional<z.ZodString>;
14
+ dashboardId: z.ZodOptional<z.ZodString>;
15
+ }, z.core.$strip>;
16
+ export declare const createDashboardToolSchema: z.ZodObject<{
17
+ dataSourceTitle: z.ZodString;
18
+ title: z.ZodString;
19
+ rows: z.ZodArray<z.ZodObject<{
20
+ height: z.ZodEnum<{
21
+ small: "small";
22
+ large: "large";
23
+ medium: "medium";
24
+ }>;
25
+ widgetIds: z.ZodArray<z.ZodString>;
26
+ }, z.core.$strip>>;
27
+ }, z.core.$strip>;
28
+ export declare const addDashboardWidgetsToolSchema: z.ZodObject<{
29
+ priorDashboardId: z.ZodString;
30
+ widgetIds: z.ZodArray<z.ZodString>;
31
+ placements: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
32
+ cell: z.ZodOptional<z.ZodNumber>;
33
+ height: z.ZodOptional<z.ZodEnum<{
34
+ small: "small";
35
+ large: "large";
36
+ medium: "medium";
37
+ }>>;
38
+ row: z.ZodNumber;
39
+ relativeTo: z.ZodOptional<z.ZodObject<{
40
+ widgetId: z.ZodString;
41
+ position: z.ZodEnum<{
42
+ before: "before";
43
+ after: "after";
44
+ }>;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>>>>;
47
+ }, z.core.$strip>;
48
+ export declare const removeDashboardWidgetsToolSchema: z.ZodObject<{
49
+ priorDashboardId: z.ZodString;
50
+ widgetIds: z.ZodArray<z.ZodString>;
51
+ }, z.core.$strip>;
52
+ export declare const replaceDashboardWidgetsToolSchema: z.ZodObject<{
53
+ priorDashboardId: z.ZodString;
54
+ replacements: z.ZodArray<z.ZodObject<{
55
+ widgetId: z.ZodString;
56
+ newWidgetId: z.ZodString;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ export declare const updateDashboardTitleToolSchema: z.ZodObject<{
60
+ priorDashboardId: z.ZodString;
61
+ title: z.ZodString;
62
+ }, z.core.$strip>;
63
+ export declare const updateDashboardRowHeightToolSchema: z.ZodObject<{
64
+ priorDashboardId: z.ZodString;
65
+ row: z.ZodNumber;
66
+ height: z.ZodEnum<{
67
+ small: "small";
68
+ large: "large";
69
+ medium: "medium";
70
+ }>;
71
+ }, z.core.$strip>;
72
+ export declare const addDashboardNarrationToolSchema: z.ZodObject<{
73
+ priorDashboardId: z.ZodString;
74
+ height: z.ZodOptional<z.ZodEnum<{
75
+ small: "small";
76
+ large: "large";
77
+ medium: "medium";
78
+ }>>;
79
+ }, z.core.$strip>;
80
+ export declare const addDashboardFiltersToolSchema: z.ZodObject<{
81
+ dataSourceTitle: z.ZodString;
82
+ priorDashboardId: z.ZodString;
83
+ filterDescription: z.ZodString;
84
+ }, z.core.$strip>;
85
+ /** One atomic dashboard tool: its name, the `buildDashboard` action it stands for, and what the model sees. */
86
+ export interface AtomicDashboardTool {
87
+ name: string;
88
+ /** The `action.type` of the composite `buildDashboard` tool this operation corresponds to. */
89
+ actionType: string;
90
+ description: string;
91
+ inputSchema: z.ZodObject<Record<string, z.ZodType>>;
92
+ /** Argument names that differ from the composite action's; the adapter maps them back. */
93
+ argRenames?: ArgRenames;
94
+ }
95
+ /** In the order the composite tool's actions are documented. */
96
+ export declare const ATOMIC_DASHBOARD_TOOLS: readonly [{
97
+ readonly name: "loadDashboard";
98
+ readonly actionType: "load-existing";
99
+ readonly description: "Loads an existing Fusion dashboard, by title or id, into the conversation as a draft that the other dashboard tools can edit. Nothing in Sisense changes. Returns a dashboardId. Titles are not unique: if more than one dashboard matches, the tool reports the candidates and the call must be repeated with dashboardId.";
100
+ readonly inputSchema: z.ZodObject<{
101
+ dashboardTitle: z.ZodOptional<z.ZodString>;
102
+ dashboardId: z.ZodOptional<z.ZodString>;
103
+ }, z.core.$strip>;
104
+ }, {
105
+ readonly name: "createDashboard";
106
+ readonly actionType: "create";
107
+ readonly description: "Creates a new dashboard from widgets built earlier in this conversation, laid out in rows with a height tier each (small, medium or large). Pass the widgetIds from prior widget tool results; use `rows: []` for an empty dashboard. Returns a dashboardId.";
108
+ readonly inputSchema: z.ZodObject<{
109
+ dataSourceTitle: z.ZodString;
110
+ title: z.ZodString;
111
+ rows: z.ZodArray<z.ZodObject<{
112
+ height: z.ZodEnum<{
113
+ small: "small";
114
+ large: "large";
115
+ medium: "medium";
116
+ }>;
117
+ widgetIds: z.ZodArray<z.ZodString>;
118
+ }, z.core.$strip>>;
119
+ }, z.core.$strip>;
120
+ readonly argRenames: {
121
+ readonly rows: {
122
+ readonly to: "rows";
123
+ readonly nested: {
124
+ readonly widgetIds: {
125
+ readonly to: "chartIds";
126
+ };
127
+ };
128
+ };
129
+ };
130
+ }, {
131
+ readonly name: "addDashboardWidgets";
132
+ readonly actionType: "add-charts";
133
+ readonly description: "Adds widgets built earlier in this conversation to an existing dashboard. Optional `placements` position each widget (row, cell, before or after a widget already on the dashboard, or a height tier for a new row); omit them to append at the bottom.";
134
+ readonly inputSchema: z.ZodObject<{
135
+ priorDashboardId: z.ZodString;
136
+ widgetIds: z.ZodArray<z.ZodString>;
137
+ placements: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
138
+ cell: z.ZodOptional<z.ZodNumber>;
139
+ height: z.ZodOptional<z.ZodEnum<{
140
+ small: "small";
141
+ large: "large";
142
+ medium: "medium";
143
+ }>>;
144
+ row: z.ZodNumber;
145
+ relativeTo: z.ZodOptional<z.ZodObject<{
146
+ widgetId: z.ZodString;
147
+ position: z.ZodEnum<{
148
+ before: "before";
149
+ after: "after";
150
+ }>;
151
+ }, z.core.$strip>>;
152
+ }, z.core.$strip>>>>;
153
+ }, z.core.$strip>;
154
+ readonly argRenames: {
155
+ readonly widgetIds: {
156
+ readonly to: "chartIds";
157
+ };
158
+ };
159
+ }, {
160
+ readonly name: "removeDashboardWidgets";
161
+ readonly actionType: "remove-charts";
162
+ readonly description: "Removes widgets from an existing dashboard by widgetId: the widgetId of each cell in the layoutGrid of the latest dashboard tool result.";
163
+ readonly inputSchema: z.ZodObject<{
164
+ priorDashboardId: z.ZodString;
165
+ widgetIds: z.ZodArray<z.ZodString>;
166
+ }, z.core.$strip>;
167
+ }, {
168
+ readonly name: "replaceDashboardWidgets";
169
+ readonly actionType: "replace-charts";
170
+ readonly description: "Swaps a widget on a dashboard for a different widget, in the same row and cell. The widget to replace is its widgetId, as listed in the layoutGrid of the latest dashboard tool result; the new widget is a newWidgetId from a widget tool. Not for editing a widget in place: change the widget itself with the widget-editing tools, then pass its own id as both widgetId and newWidgetId to copy the edited widget into the dashboard.";
171
+ readonly inputSchema: z.ZodObject<{
172
+ priorDashboardId: z.ZodString;
173
+ replacements: z.ZodArray<z.ZodObject<{
174
+ widgetId: z.ZodString;
175
+ newWidgetId: z.ZodString;
176
+ }, z.core.$strip>>;
177
+ }, z.core.$strip>;
178
+ readonly argRenames: {
179
+ readonly replacements: {
180
+ readonly to: "replacements";
181
+ readonly nested: {
182
+ readonly newWidgetId: {
183
+ readonly to: "chartId";
184
+ };
185
+ };
186
+ };
187
+ };
188
+ }, {
189
+ readonly name: "updateDashboardTitle";
190
+ readonly actionType: "update-title";
191
+ readonly description: "Renames an existing dashboard.";
192
+ readonly inputSchema: z.ZodObject<{
193
+ priorDashboardId: z.ZodString;
194
+ title: z.ZodString;
195
+ }, z.core.$strip>;
196
+ }, {
197
+ readonly name: "updateDashboardRowHeight";
198
+ readonly actionType: "update-row-height";
199
+ readonly description: "Changes the height tier of an existing dashboard row. The row number comes from the layoutGrid of the latest dashboard tool result.";
200
+ readonly inputSchema: z.ZodObject<{
201
+ priorDashboardId: z.ZodString;
202
+ row: z.ZodNumber;
203
+ height: z.ZodEnum<{
204
+ small: "small";
205
+ large: "large";
206
+ medium: "medium";
207
+ }>;
208
+ }, z.core.$strip>;
209
+ }, {
210
+ readonly name: "addDashboardNarration";
211
+ readonly actionType: "add-narration";
212
+ readonly description: "Adds a Dashboard Narrative widget (an AI-written summary of the dashboard's data, generated when the user opens it) in a new top row. A dashboard holds at most one; remove it with removeDashboardWidgets and its widgetId (the one in layoutGrid). To show a narrative in the conversation instead, use getDashboardNarration.";
213
+ readonly inputSchema: z.ZodObject<{
214
+ priorDashboardId: z.ZodString;
215
+ height: z.ZodOptional<z.ZodEnum<{
216
+ small: "small";
217
+ large: "large";
218
+ medium: "medium";
219
+ }>>;
220
+ }, z.core.$strip>;
221
+ }, {
222
+ readonly name: "addDashboardFilters";
223
+ readonly actionType: "add-filters";
224
+ readonly description: "Adds filters to an existing dashboard from a natural-language description (`filterDescription`). Uses an LLM to turn the description into filters.";
225
+ readonly inputSchema: z.ZodObject<{
226
+ dataSourceTitle: z.ZodString;
227
+ priorDashboardId: z.ZodString;
228
+ filterDescription: z.ZodString;
229
+ }, z.core.$strip>;
230
+ }];
231
+ export type AtomicDashboardToolName = (typeof ATOMIC_DASHBOARD_TOOLS)[number]['name'];
@@ -1,3 +1,3 @@
1
+ import { default as z } from 'zod';
1
2
  import { BuildDashboardContext, DashboardSummary, buildDashboardSchema } from './types';
2
- import { default as z } from 'zod/v4';
3
3
  export declare function buildDashboardEngine(params: z.infer<typeof buildDashboardSchema>, context: BuildDashboardContext): Promise<DashboardSummary>;