@lightdash/common 2.616.1 → 2.617.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 (124) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
  3. package/dist/cjs/ee/AiAgent/schemas/index.d.ts +2 -2
  4. package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
  5. package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  7. package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  8. package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
  9. package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
  10. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  11. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  12. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +21 -3
  13. package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  14. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +10 -0
  15. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  16. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +23 -4
  17. package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  18. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +4 -1
  19. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  20. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +9 -3
  21. package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  22. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +85 -0
  23. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -0
  24. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +72 -0
  25. package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -0
  26. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +59 -59
  27. package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
  28. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  29. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  30. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +1 -0
  31. package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  32. package/dist/cjs/ee/AiAgent/utils.d.ts +25 -25
  33. package/dist/cjs/ee/externalConnections/aliasFromName.d.ts +4 -0
  34. package/dist/cjs/ee/externalConnections/aliasFromName.d.ts.map +1 -0
  35. package/dist/cjs/ee/externalConnections/aliasFromName.js +23 -0
  36. package/dist/cjs/ee/externalConnections/aliasFromName.js.map +1 -0
  37. package/dist/cjs/ee/index.d.ts +1 -0
  38. package/dist/cjs/ee/index.d.ts.map +1 -1
  39. package/dist/cjs/ee/index.js +1 -0
  40. package/dist/cjs/ee/index.js.map +1 -1
  41. package/dist/cjs/schemas/json/mcp-tools-1.0.json +139 -4
  42. package/dist/esm/.tsbuildinfo +1 -1
  43. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +25 -25
  44. package/dist/esm/ee/AiAgent/schemas/index.d.ts +2 -2
  45. package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
  46. package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
  47. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  48. package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  49. package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
  50. package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
  51. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  52. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  53. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +18 -0
  54. package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  55. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +10 -0
  56. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  57. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +22 -3
  58. package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  59. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +4 -1
  60. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  61. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +10 -4
  62. package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  63. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +85 -0
  64. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -0
  65. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +69 -0
  66. package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -0
  67. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +59 -59
  68. package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
  69. package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  70. package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  71. package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +1 -0
  72. package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  73. package/dist/esm/ee/AiAgent/utils.d.ts +28 -28
  74. package/dist/esm/ee/externalConnections/aliasFromName.d.ts +4 -0
  75. package/dist/esm/ee/externalConnections/aliasFromName.d.ts.map +1 -0
  76. package/dist/esm/ee/externalConnections/aliasFromName.js +18 -0
  77. package/dist/esm/ee/externalConnections/aliasFromName.js.map +1 -0
  78. package/dist/esm/ee/index.d.ts +1 -0
  79. package/dist/esm/ee/index.d.ts.map +1 -1
  80. package/dist/esm/ee/index.js +1 -0
  81. package/dist/esm/ee/index.js.map +1 -1
  82. package/dist/esm/schemas/json/mcp-tools-1.0.json +139 -4
  83. package/dist/types/.tsbuildinfo +1 -1
  84. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +25 -25
  85. package/dist/types/ee/AiAgent/schemas/index.d.ts +2 -2
  86. package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
  87. package/dist/types/ee/AiAgent/schemas/index.js.map +1 -1
  88. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
  89. package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
  90. package/dist/types/ee/AiAgent/schemas/tools/index.js +1 -0
  91. package/dist/types/ee/AiAgent/schemas/tools/index.js.map +1 -1
  92. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
  93. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
  94. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +18 -0
  95. package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
  96. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +10 -0
  97. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
  98. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +22 -3
  99. package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
  100. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +4 -1
  101. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -1
  102. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +10 -4
  103. package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -1
  104. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts +85 -0
  105. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.d.ts.map +1 -0
  106. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js +69 -0
  107. package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppConnectionsArgs.js.map +1 -0
  108. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +59 -59
  109. package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
  110. package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
  111. package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
  112. package/dist/types/ee/AiAgent/schemas/visualizations/index.js +1 -0
  113. package/dist/types/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
  114. package/dist/types/ee/AiAgent/utils.d.ts +28 -28
  115. package/dist/types/ee/externalConnections/aliasFromName.d.ts +4 -0
  116. package/dist/types/ee/externalConnections/aliasFromName.d.ts.map +1 -0
  117. package/dist/types/ee/externalConnections/aliasFromName.js +18 -0
  118. package/dist/types/ee/externalConnections/aliasFromName.js.map +1 -0
  119. package/dist/types/ee/index.d.ts +1 -0
  120. package/dist/types/ee/index.d.ts.map +1 -1
  121. package/dist/types/ee/index.js +1 -0
  122. package/dist/types/ee/index.js.map +1 -1
  123. package/dist/types/schemas/json/mcp-tools-1.0.json +139 -4
  124. package/package.json +1 -1
