@lightdash/common 3.289.4 → 3.290.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 (40) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +29 -29
  3. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  4. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +6 -9
  5. package/dist/cjs/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  6. package/dist/cjs/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +14 -14
  7. package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +64 -64
  8. package/dist/cjs/ee/AiAgent/utils.d.ts +7 -7
  9. package/dist/cjs/schemas/chartAsCodeSchema.d.ts +44 -44
  10. package/dist/cjs/utils/liveSourceIntegrations.d.ts +1 -6
  11. package/dist/cjs/utils/liveSourceIntegrations.d.ts.map +1 -1
  12. package/dist/cjs/utils/liveSourceIntegrations.js +2 -16
  13. package/dist/cjs/utils/liveSourceIntegrations.js.map +1 -1
  14. package/dist/esm/.tsbuildinfo +1 -1
  15. package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +29 -29
  16. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  17. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +6 -9
  18. package/dist/esm/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  19. package/dist/esm/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +14 -14
  20. package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +64 -64
  21. package/dist/esm/ee/AiAgent/utils.d.ts +7 -7
  22. package/dist/esm/schemas/chartAsCodeSchema.d.ts +44 -44
  23. package/dist/esm/utils/liveSourceIntegrations.d.ts +1 -6
  24. package/dist/esm/utils/liveSourceIntegrations.d.ts.map +1 -1
  25. package/dist/esm/utils/liveSourceIntegrations.js +1 -14
  26. package/dist/esm/utils/liveSourceIntegrations.js.map +1 -1
  27. package/dist/types/.tsbuildinfo +1 -1
  28. package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +29 -29
  29. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.d.ts.map +1 -1
  30. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js +6 -9
  31. package/dist/types/ee/AiAgent/schemas/tools/toolComposerQueryArgs.js.map +1 -1
  32. package/dist/types/ee/AiAgent/schemas/tools/toolDashboardV2Args.d.ts +14 -14
  33. package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +64 -64
  34. package/dist/types/ee/AiAgent/utils.d.ts +7 -7
  35. package/dist/types/schemas/chartAsCodeSchema.d.ts +44 -44
  36. package/dist/types/utils/liveSourceIntegrations.d.ts +1 -6
  37. package/dist/types/utils/liveSourceIntegrations.d.ts.map +1 -1
  38. package/dist/types/utils/liveSourceIntegrations.js +1 -14
  39. package/dist/types/utils/liveSourceIntegrations.js.map +1 -1
  40. package/package.json +1 -1
