@lightdash/common 0.1897.1 → 0.1899.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.
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +6 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +2949 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +32 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -6
- package/dist/cjs/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -6
- package/dist/cjs/ee/AiAgent/utils.d.ts +3 -3
- package/dist/cjs/types/analytics.d.ts +1 -0
- package/dist/cjs/types/analytics.d.ts.map +1 -1
- package/dist/cjs/types/analytics.js +1 -0
- package/dist/cjs/types/analytics.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +6 -6
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +2949 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js +29 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -6
- package/dist/esm/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -6
- package/dist/esm/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -6
- package/dist/esm/ee/AiAgent/utils.d.ts +3 -3
- package/dist/esm/types/analytics.d.ts +1 -0
- package/dist/esm/types/analytics.d.ts.map +1 -1
- package/dist/esm/types/analytics.js +1 -0
- package/dist/esm/types/analytics.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +6 -6
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +2949 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolTableVizArgs.d.ts +6 -6
- package/dist/types/ee/AiAgent/schemas/tools/toolTimeSeriesArgs.d.ts +6 -6
- package/dist/types/ee/AiAgent/schemas/tools/toolVerticalBarArgs.d.ts +6 -6
- package/dist/types/ee/AiAgent/utils.d.ts +3 -3
- package/dist/types/types/analytics.d.ts +1 -0
- package/dist/types/types/analytics.d.ts.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"toolRunMetricQueryArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC;AAK7B,eAAO,MAAM,iCAAiC,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;;;;EAI7C,CAAC;AAER,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,uCAAuC,CACjD,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.toolRunMetricQueryArgsSchemaTransformed = exports.toolRunMetricQueryArgsSchema = exports.TOOL_RUN_METRIC_QUERY_DESCRIPTION = void 0;
|
4
|
+
const filters_1 = require("../filters");
|
5
|
+
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
6
|
+
const visualizations_1 = require("../visualizations");
|
7
|
+
exports.TOOL_RUN_METRIC_QUERY_DESCRIPTION = `Tool: runMetricQuery
|
8
|
+
|
9
|
+
Purpose:
|
10
|
+
Run a metric query and get the results as CSV data. This is useful for data analysis and export.
|
11
|
+
|
12
|
+
Usage Tips:
|
13
|
+
- Specify the exploreName, dimensions, metrics, and any filters needed for your query
|
14
|
+
- Results are returned as CSV formatted text
|
15
|
+
- Use this when you need to analyze data or export query results
|
16
|
+
- The query respects the same limits and permissions as other visualization tools
|
17
|
+
`;
|
18
|
+
exports.toolRunMetricQueryArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)('run_metric_query', exports.TOOL_RUN_METRIC_QUERY_DESCRIPTION)
|
19
|
+
.extend({
|
20
|
+
vizConfig: visualizations_1.tableVizConfigSchema,
|
21
|
+
filters: filters_1.filtersSchema
|
22
|
+
// This is an MCP only tool
|
23
|
+
// Using optional instead of nullable here, works better with MCP clients
|
24
|
+
.optional()
|
25
|
+
.describe('Filters to apply to the query. Filtered fields must exist in the selected explore.'),
|
26
|
+
})
|
27
|
+
.build();
|
28
|
+
exports.toolRunMetricQueryArgsSchemaTransformed = exports.toolRunMetricQueryArgsSchema.transform((data) => ({
|
29
|
+
...data,
|
30
|
+
filters: filters_1.filtersSchemaTransformed.parse(data.filters ?? null),
|
31
|
+
}));
|
32
|
+
//# sourceMappingURL=toolRunMetricQueryArgs.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"toolRunMetricQueryArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.ts"],"names":[],"mappings":";;;AACA,wCAAqE;AACrE,4DAAwD;AACxD,sDAAyD;AAE5C,QAAA,iCAAiC,GAAG;;;;;;;;;;CAUhD,CAAC;AAEW,QAAA,4BAA4B,GAAG,IAAA,oCAAgB,EACxD,kBAAkB,EAClB,yCAAiC,CACpC;KACI,MAAM,CAAC;IACJ,SAAS,EAAE,qCAAoB;IAC/B,OAAO,EAAE,uBAAa;QAClB,2BAA2B;QAC3B,yEAAyE;SACxE,QAAQ,EAAE;SACV,QAAQ,CACL,oFAAoF,CACvF;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMA,QAAA,uCAAuC,GAChD,oCAA4B,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC9C,GAAG,IAAI;IACP,OAAO,EAAE,kCAAwB,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC;CAChE,CAAC,CAAC,CAAC"}
|
@@ -1171,7 +1171,6 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
1171
1171
|
})[] | null;
|
1172
1172
|
} | null;
|
1173
1173
|
description: string;
|
1174
|
-
title: string;
|
1175
1174
|
vizConfig: {
|
1176
1175
|
exploreName: string;
|
1177
1176
|
dimensions: string[];
|
@@ -1182,6 +1181,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
1182
1181
|
}[];
|
1183
1182
|
limit: number | null;
|
1184
1183
|
};
|
1184
|
+
title: string;
|
1185
1185
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1186
1186
|
}, {
|
1187
1187
|
type: AiResultType.TABLE_RESULT;
|
@@ -1367,7 +1367,6 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
1367
1367
|
})[] | null;
|
1368
1368
|
} | null;
|
1369
1369
|
description: string;
|
1370
|
-
title: string;
|
1371
1370
|
vizConfig: {
|
1372
1371
|
exploreName: string;
|
1373
1372
|
dimensions: string[];
|
@@ -1378,6 +1377,7 @@ export declare const toolTableVizArgsSchema: z.ZodObject<{
|
|
1378
1377
|
}[];
|
1379
1378
|
limit: number | null;
|
1380
1379
|
};
|
1380
|
+
title: string;
|
1381
1381
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1382
1382
|
}>;
|
1383
1383
|
export type ToolTableVizArgs = z.infer<typeof toolTableVizArgsSchema>;
|
@@ -2550,7 +2550,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2550
2550
|
})[] | null;
|
2551
2551
|
} | null;
|
2552
2552
|
description: string;
|
2553
|
-
title: string;
|
2554
2553
|
vizConfig: {
|
2555
2554
|
exploreName: string;
|
2556
2555
|
dimensions: string[];
|
@@ -2561,6 +2560,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2561
2560
|
}[];
|
2562
2561
|
limit: number | null;
|
2563
2562
|
};
|
2563
|
+
title: string;
|
2564
2564
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2565
2565
|
}, {
|
2566
2566
|
type: AiResultType.TABLE_RESULT;
|
@@ -2746,7 +2746,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2746
2746
|
})[] | null;
|
2747
2747
|
} | null;
|
2748
2748
|
description: string;
|
2749
|
-
title: string;
|
2750
2749
|
vizConfig: {
|
2751
2750
|
exploreName: string;
|
2752
2751
|
dimensions: string[];
|
@@ -2757,12 +2756,12 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2757
2756
|
}[];
|
2758
2757
|
limit: number | null;
|
2759
2758
|
};
|
2759
|
+
title: string;
|
2760
2760
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2761
2761
|
}>, {
|
2762
2762
|
filters: import("../../../..").Filters;
|
2763
2763
|
type: AiResultType.TABLE_RESULT;
|
2764
2764
|
description: string;
|
2765
|
-
title: string;
|
2766
2765
|
vizConfig: {
|
2767
2766
|
exploreName: string;
|
2768
2767
|
dimensions: string[];
|
@@ -2773,6 +2772,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2773
2772
|
}[];
|
2774
2773
|
limit: number | null;
|
2775
2774
|
};
|
2775
|
+
title: string;
|
2776
2776
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2777
2777
|
}, {
|
2778
2778
|
type: AiResultType.TABLE_RESULT;
|
@@ -2958,7 +2958,6 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2958
2958
|
})[] | null;
|
2959
2959
|
} | null;
|
2960
2960
|
description: string;
|
2961
|
-
title: string;
|
2962
2961
|
vizConfig: {
|
2963
2962
|
exploreName: string;
|
2964
2963
|
dimensions: string[];
|
@@ -2969,6 +2968,7 @@ export declare const toolTableVizArgsSchemaTransformed: z.ZodEffects<z.ZodObject
|
|
2969
2968
|
}[];
|
2970
2969
|
limit: number | null;
|
2971
2970
|
};
|
2971
|
+
title: string;
|
2972
2972
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2973
2973
|
}>;
|
2974
2974
|
export type ToolTableVizArgsTransformed = z.infer<typeof toolTableVizArgsSchemaTransformed>;
|
@@ -1183,7 +1183,6 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
1183
1183
|
})[] | null;
|
1184
1184
|
} | null;
|
1185
1185
|
description: string;
|
1186
|
-
title: string;
|
1187
1186
|
vizConfig: {
|
1188
1187
|
exploreName: string;
|
1189
1188
|
sorts: {
|
@@ -1198,6 +1197,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
1198
1197
|
xAxisLabel: string | null;
|
1199
1198
|
yAxisLabel: string | null;
|
1200
1199
|
};
|
1200
|
+
title: string;
|
1201
1201
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1202
1202
|
}, {
|
1203
1203
|
type: AiResultType.TIME_SERIES_RESULT;
|
@@ -1383,7 +1383,6 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
1383
1383
|
})[] | null;
|
1384
1384
|
} | null;
|
1385
1385
|
description: string;
|
1386
|
-
title: string;
|
1387
1386
|
vizConfig: {
|
1388
1387
|
exploreName: string;
|
1389
1388
|
sorts: {
|
@@ -1398,6 +1397,7 @@ export declare const toolTimeSeriesArgsSchema: z.ZodObject<{
|
|
1398
1397
|
xAxisLabel: string | null;
|
1399
1398
|
yAxisLabel: string | null;
|
1400
1399
|
};
|
1400
|
+
title: string;
|
1401
1401
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1402
1402
|
}>;
|
1403
1403
|
export type ToolTimeSeriesArgs = z.infer<typeof toolTimeSeriesArgsSchema>;
|
@@ -2583,7 +2583,6 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2583
2583
|
})[] | null;
|
2584
2584
|
} | null;
|
2585
2585
|
description: string;
|
2586
|
-
title: string;
|
2587
2586
|
vizConfig: {
|
2588
2587
|
exploreName: string;
|
2589
2588
|
sorts: {
|
@@ -2598,6 +2597,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2598
2597
|
xAxisLabel: string;
|
2599
2598
|
yAxisLabel: string;
|
2600
2599
|
};
|
2600
|
+
title: string;
|
2601
2601
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2602
2602
|
}, {
|
2603
2603
|
type: AiResultType.TIME_SERIES_RESULT;
|
@@ -2783,7 +2783,6 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2783
2783
|
})[] | null;
|
2784
2784
|
} | null;
|
2785
2785
|
description: string;
|
2786
|
-
title: string;
|
2787
2786
|
vizConfig: {
|
2788
2787
|
exploreName: string;
|
2789
2788
|
sorts: {
|
@@ -2798,12 +2797,12 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2798
2797
|
xAxisLabel?: string | undefined;
|
2799
2798
|
yAxisLabel?: string | undefined;
|
2800
2799
|
};
|
2800
|
+
title: string;
|
2801
2801
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2802
2802
|
}>, {
|
2803
2803
|
filters: import("../../../..").Filters;
|
2804
2804
|
type: AiResultType.TIME_SERIES_RESULT;
|
2805
2805
|
description: string;
|
2806
|
-
title: string;
|
2807
2806
|
vizConfig: {
|
2808
2807
|
exploreName: string;
|
2809
2808
|
sorts: {
|
@@ -2818,6 +2817,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
2818
2817
|
xAxisLabel: string;
|
2819
2818
|
yAxisLabel: string;
|
2820
2819
|
};
|
2820
|
+
title: string;
|
2821
2821
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2822
2822
|
}, {
|
2823
2823
|
type: AiResultType.TIME_SERIES_RESULT;
|
@@ -3003,7 +3003,6 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
3003
3003
|
})[] | null;
|
3004
3004
|
} | null;
|
3005
3005
|
description: string;
|
3006
|
-
title: string;
|
3007
3006
|
vizConfig: {
|
3008
3007
|
exploreName: string;
|
3009
3008
|
sorts: {
|
@@ -3018,6 +3017,7 @@ export declare const toolTimeSeriesArgsSchemaTransformed: z.ZodEffects<z.ZodObje
|
|
3018
3017
|
xAxisLabel?: string | undefined;
|
3019
3018
|
yAxisLabel?: string | undefined;
|
3020
3019
|
};
|
3020
|
+
title: string;
|
3021
3021
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
3022
3022
|
}>;
|
3023
3023
|
export type ToolTimeSeriesArgsTransformed = z.infer<typeof toolTimeSeriesArgsSchemaTransformed>;
|
@@ -1186,7 +1186,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
|
|
1186
1186
|
})[] | null;
|
1187
1187
|
} | null;
|
1188
1188
|
description: string;
|
1189
|
-
title: string;
|
1190
1189
|
vizConfig: {
|
1191
1190
|
exploreName: string;
|
1192
1191
|
sorts: {
|
@@ -1202,6 +1201,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
|
|
1202
1201
|
stackBars: boolean | null;
|
1203
1202
|
xAxisType: "time" | "category";
|
1204
1203
|
};
|
1204
|
+
title: string;
|
1205
1205
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1206
1206
|
}, {
|
1207
1207
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
@@ -1387,7 +1387,6 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
|
|
1387
1387
|
})[] | null;
|
1388
1388
|
} | null;
|
1389
1389
|
description: string;
|
1390
|
-
title: string;
|
1391
1390
|
vizConfig: {
|
1392
1391
|
exploreName: string;
|
1393
1392
|
sorts: {
|
@@ -1403,6 +1402,7 @@ export declare const toolVerticalBarArgsSchema: z.ZodObject<{
|
|
1403
1402
|
stackBars: boolean | null;
|
1404
1403
|
xAxisType: "time" | "category";
|
1405
1404
|
};
|
1405
|
+
title: string;
|
1406
1406
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1407
1407
|
}>;
|
1408
1408
|
export type ToolVerticalBarArgs = z.infer<typeof toolVerticalBarArgsSchema>;
|
@@ -2590,7 +2590,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2590
2590
|
})[] | null;
|
2591
2591
|
} | null;
|
2592
2592
|
description: string;
|
2593
|
-
title: string;
|
2594
2593
|
vizConfig: {
|
2595
2594
|
exploreName: string;
|
2596
2595
|
sorts: {
|
@@ -2606,6 +2605,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2606
2605
|
stackBars: boolean | null;
|
2607
2606
|
xAxisType: "time" | "category";
|
2608
2607
|
};
|
2608
|
+
title: string;
|
2609
2609
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2610
2610
|
}, {
|
2611
2611
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
@@ -2791,7 +2791,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2791
2791
|
})[] | null;
|
2792
2792
|
} | null;
|
2793
2793
|
description: string;
|
2794
|
-
title: string;
|
2795
2794
|
vizConfig: {
|
2796
2795
|
exploreName: string;
|
2797
2796
|
sorts: {
|
@@ -2807,12 +2806,12 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2807
2806
|
stackBars: boolean | null;
|
2808
2807
|
xAxisType: "time" | "category";
|
2809
2808
|
};
|
2809
|
+
title: string;
|
2810
2810
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2811
2811
|
}>, {
|
2812
2812
|
filters: import("../../../..").Filters;
|
2813
2813
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
2814
2814
|
description: string;
|
2815
|
-
title: string;
|
2816
2815
|
vizConfig: {
|
2817
2816
|
exploreName: string;
|
2818
2817
|
sorts: {
|
@@ -2828,6 +2827,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
2828
2827
|
stackBars: boolean | null;
|
2829
2828
|
xAxisType: "time" | "category";
|
2830
2829
|
};
|
2830
|
+
title: string;
|
2831
2831
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2832
2832
|
}, {
|
2833
2833
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
@@ -3013,7 +3013,6 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
3013
3013
|
})[] | null;
|
3014
3014
|
} | null;
|
3015
3015
|
description: string;
|
3016
|
-
title: string;
|
3017
3016
|
vizConfig: {
|
3018
3017
|
exploreName: string;
|
3019
3018
|
sorts: {
|
@@ -3029,6 +3028,7 @@ export declare const toolVerticalBarArgsSchemaTransformed: z.ZodEffects<z.ZodObj
|
|
3029
3028
|
stackBars: boolean | null;
|
3030
3029
|
xAxisType: "time" | "category";
|
3031
3030
|
};
|
3031
|
+
title: string;
|
3032
3032
|
followUpTools: (FollowUpTools.GENERATE_BAR_VIZ | FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
3033
3033
|
}>;
|
3034
3034
|
export type ToolVerticalBarArgsTransformed = z.infer<typeof toolVerticalBarArgsSchemaTransformed>;
|
@@ -5,7 +5,6 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
5
5
|
filters: import("../..").Filters;
|
6
6
|
type: AiResultType.VERTICAL_BAR_RESULT;
|
7
7
|
description: string;
|
8
|
-
title: string;
|
9
8
|
vizConfig: {
|
10
9
|
exploreName: string;
|
11
10
|
sorts: {
|
@@ -21,6 +20,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
21
20
|
stackBars: boolean | null;
|
22
21
|
xAxisType: "time" | "category";
|
23
22
|
};
|
23
|
+
title: string;
|
24
24
|
followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
25
25
|
};
|
26
26
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
@@ -30,7 +30,6 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
30
30
|
filters: import("../..").Filters;
|
31
31
|
type: AiResultType.TIME_SERIES_RESULT;
|
32
32
|
description: string;
|
33
|
-
title: string;
|
34
33
|
vizConfig: {
|
35
34
|
exploreName: string;
|
36
35
|
sorts: {
|
@@ -45,6 +44,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
45
44
|
xAxisLabel: string;
|
46
45
|
yAxisLabel: string;
|
47
46
|
};
|
47
|
+
title: string;
|
48
48
|
followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
49
49
|
};
|
50
50
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
@@ -54,7 +54,6 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
54
54
|
filters: import("../..").Filters;
|
55
55
|
type: AiResultType.TABLE_RESULT;
|
56
56
|
description: string;
|
57
|
-
title: string;
|
58
57
|
vizConfig: {
|
59
58
|
exploreName: string;
|
60
59
|
dimensions: string[];
|
@@ -65,6 +64,7 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
65
64
|
}[];
|
66
65
|
limit: number | null;
|
67
66
|
};
|
67
|
+
title: string;
|
68
68
|
followUpTools: (import("./followUpTools").FollowUpTools.GENERATE_BAR_VIZ | import("./followUpTools").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
69
69
|
};
|
70
70
|
readonly metricQuery: import("./types").AiMetricQueryWithFilters;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../../src/types/analytics.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AACF,MAAM,MAAM,aAAa,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,wBAAwB,EAAE,MAAM,CAAC;IAEjC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,yBAAyB,EAAE,MAAM,CAAC;IAClC,gBAAgB,EAAE,aAAa,EAAE,CAAC;IAClC,sBAAsB,EAAE,aAAa,EAAE,CAAC;IACxC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,wBAAwB,EAAE;QACtB,IAAI,EAAE,IAAI,CAAC;QACX,mBAAmB,EAAE,MAAM,CAAC;QAC5B,uBAAuB,EAAE,MAAM,CAAC;KACnC,EAAE,CAAC;IACJ,yBAAyB,EAAE;QACvB,IAAI,EAAE,IAAI,CAAC;QACX,yCAAyC,EAAE,MAAM,CAAC;KACrD,EAAE,CAAC;IACJ,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,wBAAwB,EAAE,CAAC,aAAa,GAAG;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IACxE,UAAU,EAAE,aAAa,EAAE,CAAC;CAC/B,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a,iBAAiB;IAC9B,SAAS,iBAAiB;IAC1B,UAAU,cAAc;IACxB,oBAAoB,uBAAuB;IAC3C,KAAK,UAAU;IACf,kBAAkB,sBAAsB;IACxC,GAAG,gBAAgB;IACnB,OAAO,YAAY;IACnB,uBAAuB,0BAA0B;IACjD,2BAA2B,8BAA8B;IACzD,eAAe,mBAAmB;IAClC,mBAAmB,uBAAuB;IAC1C,eAAe,mBAAmB;IAClC,kBAAkB,sBAAsB;IACxC,KAAK,UAAU;IACf,EAAE,OAAO;IACT,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,gBAAgB,oBAAoB;CACvC"}
|
@@ -24,6 +24,7 @@ var QueryExecutionContext;
|
|
24
24
|
QueryExecutionContext["CALCULATE_SUBTOTAL"] = "calculateSubtotal";
|
25
25
|
QueryExecutionContext["EMBED"] = "embed";
|
26
26
|
QueryExecutionContext["AI"] = "ai";
|
27
|
+
QueryExecutionContext["MCP"] = "mcp";
|
27
28
|
QueryExecutionContext["API"] = "api";
|
28
29
|
QueryExecutionContext["CLI"] = "cli";
|
29
30
|
QueryExecutionContext["METRICS_EXPLORER"] = "metricsExplorer";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/types/analytics.ts"],"names":[],"mappings":";;;AAmDA,IAAY,
|
1
|
+
{"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../../src/types/analytics.ts"],"names":[],"mappings":";;;AAmDA,IAAY,qBA0BX;AA1BD,WAAY,qBAAqB;IAC7B,oDAA2B,CAAA;IAC3B,2EAAkD,CAAA;IAClD,gDAAuB,CAAA;IACvB,mEAA0C,CAAA;IAC1C,4CAAmB,CAAA;IACnB,uDAA8B,CAAA;IAC9B,mDAA0B,CAAA;IAC1B,iDAAwB,CAAA;IACxB,oEAA2C,CAAA;IAC3C,wCAAe,CAAA;IACf,iEAAwC,CAAA;IACxC,4CAAmB,CAAA;IACnB,4CAAmB,CAAA;IACnB,0EAAiD,CAAA;IACjD,kFAAyD,CAAA;IACzD,2DAAkC,CAAA;IAClC,mEAA0C,CAAA;IAC1C,2DAAkC,CAAA;IAClC,iEAAwC,CAAA;IACxC,wCAAe,CAAA;IACf,kCAAS,CAAA;IACT,oCAAW,CAAA;IACX,oCAAW,CAAA;IACX,oCAAW,CAAA;IACX,6DAAoC,CAAA;AACxC,CAAC,EA1BW,qBAAqB,qCAArB,qBAAqB,QA0BhC"}
|
@@ -1261,7 +1261,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
1261
1261
|
})[] | null;
|
1262
1262
|
} | null;
|
1263
1263
|
description: string;
|
1264
|
-
title: string;
|
1265
1264
|
vizConfig: {
|
1266
1265
|
exploreName: string;
|
1267
1266
|
sorts: {
|
@@ -1277,6 +1276,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
1277
1276
|
stackBars: boolean | null;
|
1278
1277
|
xAxisType: "time" | "category";
|
1279
1278
|
};
|
1279
|
+
title: string;
|
1280
1280
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1281
1281
|
}, {
|
1282
1282
|
type: import("..").AiResultType.VERTICAL_BAR_RESULT;
|
@@ -1462,7 +1462,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
1462
1462
|
})[] | null;
|
1463
1463
|
} | null;
|
1464
1464
|
description: string;
|
1465
|
-
title: string;
|
1466
1465
|
vizConfig: {
|
1467
1466
|
exploreName: string;
|
1468
1467
|
sorts: {
|
@@ -1478,6 +1477,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
1478
1477
|
stackBars: boolean | null;
|
1479
1478
|
xAxisType: "time" | "category";
|
1480
1479
|
};
|
1480
|
+
title: string;
|
1481
1481
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
1482
1482
|
}>, z.ZodObject<{
|
1483
1483
|
type: z.ZodLiteral<import("..").AiResultType.TABLE_RESULT>;
|
@@ -2648,7 +2648,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
2648
2648
|
})[] | null;
|
2649
2649
|
} | null;
|
2650
2650
|
description: string;
|
2651
|
-
title: string;
|
2652
2651
|
vizConfig: {
|
2653
2652
|
exploreName: string;
|
2654
2653
|
dimensions: string[];
|
@@ -2659,6 +2658,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
2659
2658
|
}[];
|
2660
2659
|
limit: number | null;
|
2661
2660
|
};
|
2661
|
+
title: string;
|
2662
2662
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2663
2663
|
}, {
|
2664
2664
|
type: import("..").AiResultType.TABLE_RESULT;
|
@@ -2844,7 +2844,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
2844
2844
|
})[] | null;
|
2845
2845
|
} | null;
|
2846
2846
|
description: string;
|
2847
|
-
title: string;
|
2848
2847
|
vizConfig: {
|
2849
2848
|
exploreName: string;
|
2850
2849
|
dimensions: string[];
|
@@ -2855,6 +2854,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
2855
2854
|
}[];
|
2856
2855
|
limit: number | null;
|
2857
2856
|
};
|
2857
|
+
title: string;
|
2858
2858
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
2859
2859
|
}>, z.ZodObject<{
|
2860
2860
|
type: z.ZodLiteral<import("..").AiResultType.TIME_SERIES_RESULT>;
|
@@ -4037,7 +4037,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
4037
4037
|
})[] | null;
|
4038
4038
|
} | null;
|
4039
4039
|
description: string;
|
4040
|
-
title: string;
|
4041
4040
|
vizConfig: {
|
4042
4041
|
exploreName: string;
|
4043
4042
|
sorts: {
|
@@ -4052,6 +4051,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
4052
4051
|
xAxisLabel: string | null;
|
4053
4052
|
yAxisLabel: string | null;
|
4054
4053
|
};
|
4054
|
+
title: string;
|
4055
4055
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
4056
4056
|
}, {
|
4057
4057
|
type: import("..").AiResultType.TIME_SERIES_RESULT;
|
@@ -4237,7 +4237,6 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
4237
4237
|
})[] | null;
|
4238
4238
|
} | null;
|
4239
4239
|
description: string;
|
4240
|
-
title: string;
|
4241
4240
|
vizConfig: {
|
4242
4241
|
exploreName: string;
|
4243
4242
|
sorts: {
|
@@ -4252,6 +4251,7 @@ export declare const AgentToolCallArgsSchema: z.ZodDiscriminatedUnion<"type", [z
|
|
4252
4251
|
xAxisLabel: string | null;
|
4253
4252
|
yAxisLabel: string | null;
|
4254
4253
|
};
|
4254
|
+
title: string;
|
4255
4255
|
followUpTools: (import("..").FollowUpTools.GENERATE_BAR_VIZ | import("..").FollowUpTools.GENERATE_TIME_SERIES_VIZ)[];
|
4256
4256
|
}>, z.ZodObject<{
|
4257
4257
|
type: z.ZodLiteral<"find_explores">;
|
@@ -2,6 +2,7 @@ export * from './toolFindChartsArgs';
|
|
2
2
|
export * from './toolFindDashboardsArgs';
|
3
3
|
export * from './toolFindExploresArgs';
|
4
4
|
export * from './toolFindFieldsArgs';
|
5
|
+
export * from './toolRunMetricQueryArgs';
|
5
6
|
export * from './toolTableVizArgs';
|
6
7
|
export * from './toolTimeSeriesArgs';
|
7
8
|
export * from './toolVerticalBarArgs';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
@@ -2,6 +2,7 @@ export * from './toolFindChartsArgs';
|
|
2
2
|
export * from './toolFindDashboardsArgs';
|
3
3
|
export * from './toolFindExploresArgs';
|
4
4
|
export * from './toolFindFieldsArgs';
|
5
|
+
export * from './toolRunMetricQueryArgs';
|
5
6
|
export * from './toolTableVizArgs';
|
6
7
|
export * from './toolTimeSeriesArgs';
|
7
8
|
export * from './toolVerticalBarArgs';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|