@@ -447,17 +447,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
447
447
  filters: {
448
448
  type: "and" | "or";
449
449
  dimensions: ({
450
- fieldId: string;
451
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
452
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
453
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
454
- } | {
455
- fieldId: string;
456
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
457
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
458
- operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
459
- values: boolean[];
460
- } | {
461
450
  fieldId: string;
462
451
  fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
463
452
  fieldFilterType: import("../../../..").FilterType.STRING;
@@ -468,6 +457,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
468
457
  fieldFilterType: import("../../../..").FilterType.STRING;
469
458
  operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
470
459
  values: string[];
460
+ } | {
461
+ fieldId: string;
462
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
463
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
464
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
465
+ } | {
466
+ fieldId: string;
467
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
468
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
469
+ operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
470
+ values: boolean[];
471
471
  } | {
472
472
  fieldId: string;
473
473
  fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
@@ -538,17 +538,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
538
538
  values: string[];
539
539
  })[] | null;
540
540
  metrics: ({
541
- fieldId: string;
542
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
543
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
544
- operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
545
- } | {
546
- fieldId: string;
547
- fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
548
- fieldFilterType: import("../../../..").FilterType.BOOLEAN;
549
- operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
550
- values: boolean[];
551
- } | {
552
541
  fieldId: string;
553
542
  fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
554
543
  fieldFilterType: import("../../../..").FilterType.STRING;
@@ -559,6 +548,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
559
548
  fieldFilterType: import("../../../..").FilterType.STRING;
560
549
  operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
561
550
  values: string[];
551
+ } | {
552
+ fieldId: string;
553
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
554
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
555
+ operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
556
+ } | {
557
+ fieldId: string;
558
+ fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
559
+ fieldFilterType: import("../../../..").FilterType.BOOLEAN;
560
+ operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
561
+ values: boolean[];
562
562
  } | {
563
563
  fieldId: string;
564
564
  fieldType: import("../../../..").DimensionType.NUMBER | import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.SUM_DISTINCT | import("../../../..").MetricType.AVERAGE_DISTINCT | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.NUMBER | import("../../../..").MetricType.MEDIAN;
@@ -32,6 +32,7 @@ export declare const ToolNameSchema: z.ZodEnum<{
32
32
  grepFields: "grepFields";
33
33
  iterateDataApp: "iterateDataApp";
34
34
  listContent: "listContent";
35
+ listDataAppConnections: "listDataAppConnections";
35
36
  listDataAppThemes: "listDataAppThemes";
36
37
  listKnowledgeDocuments: "listKnowledgeDocuments";
37
38
  listProjects: "listProjects";
@@ -92,6 +93,7 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
92
93
  grepFields: "grepFields";
93
94
  iterateDataApp: "iterateDataApp";
94
95
  listContent: "listContent";
96
+ listDataAppConnections: "listDataAppConnections";
95
97
  listDataAppThemes: "listDataAppThemes";
96
98
  listKnowledgeDocuments: "listKnowledgeDocuments";
97
99
  listProjects: "listProjects";
@@ -117,6 +119,6 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
117
119
  syncDbtProject: "syncDbtProject";
118
120
  updateUserName: "updateUserName";
119
121
  }> & z.core.$partial, z.ZodString>;
120
- export declare const TOOL_DISPLAY_MESSAGES: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readAttachments" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
121
- export declare const TOOL_DISPLAY_MESSAGES_AFTER_TOOL_CALL: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readAttachments" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
122
+ export declare const TOOL_DISPLAY_MESSAGES: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppConnections" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readAttachments" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
123
+ export declare const TOOL_DISPLAY_MESSAGES_AFTER_TOOL_CALL: Partial<Record<"analyzeFieldImpact" | "closePullRequest" | "createContent" | "createScheduledDelivery" | "delegateResearchTask" | "describeWarehouseTable" | "discoverFields" | "discoverRepos" | "editContent" | "editDbtProject" | "editProjectContext" | "editRepo" | "exploreRepo" | "findCharts" | "findContent" | "findCustomChartTypes" | "findDashboards" | "findExplores" | "findFields" | "generateDashboard" | "generateDataApp" | "generateHashes" | "generateUuids" | "generateVisualization" | "getDashboardCharts" | "getKnowledgeDocumentContent" | "getMetadata" | "getProjectInfo" | "getPullRequestDiff" | "grepFields" | "iterateDataApp" | "listContent" | "listDataAppConnections" | "listDataAppThemes" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readAttachments" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
122
124
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyDzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,UAAU,aAAc,MAAM,KAAG,QAAQ,IAAI,QACZ,CAAC;AAG/C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,unCAuDhC,CAAC;AAGH,eAAO,MAAM,qCAAqC,unCAwD5C,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DzB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,UAAU,aAAc,MAAM,KAAG,QAAQ,IAAI,QACZ,CAAC;AAG/C,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAGrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,kpCAuDhC,CAAC;AAGH,eAAO,MAAM,qCAAqC,kpCAwD5C,CAAC"}
@@ -33,6 +33,7 @@ export const ToolNameSchema = z.enum([
33
33
  'generateDataApp',
34
34
  'iterateDataApp',
35
35
  'listDataAppThemes',
36
+ 'listDataAppConnections',
36
37
  'editDbtProject',
37
38
  'editProjectContext',
38
39
  'editRepo',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAoB;AACpB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACjC,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,aAAa;IACb,aAAa;IACb,cAAc;IACd,sBAAsB;IACtB,YAAY;IACZ,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,gBAAgB;IAChB,YAAY;IACZ,oBAAoB;IACpB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,eAAe;IACf,yBAAyB;IACzB,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IAC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BAAyB;IACtD,gBAAgB,EAAE,0BAA0B;IAC5C,eAAe,EAAE,yBAAyB;IAC1C,oBAAoB,EAAE,uBAAuB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAoB;AACpB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC;IACjC,mBAAmB;IACnB,gBAAgB;IAChB,eAAe;IACf,aAAa;IACb,aAAa;IACb,cAAc;IACd,sBAAsB;IACtB,YAAY;IACZ,qBAAqB;IACrB,oBAAoB;IACpB,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,mBAAmB;IACnB,gBAAgB;IAChB,YAAY;IACZ,oBAAoB;IACpB,aAAa;IACb,YAAY;IACZ,aAAa;IACb,eAAe;IACf,yBAAyB;IACzB,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,WAAW;IACX,oBAAoB;IACpB,cAAc;IACd,iBAAiB;IACjB,gBAAgB;IAChB,mBAAmB;IACnB,wBAAwB;IACxB,gBAAgB;IAChB,oBAAoB;IACpB,UAAU;IACV,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,QAAQ;IACR,oBAAoB;IACpB,qBAAqB;IACrB,wBAAwB;IACxB,wBAAwB;IACxB,6BAA6B;IAC7B,kBAAkB;IAClB,iBAAiB;IACjB,sBAAsB;IACtB,sBAAsB;IACtB,sBAAsB;CACzB,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,QAAgB,EAAwB,EAAE,CACjE,cAAc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AE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,iBAAiB;IAC/B,cAAc,EAAE,qBAAqB;IACrC,SAAS,EAAE,cAAc;IACzB,kBAAkB,EAAE,wBAAwB;IAC5C,YAAY,EAAE,kBAAkB;IAChC,eAAe,EAAE,0BAA0B;IAC3C,cAAc,EAAE,0BAA0B;IAC1C,cAAc,EAAE,uBAAuB;IACvC,QAAQ,EAAE,mBAAmB;IAC7B,cAAc,EAAE,oBAAoB;IACpC,WAAW,EAAE,iBAAiB;IAC9B,aAAa,EAAE,yBAAyB;IACxC,eAAe,EAAE,sBAAsB;IACvC,gBAAgB,EAAE,qBAAqB;IACvC,kBAAkB,EAAE,wBAAwB;IAC5C,qBAAqB,EAAE,yBAAyB;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,QAAQ,EAAE,WAAW;IACrB,aAAa,EAAE,iBAAiB;IAChC,MAAM,EAAE,eAAe;IACvB,kBAAkB,EAAE,sBAAsB;IAC1C,mBAAmB,EAAE,yBAAyB;IAC9C,sBAAsB,EAAE,2BAA2B;IACnD,sBAAsB,EAAE,4BAA4B;IACpD,2BAA2B,EAAE,yBAAyB;IACtD,gBAAgB,EAAE,0BAA0B;IAC5C,eAAe,EAAE,yBAAyB;IAC1C,oBAAoB,EAAE,uBAAuB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC,CAAC"}
@@ -22,18 +22,31 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
22
22
  tableCalculations: ({
23
23
  name: string;
24
24
  displayName: string;
25
- type: "percent_change_from_previous";
25
+ type: "percent_of_column_total";
26
26
  fieldId: string;
27
- orderBy: {
28
- fieldId: string;
29
- order: "asc" | "desc" | null;
30
- }[];
31
27
  partitionBy: string[] | null;
32
28
  } | {
33
29
  name: string;
34
30
  displayName: string;
35
- type: "running_total";
36
- fieldId: string;
31
+ type: "window_function";
32
+ windowFunction: import("../..").WindowFunctionType;
33
+ fieldId: string | null;
34
+ orderBy: {
35
+ fieldId: string;
36
+ order: "asc" | "desc" | null;
37
+ }[] | null;
38
+ partitionBy: string[] | null;
39
+ frame: {
40
+ frameType: "range" | "rows";
41
+ start: {
42
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
43
+ offset: number | null;
44
+ } | null;
45
+ end: {
46
+ type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
47
+ offset: number | null;
48
+ };
49
+ } | null;
37
50
  } | {
38
51
  name: string;
39
52
  displayName: string;
@@ -44,7 +57,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
44
57
  } | {
45
58
  name: string;
46
59
  displayName: string;
47
- type: "percent_of_previous_value";
60
+ type: "percent_change_from_previous";
48
61
  fieldId: string;
49
62
  orderBy: {
50
63
  fieldId: string;
@@ -54,8 +67,12 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
54
67
  } | {
55
68
  name: string;
56
69
  displayName: string;
57
- type: "percent_of_column_total";
70
+ type: "percent_of_previous_value";
58
71
  fieldId: string;
72
+ orderBy: {
73
+ fieldId: string;
74
+ order: "asc" | "desc" | null;
75
+ }[];
59
76
  partitionBy: string[] | null;
60
77
  } | {
61
78
  name: string;
@@ -65,25 +82,8 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
65
82
  } | {
66
83
  name: string;
67
84
  displayName: string;
68
- type: "window_function";
69
- windowFunction: import("../..").WindowFunctionType;
70
- fieldId: string | null;
71
- orderBy: {
72
- fieldId: string;
73
- order: "asc" | "desc" | null;
74
- }[] | null;
75
- partitionBy: string[] | null;
76
- frame: {
77
- frameType: "range" | "rows";
78
- start: {
79
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
80
- offset: number | null;
81
- } | null;
82
- end: {
83
- type: "current_row" | "following" | "preceding" | "unbounded_following" | "unbounded_preceding";
84
- offset: number | null;
85
- };
86
- } | null;
85
+ type: "running_total";
86
+ fieldId: string;
87
87
  })[] | null;
88
88
  filters: import("../..").Filters;
89
89
  };
@@ -0,0 +1,4 @@
1
+ /** Derive a stable, code-safe alias from a connection name. */
2
+ export declare const aliasFromName: (name: string) => string;
3
+ export declare const uniqueAliasFromName: (name: string, existingAliases: string[]) => string;
4
+ //# sourceMappingURL=aliasFromName.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aliasFromName.d.ts","sourceRoot":"","sources":["../../../../src/ee/externalConnections/aliasFromName.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,eAAO,MAAM,aAAa,SAAU,MAAM,KAAG,MAIb,CAAC;AAEjC,eAAO,MAAM,mBAAmB,SACtB,MAAM,mBACK,MAAM,EAAE,KAC1B,MAaF,CAAC"}
@@ -0,0 +1,18 @@
1
+ /** Derive a stable, code-safe alias from a connection name. */
2
+ export const aliasFromName = (name) => name
3
+ .toLowerCase()
4
+ .replace(/[^a-z0-9]+/g, '_')
5
+ .replace(/^_+|_+$/g, '');
6
+ export const uniqueAliasFromName = (name, existingAliases) => {
7
+ const base = aliasFromName(name).slice(0, 64) || 'connection';
8
+ const aliases = new Set(existingAliases);
9
+ if (!aliases.has(base))
10
+ return base;
11
+ let index = 2;
12
+ while (aliases.has(`${base.slice(0, 64 - `${index}`.length - 1)}_${index}`)) {
13
+ index += 1;
14
+ }
15
+ const suffix = `_${index}`;
16
+ return `${base.slice(0, 64 - suffix.length)}${suffix}`;
17
+ };
18
+ //# sourceMappingURL=aliasFromName.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"aliasFromName.js","sourceRoot":"","sources":["../../../../src/ee/externalConnections/aliasFromName.ts"],"names":[],"mappings":"AAAA,+DAA+D;AAC/D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,IAAY,EAAU,EAAE,CAClD,IAAI;KACC,WAAW,EAAE;KACb,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC;KAC3B,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;AAEjC,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAC/B,IAAY,EACZ,eAAyB,EACnB,EAAE;IACR,MAAM,IAAI,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,YAAY,CAAC;IAC9D,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,eAAe,CAAC,CAAC;IACzC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAEpC,IAAI,KAAK,GAAG,CAAC,CAAC;IACd,OACI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,GAAG,GAAG,KAAK,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,IAAI,KAAK,EAAE,CAAC,EACtE,CAAC;QACC,KAAK,IAAI,CAAC,CAAC;IACf,CAAC;IACD,MAAM,MAAM,GAAG,IAAI,KAAK,EAAE,CAAC;IAC3B,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,EAAE,CAAC;AAC3D,CAAC,CAAC"}
@@ -9,6 +9,7 @@ export * from './aiDeepResearch/workers';
9
9
  export * from './aiWriteback/mcpTask';
10
10
  export * from './aiWriteback/types';
11
11
  export * from './mcp/tasks';
12
+ export * from './externalConnections/aliasFromName';
12
13
  export * from './externalConnections/coder';
13
14
  export * from './externalConnections/types';
14
15
  export * from './AiRouter';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ee/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cA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C;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,OAAO,KAAK,iBAAiB,MAAM,uBAAuB,CAAC;AAC3D,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AAErC,oBAAY,cAAc;IACtB,KAAK,gDAAgD;IACrD,IAAI,+CAA+C;IACnD,KAAK,gDAAgD;IACrD,IAAI,oDAAoD;IACxD,aAAa,uDAAuD;IACpE,MAAM,iDAAiD;IACvD,KAAK,kDAAkD;IACvD,wBAAwB,yDAAyD;IACjF,uBAAuB,gEAAgE;IACvF,aAAa,uDAAuD;CACvE"}
@@ -9,6 +9,7 @@ export * from './aiDeepResearch/workers';
9
9
  export * from './aiWriteback/mcpTask';
10
10
  export * from './aiWriteback/types';
11
11
  export * from './mcp/tasks';
12
+ export * from './externalConnections/aliasFromName';
12
13
  export * from './externalConnections/coder';
13
14
  export * from './externalConnections/types';
14
15
  export * from './AiRouter';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ee/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kCAAkC,CAAC;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CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,sBAAsB,CAAC;AAErC,MAAM,CAAN,IAAY,cAWX;AAXD,WAAY,cAAc;IACtB,uEAAqD,CAAA;IACrD,qEAAmD,CAAA;IACnD,uEAAqD,CAAA;IACrD,0EAAwD,CAAA;IACxD,sFAAoE,CAAA;IACpE,yEAAuD,CAAA;IACvD,yEAAuD,CAAA;IACvD,mGAAiF,CAAA;IACjF,yGAAuF,CAAA;IACvF,sFAAoE,CAAA;AACxE,CAAC,EAXW,cAAc,KAAd,cAAc,QAWzB"}
@@ -923,7 +923,7 @@
923
923
  "readOnlyHint": false,
924
924
  "title": "Generate data app"
925
925
  },
926
- "description": "Tool: generate_data_app\n\nPurpose:\nStart building a new data app: an interactive application generated from a brief on top of a Lightdash project's semantic layer. Each build produces one version of the app. Charts, dashboards, and other saved content have their own tools.\n\nImportant:\n- You name the app. The name fixes both the app's name and its slug at creation, and neither changes afterwards. A name already taken in the project gets a numeric suffix on the slug, so identify the app by the slug this call returns, never one you derived from the name.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the returned slug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- The app is created as the calling user's personal app: at the project root, in no space, visible only to them until they move it.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- An unknown themeSlug fails before the build starts and lists the valid slugs. Call list_data_app_themes when the user names a theme, brand, or look.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's permanent slug; pass it to get_data_app_build_status\n version: number // the version of the app this build produces\n }\n\nErrors: an unknown themeSlug, dashboardSlug, or chartSlug returns an error and starts no build.\n",
926
+ "description": "Tool: generate_data_app\n\nPurpose:\nStart building a new data app: an interactive application generated from a brief on top of a Lightdash project's semantic layer. Each build produces one version of the app. Charts, dashboards, and other saved content have their own tools.\n\nImportant:\n- You name the app. The name fixes both the app's name and its slug at creation, and neither changes afterwards. A name already taken in the project gets a numeric suffix on the slug, so identify the app by the slug this call returns, never one you derived from the name.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the returned slug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- The app is created as the calling user's personal app: at the project root, in no space, visible only to them until they move it.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- An unknown themeSlug fails before the build starts and lists the valid slugs. Call list_data_app_themes when the user names a theme, brand, or look.\n- For an outside API (analytics, billing, CRM), pass externalConnectionSlugs from list_data_app_connections.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's permanent slug; pass it to get_data_app_build_status\n version: number, // the version of the app this build produces\n warnings: string[] // e.g. a connection the brief names but does not link\n }\n\nErrors: an unknown themeSlug, dashboardSlug, chartSlug, or externalConnectionSlug returns an error and starts no build.\n",
927
927
  "inputSchema": {
928
928
  "$schema": "http://json-schema.org/draft-07/schema#",
929
929
  "properties": {
@@ -954,6 +954,21 @@
954
954
  "default": null,
955
955
  "description": "Generate from an existing dashboard: its slug (from findContent). The app starts from the dashboard's layout and charts; the dashboard itself stays unchanged. Omit when not generating from a dashboard."
956
956
  },
957
+ "externalConnectionSlugs": {
958
+ "anyOf": [
959
+ {
960
+ "items": {
961
+ "type": "string"
962
+ },
963
+ "type": "array"
964
+ },
965
+ {
966
+ "type": "null"
967
+ }
968
+ ],
969
+ "default": null,
970
+ "description": "External connections to link to the app before the build: slugs from listDataAppConnections (list_data_app_connections over MCP). The build gets their instructions and samples and can call them at runtime. An unknown or unlinkable slug fails and starts no build. Omit when the app uses no external API."
971
+ },
957
972
  "name": {
958
973
  "description": "Display name for the app: a headline-short title, in title case, naming what the app shows (\"Revenue Overview\"). The app's slug is derived from it at creation, so treat the name as final — it is not renamed later.",
959
974
  "type": "string"
@@ -1010,9 +1025,16 @@
1010
1025
  "exclusiveMinimum": 0,
1011
1026
  "maximum": 9007199254740991,
1012
1027
  "type": "integer"
1028
+ },
1029
+ "warnings": {
1030
+ "description": "Non-blocking issues with the request, such as a connection the brief names that the app does not link. Empty when there are none.",
1031
+ "items": {
1032
+ "type": "string"
1033
+ },
1034
+ "type": "array"
1013
1035
  }
1014
1036
  },
1015
- "required": ["slug", "version"],
1037
+ "required": ["slug", "version", "warnings"],
1016
1038
  "type": "object"
1017
1039
  },
1018
1040
  "title": "Generate data app"
@@ -2677,7 +2699,7 @@
2677
2699
  "readOnlyHint": false,
2678
2700
  "title": "Iterate on data app"
2679
2701
  },
2680
- "description": "Tool: iterate_data_app\n\nPurpose:\nStart a build that adds a version to an existing data app from a follow-up brief. Use it to change, fix, or extend an app that already exists; generate_data_app is the tool for a brand-new app.\n\nImportant:\n- The coding agent works from the app's current source, so the brief describes the change rather than restating the whole app.\n- The app's name and slug stay as they are. The build adds a version to the app named by appSlug.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the same appSlug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- While a version is already building for the app, this call fails with \"A version is already building for this app\". Poll get_data_app_build_status until that build reaches a terminal status, then call this tool again.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- Pass themeSlug only when the user asks to switch the app's theme; omitting it keeps the current one. An unknown themeSlug fails before the build starts and lists the valid slugs, which list_data_app_themes also returns.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's slug, unchanged by this build\n version: number // the version of the app this build produces\n }\n\nErrors: an unknown appSlug, themeSlug, dashboardSlug, or chartSlug returns an error and starts no build. So does a custom chart type's slug: use iterate_custom_chart_type for those.\n",
2702
+ "description": "Tool: iterate_data_app\n\nPurpose:\nStart a build that adds a version to an existing data app from a follow-up brief. Use it to change, fix, or extend an app that already exists; generate_data_app is the tool for a brand-new app.\n\nImportant:\n- The coding agent works from the app's current source, so the brief describes the change rather than restating the whole app.\n- The app's name and slug stay as they are. The build adds a version to the app named by appSlug.\n- The build runs in the background for several minutes. This call returns as soon as the build has started. Poll get_data_app_build_status with the same appSlug every 15 seconds until its status is \"ready\", \"error\", or \"cancelled\". Call this tool once per request.\n- While a version is already building for the app, this call fails with \"A version is already building for this app\". Poll get_data_app_build_status until that build reaches a terminal status, then call this tool again.\n- An agent-scoped session restricted to specific spaces cannot read a personal app. Call this tool and get_data_app_build_status without agentUuid to build and poll an app you own.\n- Pass themeSlug only when the user asks to switch the app's theme; omitting it keeps the current one. An unknown themeSlug fails before the build starts and lists the valid slugs, which list_data_app_themes also returns.\n- For an outside API (analytics, billing, CRM), pass externalConnectionSlugs from list_data_app_connections.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<confirmation that the build started>\" }]\n- structuredContent: {\n slug: string, // the app's slug, unchanged by this build\n version: number, // the version of the app this build produces\n warnings: string[] // e.g. a connection the brief names but does not link\n }\n\nErrors: an unknown appSlug, themeSlug, dashboardSlug, chartSlug, or externalConnectionSlug returns an error and starts no build. So does a custom chart type's slug: use iterate_custom_chart_type for those.\n",
2681
2703
  "inputSchema": {
2682
2704
  "$schema": "http://json-schema.org/draft-07/schema#",
2683
2705
  "properties": {
@@ -2712,6 +2734,21 @@
2712
2734
  "default": null,
2713
2735
  "description": "Pull in an existing dashboard: its slug (from findContent). The coding agent gets the dashboard's layout and charts as context; the dashboard itself stays unchanged. Omit when the change does not reference a dashboard."
2714
2736
  },
2737
+ "externalConnectionSlugs": {
2738
+ "anyOf": [
2739
+ {
2740
+ "items": {
2741
+ "type": "string"
2742
+ },
2743
+ "type": "array"
2744
+ },
2745
+ {
2746
+ "type": "null"
2747
+ }
2748
+ ],
2749
+ "default": null,
2750
+ "description": "External connections to link to the app before the build: slugs from listDataAppConnections (list_data_app_connections over MCP). Adds to the connections the app already links; none are removed. An unknown or unlinkable slug fails and starts no build. Omit when the change needs no new external API."
2751
+ },
2715
2752
  "prompt": {
2716
2753
  "description": "A self-contained brief of the change for the coding agent, which works from the app's current source and explores the semantic layer itself, but sees neither this conversation nor its query results. Describe what to change and the outcome you expect; carry over any analysis this thread already settled as queries — a number pasted into the brief gets hardcoded into the app.",
2717
2754
  "type": "string"
@@ -2746,9 +2783,16 @@
2746
2783
  "exclusiveMinimum": 0,
2747
2784
  "maximum": 9007199254740991,
2748
2785
  "type": "integer"
2786
+ },
2787
+ "warnings": {
2788
+ "description": "Non-blocking issues with the request, such as a connection the brief names that the app does not link. Empty when there are none.",
2789
+ "items": {
2790
+ "type": "string"
2791
+ },
2792
+ "type": "array"
2749
2793
  }
2750
2794
  },
2751
- "required": ["slug", "version"],
2795
+ "required": ["slug", "version", "warnings"],
2752
2796
  "type": "object"
2753
2797
  },
2754
2798
  "title": "Iterate on data app"
@@ -3174,6 +3218,97 @@
3174
3218
  },