@@ -79,9 +79,9 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
79
79
  metricQuery: {
80
80
  allOf: ({
81
81
  type?: undefined;
82
- required?: undefined;
83
- properties?: undefined;
84
82
  $ref: string;
83
+ properties?: undefined;
84
+ required?: undefined;
85
85
  } | {
86
86
  $ref?: undefined;
87
87
  properties: {
@@ -800,9 +800,9 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
800
800
  metricQuery: {
801
801
  allOf: ({
802
802
  type?: undefined;
803
- required?: undefined;
804
- properties?: undefined;
805
803
  $ref: string;
804
+ properties?: undefined;
805
+ required?: undefined;
806
806
  } | {
807
807
  $ref?: undefined;
808
808
  properties: {
@@ -1015,8 +1015,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1015
1015
  };
1016
1016
  CompactOrAlias: {
1017
1017
  anyOf: ({
1018
- enum?: undefined;
1019
1018
  type?: undefined;
1019
+ enum?: undefined;
1020
1020
  $ref: string;
1021
1021
  } | {
1022
1022
  $ref?: undefined;
@@ -1116,8 +1116,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1116
1116
  ComposerStoredChartAsCode: {
1117
1117
  allOf: ({
1118
1118
  type?: undefined;
1119
- required?: undefined;
1120
1119
  properties?: undefined;
1120
+ required?: undefined;
1121
1121
  $ref: string;
1122
1122
  } | {
1123
1123
  $ref?: undefined;
@@ -1283,8 +1283,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1283
1283
  ConditionalFormattingWithCompareTarget: {
1284
1284
  allOf: ({
1285
1285
  type?: undefined;
1286
- required?: undefined;
1287
1286
  properties?: undefined;
1287
+ required?: undefined;
1288
1288
  $ref: string;
1289
1289
  } | {
1290
1290
  $ref?: undefined;
@@ -1323,8 +1323,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1323
1323
  "ConditionalFormattingWithCompareTarget_number-or-string_": {
1324
1324
  allOf: ({
1325
1325
  type?: undefined;
1326
- required?: undefined;
1327
1326
  properties?: undefined;
1327
+ required?: undefined;
1328
1328
  $ref: string;
1329
1329
  } | {
1330
1330
  $ref?: undefined;
@@ -1363,8 +1363,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1363
1363
  ConditionalFormattingWithValues: {
1364
1364
  allOf: ({
1365
1365
  type?: undefined;
1366
- required?: undefined;
1367
1366
  properties?: undefined;
1367
+ required?: undefined;
1368
1368
  $ref: string;
1369
1369
  } | {
1370
1370
  $ref?: undefined;
@@ -1390,8 +1390,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
1390
1390
  "ConditionalFormattingWithValues_number-or-string_": {
1391
1391
  allOf: ({
1392
1392
  type?: undefined;
1393
- required?: undefined;
1394
1393
  properties?: undefined;
1394
+ required?: undefined;
1395
1395
  $ref: string;
1396
1396
  } | {
1397
1397
  $ref?: undefined;
@@ -2175,8 +2175,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
2175
2175
  FormulaTableCalculation: {
2176
2176
  allOf: ({
2177
2177
  type?: undefined;
2178
- required?: undefined;
2179
2178
  properties?: undefined;
2179
+ required?: undefined;
2180
2180
  $ref: string;
2181
2181
  } | {
2182
2182
  $ref?: undefined;
@@ -4573,8 +4573,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4573
4573
  SqlTableCalculation: {
4574
4574
  allOf: ({
4575
4575
  type?: undefined;
4576
- required?: undefined;
4577
4576
  properties?: undefined;
4577
+ required?: undefined;
4578
4578
  $ref: string;
4579
4579
  } | {
4580
4580
  $ref?: undefined;
@@ -4595,8 +4595,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4595
4595
  StoredNode_DuckdbSourceQuery_: {
4596
4596
  allOf: ({
4597
4597
  type?: undefined;
4598
- required?: undefined;
4599
4598
  properties?: undefined;
4599
+ required?: undefined;
4600
4600
  $ref: string;
4601
4601
  } | {
4602
4602
  $ref?: undefined;
@@ -4616,8 +4616,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4616
4616
  "StoredNode_Omit_MergeSourceQuery.pivotConfiguration__": {
4617
4617
  allOf: ({
4618
4618
  type?: undefined;
4619
- required?: undefined;
4620
4619
  properties?: undefined;
4620
+ required?: undefined;
4621
4621
  $ref: string;
4622
4622
  } | {
4623
4623
  $ref?: undefined;
@@ -4637,8 +4637,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4637
4637
  "StoredNode_Omit_PythonSourceQuery.pivotConfiguration__": {
4638
4638
  allOf: ({
4639
4639
  type?: undefined;
4640
- required?: undefined;
4641
4640
  properties?: undefined;
4641
+ required?: undefined;
4642
4642
  $ref: string;
4643
4643
  } | {
4644
4644
  $ref?: undefined;
@@ -4658,8 +4658,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4658
4658
  StoredNode_SemanticLayerSourceQuery_: {
4659
4659
  allOf: ({
4660
4660
  type?: undefined;
4661
- required?: undefined;
4662
4661
  properties?: undefined;
4662
+ required?: undefined;
4663
4663
  $ref: string;
4664
4664
  } | {
4665
4665
  $ref?: undefined;
@@ -4679,8 +4679,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
4679
4679
  StoredNode_SqlSourceQuery_: {
4680
4680
  allOf: ({
4681
4681
  type?: undefined;
4682
- required?: undefined;
4683
4682
  properties?: undefined;
4683
+ required?: undefined;
4684
4684
  $ref: string;
4685
4685
  } | {
4686
4686
  $ref?: undefined;
@@ -5002,8 +5002,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5002
5002
  TemplateTableCalculation: {
5003
5003
  allOf: ({
5004
5004
  type?: undefined;
5005
- required?: undefined;
5006
5005
  properties?: undefined;
5006
+ required?: undefined;
5007
5007
  $ref: string;
5008
5008
  } | {
5009
5009
  $ref?: undefined;
@@ -5114,8 +5114,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5114
5114
  VizBarChartConfig: {
5115
5115
  allOf: ({
5116
5116
  type?: undefined;
5117
- required?: undefined;
5118
5117
  properties?: undefined;
5118
+ required?: undefined;
5119
5119
  $ref: string;
5120
5120
  } | {
5121
5121
  $ref?: undefined;
@@ -5182,8 +5182,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5182
5182
  VizBigNumberConfig: {
5183
5183
  allOf: ({
5184
5184
  type?: undefined;
5185
- required?: undefined;
5186
5185
  properties?: undefined;
5186
+ required?: undefined;
5187
5187
  $ref: string;
5188
5188
  } | {
5189
5189
  $ref?: undefined;
@@ -5299,8 +5299,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5299
5299
  VizLineChartConfig: {
5300
5300
  allOf: ({
5301
5301
  type?: undefined;
5302
- required?: undefined;
5303
5302
  properties?: undefined;
5303
+ required?: undefined;
5304
5304
  $ref: string;
5305
5305
  } | {
5306
5306
  $ref?: undefined;
@@ -5322,8 +5322,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5322
5322
  VizPieChartConfig: {
5323
5323
  allOf: ({
5324
5324
  type?: undefined;
5325
- required?: undefined;
5326
5325
  properties?: undefined;
5326
+ required?: undefined;
5327
5327
  $ref: string;
5328
5328
  } | {
5329
5329
  $ref?: undefined;
@@ -5375,8 +5375,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
5375
5375
  VizTableConfig: {
5376
5376
  allOf: ({
5377
5377
  type?: undefined;
5378
- required?: undefined;
5379
5378
  properties?: undefined;
5379
+ required?: undefined;
5380
5380
  $ref: string;
5381
5381
  } | {
5382
5382
  $ref?: undefined;
@@ -6118,9 +6118,9 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6118
6118
  metricQuery: {
6119
6119
  allOf: ({
6120
6120
  type?: undefined;
6121
- required?: undefined;
6122
- properties?: undefined;
6123
6121
  $ref: string;
6122
+ properties?: undefined;
6123
+ required?: undefined;
6124
6124
  } | {
6125
6125
  $ref?: undefined;
6126
6126
  properties: {
@@ -6333,8 +6333,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6333
6333
  };
6334
6334
  CompactOrAlias: {
6335
6335
  anyOf: ({
6336
- enum?: undefined;
6337
6336
  type?: undefined;
6337
+ enum?: undefined;
6338
6338
  $ref: string;
6339
6339
  } | {
6340
6340
  $ref?: undefined;
@@ -6434,8 +6434,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6434
6434
  ComposerStoredChartAsCode: {
6435
6435
  allOf: ({
6436
6436
  type?: undefined;
6437
- required?: undefined;
6438
6437
  properties?: undefined;
6438
+ required?: undefined;
6439
6439
  $ref: string;
6440
6440
  } | {
6441
6441
  $ref?: undefined;
@@ -6601,8 +6601,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6601
6601
  ConditionalFormattingWithCompareTarget: {
6602
6602
  allOf: ({
6603
6603
  type?: undefined;
6604
- required?: undefined;
6605
6604
  properties?: undefined;
6605
+ required?: undefined;
6606
6606
  $ref: string;
6607
6607
  } | {
6608
6608
  $ref?: undefined;
@@ -6641,8 +6641,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6641
6641
  "ConditionalFormattingWithCompareTarget_number-or-string_": {
6642
6642
  allOf: ({
6643
6643
  type?: undefined;
6644
- required?: undefined;
6645
6644
  properties?: undefined;
6645
+ required?: undefined;
6646
6646
  $ref: string;
6647
6647
  } | {
6648
6648
  $ref?: undefined;
@@ -6681,8 +6681,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6681
6681
  ConditionalFormattingWithValues: {
6682
6682
  allOf: ({
6683
6683
  type?: undefined;
6684
- required?: undefined;
6685
6684
  properties?: undefined;
6685
+ required?: undefined;
6686
6686
  $ref: string;
6687
6687
  } | {
6688
6688
  $ref?: undefined;
@@ -6708,8 +6708,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
6708
6708
  "ConditionalFormattingWithValues_number-or-string_": {
6709
6709
  allOf: ({
6710
6710
  type?: undefined;
6711
- required?: undefined;
6712
6711
  properties?: undefined;
6712
+ required?: undefined;
6713
6713
  $ref: string;
6714
6714
  } | {
6715
6715
  $ref?: undefined;
@@ -7493,8 +7493,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
7493
7493
  FormulaTableCalculation: {
7494
7494
  allOf: ({
7495
7495
  type?: undefined;
7496
- required?: undefined;
7497
7496
  properties?: undefined;
7497
+ required?: undefined;
7498
7498
  $ref: string;
7499
7499
  } | {
7500
7500
  $ref?: undefined;
@@ -9891,8 +9891,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9891
9891
  SqlTableCalculation: {
9892
9892
  allOf: ({
9893
9893
  type?: undefined;
9894
- required?: undefined;
9895
9894
  properties?: undefined;
9895
+ required?: undefined;
9896
9896
  $ref: string;
9897
9897
  } | {
9898
9898
  $ref?: undefined;
@@ -9913,8 +9913,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9913
9913
  StoredNode_DuckdbSourceQuery_: {
9914
9914
  allOf: ({
9915
9915
  type?: undefined;
9916
- required?: undefined;
9917
9916
  properties?: undefined;
9917
+ required?: undefined;
9918
9918
  $ref: string;
9919
9919
  } | {
9920
9920
  $ref?: undefined;
@@ -9934,8 +9934,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9934
9934
  "StoredNode_Omit_MergeSourceQuery.pivotConfiguration__": {
9935
9935
  allOf: ({
9936
9936
  type?: undefined;
9937
- required?: undefined;
9938
9937
  properties?: undefined;
9938
+ required?: undefined;
9939
9939
  $ref: string;
9940
9940
  } | {
9941
9941
  $ref?: undefined;
@@ -9955,8 +9955,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9955
9955
  "StoredNode_Omit_PythonSourceQuery.pivotConfiguration__": {
9956
9956
  allOf: ({
9957
9957
  type?: undefined;
9958
- required?: undefined;
9959
9958
  properties?: undefined;
9959
+ required?: undefined;
9960
9960
  $ref: string;
9961
9961
  } | {
9962
9962
  $ref?: undefined;
@@ -9976,8 +9976,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9976
9976
  StoredNode_SemanticLayerSourceQuery_: {
9977
9977
  allOf: ({
9978
9978
  type?: undefined;
9979
- required?: undefined;
9980
9979
  properties?: undefined;
9980
+ required?: undefined;
9981
9981
  $ref: string;
9982
9982
  } | {
9983
9983
  $ref?: undefined;
@@ -9997,8 +9997,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
9997
9997
  StoredNode_SqlSourceQuery_: {
9998
9998
  allOf: ({
9999
9999
  type?: undefined;
10000
- required?: undefined;
10001
10000
  properties?: undefined;
10001
+ required?: undefined;
10002
10002
  $ref: string;
10003
10003
  } | {
10004
10004
  $ref?: undefined;
@@ -10320,8 +10320,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10320
10320
  TemplateTableCalculation: {
10321
10321
  allOf: ({
10322
10322
  type?: undefined;
10323
- required?: undefined;
10324
10323
  properties?: undefined;
10324
+ required?: undefined;
10325
10325
  $ref: string;
10326
10326
  } | {
10327
10327
  $ref?: undefined;
@@ -10432,8 +10432,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10432
10432
  VizBarChartConfig: {
10433
10433
  allOf: ({
10434
10434
  type?: undefined;
10435
- required?: undefined;
10436
10435
  properties?: undefined;
10436
+ required?: undefined;
10437
10437
  $ref: string;
10438
10438
  } | {
10439
10439
  $ref?: undefined;
@@ -10500,8 +10500,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10500
10500
  VizBigNumberConfig: {
10501
10501
  allOf: ({
10502
10502
  type?: undefined;
10503
- required?: undefined;
10504
10503
  properties?: undefined;
10504
+ required?: undefined;
10505
10505
  $ref: string;
10506
10506
  } | {
10507
10507
  $ref?: undefined;
@@ -10617,8 +10617,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10617
10617
  VizLineChartConfig: {
10618
10618
  allOf: ({
10619
10619
  type?: undefined;
10620
- required?: undefined;
10621
10620
  properties?: undefined;
10621
+ required?: undefined;
10622
10622
  $ref: string;
10623
10623
  } | {
10624
10624
  $ref?: undefined;
@@ -10640,8 +10640,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10640
10640
  VizPieChartConfig: {
10641
10641
  allOf: ({
10642
10642
  type?: undefined;
10643
- required?: undefined;
10644
10643
  properties?: undefined;
10644
+ required?: undefined;
10645
10645
  $ref: string;
10646
10646
  } | {
10647
10647
  $ref?: undefined;
@@ -10693,8 +10693,8 @@ export declare const getChartAsCodeBranchSchema: (contentType: ChartAsCodeConten
10693
10693
  VizTableConfig: {
10694
10694
  allOf: ({
10695
10695
  type?: undefined;
10696
- required?: undefined;
10697
10696
  properties?: undefined;
10697
+ required?: undefined;
10698
10698
  $ref: string;
10699
10699
  } | {
10700
10700
  $ref?: undefined;
@@ -18,15 +18,12 @@ type LiveIntegrationCatalogFields<C extends ApiConnectorType> = {
18
18
  settings: z.ZodType<ApiSourceOf<C>>;
19
19
  /** What one source reads, shown wherever it is listed. */
20
20
  getTarget: (apiSource: ApiSourceOf<C>) => string;
21
- /** How an agent writes one request in the integration's own query language. */
22
- agentQueryGuide: string;
23
21
  /** Offered by the onboarding tools step. Most sources are added later. */
24
22
  inOnboarding?: true;
25
23
  };
26
24
  /**
27
25
  * Everything the backend, the app and AI agents share about each live
28
- * integration. One entry per connector; a missing one fails typecheck. The
29
- * agent guide is read in this order, so add new integrations at the end.
26
+ * integration. One entry per connector; a missing one fails typecheck.
30
27
  */
31
28
  export declare const LIVE_INTEGRATION_CATALOG: {
32
29
  [C in ApiConnectorType]: LiveIntegrationCatalogFields<C>;
@@ -39,8 +36,6 @@ export type LiveIntegrationCatalogEntry = Omit<LiveIntegrationCatalogFields<ApiC
39
36
  export declare const getLiveIntegrationCatalogEntry: (connector: ApiConnectorType) => LiveIntegrationCatalogEntry;
40
37
  /** What a source reads: a PostHog project, a Search Console site, a GA4 property and so on. */
41
38
  export declare const getLiveSourceTarget: (apiSource: ExternalConnectionApiSource) => string;
42
- /** The agent tool's description of its query field, one sentence block per integration. */
43
- export declare const getLiveSourceAgentQueryGuide: () => string;
44
39
  /**
45
40
  * APIs that answer reports or their own query language, so they could be
46
41
  * queried live; users ask for them and we count the requests.
@@ -1 +1 @@
1
- {"version":3,"file":"liveSourceIntegrations.d.ts","sourceRo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EAAE,yCAAyC;EAEpD,CAAC"}
@@ -1,12 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.REQUESTABLE_LIVE_INTEGRATIONS = exports.getLiveSourceAgentQueryGuide = exports.getLiveSourceTarget = exports.getLiveIntegrationCatalogEntry = exports.LIVE_INTEGRATION_CATALOG = void 0;
3
+ exports.REQUESTABLE_LIVE_INTEGRATIONS = exports.getLiveSourceTarget = exports.getLiveIntegrationCatalogEntry = exports.LIVE_INTEGRATION_CATALOG = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const querySources_1 = require("../types/querySources");
6
6
  /**
7
7
  * Everything the backend, the app and AI agents share about each live
8
- * integration. One entry per connector; a missing one fails typecheck. The
9
- * agent guide is read in this order, so add new integrations at the end.
8
+ * integration. One entry per connector; a missing one fails typecheck.
10
9
  */
11
10
  exports.LIVE_INTEGRATION_CATALOG = {
12
11
  [querySources_1.ApiConnectorType.POSTHOG]: {
@@ -21,7 +20,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
21
20
  projectId: zod_1.z.string(),
22
21
  }),
23
22
  getTarget: ({ projectId }) => `Project ${projectId}`,
24
- agentQueryGuide: 'one HogQL SELECT, the ClickHouse SQL dialect, over tables such as events (event, timestamp, distinct_id, person_id, properties), persons (id, created_at, properties) and sessions. Read a property as properties.$browser or properties.plan. Alias every column with AS using letters, digits and underscores. PostHog stops a query after 10 seconds, so aggregate in HogQL rather than fetching raw events. List event names first when unsure which exist.',
25
23
  inOnboarding: true,
26
24
  },
27
25
  [querySources_1.ApiConnectorType.SEARCH_CONSOLE]: {
@@ -36,7 +34,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
36
34
  siteUrl: zod_1.z.string(),
37
35
  }),
38
36
  getTarget: ({ siteUrl }) => siteUrl,
39
- agentQueryGuide: 'one Search Analytics request as a JSON object with startDate and endDate (YYYY-MM-DD, required), dimensions from date, query, page, country, device and searchAppearance, and optionally type (web, image, video, news, discover, googleNews), dimensionFilterGroups and aggregationType. Rows carry the dimensions plus clicks, impressions, ctr and position; ctr and position are averages, so never sum them. Data lags about two days.',
40
37
  inOnboarding: true,
41
38
  },
42
39
  [querySources_1.ApiConnectorType.GA4]: {
@@ -51,7 +48,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
51
48
  propertyId: zod_1.z.string(),
52
49
  }),
53
50
  getTarget: ({ propertyId }) => `Property ${propertyId}`,
54
- agentQueryGuide: 'one runReport request as a JSON object with dateRanges (startDate and endDate as YYYY-MM-DD, today, yesterday or NdaysAgo), metrics (1-10, e.g. activeUsers, sessions, screenPageViews, conversions, totalRevenue) and optionally dimensions (up to 9, e.g. date, country, deviceCategory, sessionSource, pagePath, eventName), dimensionFilter, metricFilter and orderBys in the GA4 Data API shape. Columns are the API names, with any character other than letters, digits and underscores replaced by an underscore; date comes back as YYYY-MM-DD. Rate and average metrics such as bounceRate or averageSessionDuration must not be summed. Each report spends hourly quota on the property, so prefer one aggregated report over many.',
55
51
  inOnboarding: true,
56
52
  },
57
53
  [querySources_1.ApiConnectorType.META_ADS]: {
@@ -66,7 +62,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
66
62
  adAccountId: zod_1.z.string(),
67
63
  }),
68
64
  getTarget: ({ adAccountId }) => `Ad account ${adAccountId}`,
69
- agentQueryGuide: 'one Insights request as a JSON object with level (account, campaign, adset or ad), time_range ({since, until} as YYYY-MM-DD), fields (campaign_id, campaign_name, objective, adset_id, adset_name, ad_id, ad_name, spend, impressions, reach, frequency, clicks, inline_link_clicks, ctr, cpc, cpm, and actions:<type>, action_values:<type> or purchase_roas:<type> such as actions:omni_purchase), and optionally time_increment (1, monthly or all_days), breakdowns (age, gender, country, region, publisher_platform, platform_position), filtering ([{field: campaign.name, campaign.id, adset.name, adset.id, ad.name or ad.id, operator: EQUAL, NOT_EQUAL, IN, NOT_IN, CONTAIN or NOT_CONTAIN, value}]) and sort (one entry such as spend_descending). Column names are the field names, plus date_start when time_increment is set; ctr comes back as a fraction. Reach and frequency are deduplicated per row and frequency depends on reach, so never sum them.',
70
65
  },
71
66
  [querySources_1.ApiConnectorType.GOOGLE_ADS]: {
72
67
  id: 'google_ads',
@@ -81,7 +76,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
81
76
  loginCustomerId: zod_1.z.string().nullable(),
82
77
  }),
83
78
  getTarget: ({ customerId }) => `Account ${customerId}`,
84
- agentQueryGuide: "one GAQL query, SELECT fields FROM resource (customer for account totals, campaign, ad_group) WHERE segments.date BETWEEN 'YYYY-MM-DD' AND 'YYYY-MM-DD'. GAQL returns one row per resource and segment and never groups, so only select attributes that identify that resource, and a segment in WHERE must also be in SELECT, except dates. Conditions combine only with AND. Columns are the GAQL field names; money metrics come back in the account currency, already converted from micros. Rates and impression shares must not be summed.",
85
79
  },
86
80
  [querySources_1.ApiConnectorType.YOUTUBE_ANALYTICS]: {
87
81
  id: 'youtube_analytics',
@@ -95,7 +89,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
95
89
  channelId: zod_1.z.string(),
96
90
  }),
97
91
  getTarget: ({ channelId }) => `Channel ${channelId}`,
98
- agentQueryGuide: 'one channel report as a JSON object with startDate and endDate (YYYY-MM-DD, required), metrics as a comma-separated string (e.g. views,estimatedMinutesWatched,subscribersGained), and optionally dimensions (one of day, month, country, video, deviceType or insightTrafficSourceType; deviceType and insightTrafficSourceType may be paired with day), filters such as country==US or video==abc, sort such as -views, and maxResults. The channel comes from the source, so never set ids. A video report needs a descending sort on views, estimatedMinutesWatched, subscribersGained or subscribersLost and at most 200 rows. averageViewDuration and averageViewPercentage are averages, so never sum them.',
99
92
  },
100
93
  [querySources_1.ApiConnectorType.LINKEDIN_ADS]: {
101
94
  id: 'linkedin_ads',
@@ -109,7 +102,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
109
102
  adAccountId: zod_1.z.string(),
110
103
  }),
111
104
  getTarget: ({ adAccountId }) => `Ad account ${adAccountId}`,
112
- agentQueryGuide: 'one adAnalytics report as a JSON object with pivot (ACCOUNT, CAMPAIGN_GROUP or CAMPAIGN), timeGranularity (ALL, DAILY, MONTHLY or YEARLY), dateRange ({start, end} as YYYY-MM-DD), fields (1-18 metric names such as impressions, clicks, costInLocalCurrency, oneClickLeads, externalWebsiteConversions), and optionally dimensions (day, month, year, campaign.id, campaign.name, campaign.status, campaign.type, campaign.objectiveType, campaignGroup.id, campaignGroup.name), campaigns and campaignGroups (lists of numeric IDs). The ad account comes from the source, so never set it. This is sponsored Campaign Manager data, not organic Company Page analytics. approximateMemberReach is deduplicated, so never sum it, and works for at most 92 days. A report returns at most 14,999 rows with no pagination, so aggregate rather than asking for every day of every campaign.',
113
105
  },
114
106
  [querySources_1.ApiConnectorType.GITHUB]: {
115
107
  id: 'github',
@@ -124,7 +116,6 @@ exports.LIVE_INTEGRATION_CATALOG = {
124
116
  repo: zod_1.z.string(),
125
117
  }),
126
118
  getTarget: ({ owner, repo }) => `${owner}/${repo}`,
127
- agentQueryGuide: 'one JSON object of one of two kinds. A search: {"kind": "search", "type": "pr" or "issue", "q": GitHub search qualifiers such as is:open, is:merged, author:octocat, label:"bug", created:2026-10-01..2026-10-31 or NOT "word" in:title,body, "columns": fields to list from number, title, url, state, author, assignee, labels, draft, comments, created_at, updated_at, closed_at, merged_at and state_reason, or ["total_count"] alone for a count, and optionally "sort" (created, updated or comments) and "order" (asc or desc)}. The repository and the type are added for you, so never put repo:, org:, user: or is:pr in q. Search matches whole words and reads at most 1,000 results, so count with total_count rather than listing. Contributors: {"kind": "contributors", "columns": from author, week, commits, additions and deletions, and optionally "since" and "until" (YYYY-MM-DD), "authors" and "excludeAuthors"}. It reads default-branch commits per author and week, summed over the weeks when week is not a column; additions and deletions are 0 on repositories with 10,000 commits or more.',
128
119
  },
129
120
  };
130
121
  const getLiveIntegrationCatalogEntry = (connector) => {
@@ -140,11 +131,6 @@ exports.getLiveIntegrationCatalogEntry = getLiveIntegrationCatalogEntry;
140
131
  /** What a source reads: a PostHog project, a Search Console site, a GA4 property and so on. */
141
132
  const getLiveSourceTarget = (apiSource) => (0, exports.getLiveIntegrationCatalogEntry)(apiSource.connector).getTarget(apiSource);
142
133
  exports.getLiveSourceTarget = getLiveSourceTarget;
143
- /** The agent tool's description of its query field, one sentence block per integration. */
144
- const getLiveSourceAgentQueryGuide = () => Object.entries(exports.LIVE_INTEGRATION_CATALOG)
145
- .map(([connector, { agentQueryGuide }]) => `For "${connector}": ${agentQueryGuide}`)
146
- .join(' ');
147
- exports.getLiveSourceAgentQueryGuide = getLiveSourceAgentQueryGuide;
148
134
  /**
149
135
  * APIs that answer reports or their own query language, so they could be
150
136
  * queried live; users ask for them and we count the requests.
@@ -1 +1 @@
1
- {"version":3,"file":"liveSourceIntegrations.js","sourceRoot":"","sources":["../../../src/utils/liveSourceIntegrations.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,wDAAyD;AA8BzD;;;;GAIG;AACU,QAAA,wBAAwB,GAEjC;IACA,CAAC,+BAAgB,CAAC,OAAO,CAAC,EAAE;QACxB,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,SAAS;QACrB,WAAW,EAAE,iDAAiD;QAC9D,KAAK,EAAE,SAAS;QAChB,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;YACf,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,+BAAgB,CAAC,OAAO,CAAC;YAC9C,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;SACxB,CAAC;QACF,SAAS,EAAE,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,WAAW,SAAS,EAAE;QACpD,eAAe,EACX,icAAic;QACrc,YAAY,EAAE,IAAI;KACrB;IACD,CAAC,+BAAgB,CAAC,cAAc,CAAC,EAAE;QAC/B,EAAE,EAAE,uBAAuB;QAC3B,KAAK,EAAE,uBAAuB;QAC9B,YAAY,EAAE,gBAAgB;QAC9B,UAAU,EAAE,gBAAgB;QAC5B,WAAW,EAA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AAE,CAC1E,IAAA,QAAA,8BAA8B,EAAC,SAAS,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;AADhE,QAAA,mBAAmB,GAAnB,mBAAmB,CAC6C;AAE7E,2FAA2F;AACpF,MAAM,4BAA4B,GAAG,GAAG,EAAE,CAC7C,MAAM,CAAC,OAAO,CAAC,QAAA,wBAAwB,CAAC;KACnC,GAAG,CACA,CAAC,CAAC,SAAS,EAAE,EAAE,eAAe,EAAE,CAAC,EAAE,EAAE,CACjC,QAAQ,SAAS,MAAM,eAAe,EAAE,CAC/C;KACA,IAAI,CAAC,GAAG,CAAC,CAAC;AANN,QAAA,4BAA4B,GAA5B,4BAA4B,CAMtB;AAEnB;;;GAGG;AACU,QAAA,6BAA6B,GAAG;IACzC;QACI,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,2CAA2C;KAC3D;IACD;QACI,EAAE,EAAE,QAAQ;QACZ,KAAK,EAAE,QAAQ;QACf,WAAW,EAAE,qCAAqC;KACrD;IACD;QACI,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,gDAAgD;KAChE;IACD;QACI,EAAE,EAAE,UAAU;QACd,KAAK,EAAE,UAAU;QACjB,WAAW,EAAE,uCAAuC;KACvD;IACD;QACI,EAAE,EAAE,MAAM;QACV,KAAK,EAAE,MAAM;QACb,WAAW,EAAE,yCAAyC;KACzD;CACK,CAAC"}
1
+ {"version":3,"file":"liveSourceIntegrations.js","sourceRoot":"","sources":["../../../src/utils/liveSourceIntegrations.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAKxB,wDAAyD;AA4BzD;;;GAGG;AACU,QAAA,wBAAwB,GAEjC;IACA,CAAC,+BAAgB,CAAC,OAAO,CAAC,EAAE;QACxB,EAAE,EAAE,SAAS;QACb,KAAK,EAAE,SAAS;QAChB,YAAY,EAAE,SAAS;QACvB,UAAU,EAAE,SAAS;QACrB,WA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