3175
3219
  "title": "List custom chart types"
3176
3220
  },
3221
+ {
3222
+ "annotations": {
3223
+ "destructiveHint": false,
3224
+ "idempotentHint": true,
3225
+ "openWorldHint": false,
3226
+ "readOnlyHint": true,
3227
+ "title": "List data app connections"
3228
+ },
3229
+ "description": "Tool: list_data_app_connections\n\nPurpose:\nList the project's external connections you can link to a data app. An external connection is an admin-configured, credentialed proxy to an outside API (product analytics, billing, CRM, ...); a data app can call an API only through a linked connection.\n\nImportant:\n- Call it when the user wants a data app to use an outside API or names a connection, then pass the matching slugs as externalConnectionSlugs to generate_data_app or iterate_data_app.\n- Only connections you may link are listed. Credentials are never returned.\n- Pass appSlug to also see which connections that app already links.\n\nParameters:\n- appSlug: Optional. A data app's slug; fills linkedAliases for that app.\n\nResponse shape (MCP CallToolResult):\n- content: [{ type: \"text\", text: \"<the connections, one per line>\" }]\n- structuredContent: {\n connections: [{\n slug: string, // pass in externalConnectionSlugs\n name: string,\n authType: string, // \"none\" | \"api_key\" | \"bearer_token\" | \"google_service_account\" | \"oauth_client_credentials\"\n origin: string, // the API's base URL\n instructions: string | null, // how to use the API, written by an admin\n linkedAliases: string[] // aliases the appSlug app links it under; empty when not linked or no appSlug\n }]\n }\n\nErrors: an unknown appSlug, or an app this caller may not view, returns an error.\n",
3230
+ "inputSchema": {
3231
+ "$schema": "http://json-schema.org/draft-07/schema#",
3232
+ "properties": {
3233
+ "appSlug": {
3234
+ "anyOf": [
3235
+ {
3236
+ "minLength": 1,
3237
+ "type": "string"
3238
+ },
3239
+ {
3240
+ "type": "null"
3241
+ }
3242
+ ],
3243
+ "default": null,
3244
+ "description": "A data app's slug. Pass it to see which connections that app already links; omit to list connections only."
3245
+ }
3246
+ },
3247
+ "type": "object"
3248
+ },
3249
+ "name": "list_data_app_connections",
3250
+ "outputSchema": {
3251
+ "$schema": "http://json-schema.org/draft-07/schema#",
3252
+ "additionalProperties": false,
3253
+ "properties": {
3254
+ "connections": {
3255
+ "description": "Connections you may link; empty when there are none.",
3256
+ "items": {
3257
+ "additionalProperties": false,
3258
+ "properties": {
3259
+ "authType": {
3260
+ "description": "How the proxy authenticates to the API.",
3261
+ "type": "string"
3262
+ },
3263
+ "instructions": {
3264
+ "anyOf": [
3265
+ {
3266
+ "type": "string"
3267
+ },
3268
+ {
3269
+ "type": "null"
3270
+ }
3271
+ ],
3272
+ "description": "How to use the API, written by an admin."
3273
+ },
3274
+ "linkedAliases": {
3275
+ "description": "Aliases the appSlug app links this connection under; empty when not linked or no appSlug was given.",
3276
+ "items": {
3277
+ "type": "string"
3278
+ },
3279
+ "type": "array"
3280
+ },
3281
+ "name": {
3282
+ "description": "The connection's display name.",
3283
+ "type": "string"
3284
+ },
3285
+ "origin": {
3286
+ "description": "The API's base URL.",
3287
+ "type": "string"
3288
+ },
3289
+ "slug": {
3290
+ "description": "Pass in externalConnectionSlugs when starting a data app build.",
3291
+ "type": "string"
3292
+ }
3293
+ },
3294
+ "required": [
3295
+ "slug",
3296
+ "name",
3297
+ "authType",
3298
+ "origin",
3299
+ "instructions",
3300
+ "linkedAliases"
3301
+ ],
3302
+ "type": "object"
3303
+ },
3304
+ "type": "array"
3305
+ }
3306
+ },
3307
+ "required": ["connections"],
3308
+ "type": "object"
3309
+ },
3310
+ "title": "List data app connections"
3311
+ },
3177
3312
  {
3178
3313
  "annotations": {
3179
3314
  "destructiveHint": false,