@lightdash/common 2.88.1 → 2.89.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/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
- 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/toolDefinitions.d.ts +3 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js +13 -2
- package/dist/cjs/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +4 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +10 -4
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +14 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +70 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +39 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +2 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +27 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +65 -65
- package/dist/cjs/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +3 -0
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/utils.d.ts +25 -25
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
- 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/toolDefinitions.d.ts +3 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +4 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +10 -4
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +14 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +70 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +35 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +2 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +25 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +65 -65
- package/dist/esm/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +3 -0
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/utils.d.ts +25 -25
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/chartConfig/web/getWebAiChartConfig.d.ts +12 -12
- 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/index.js +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/index.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts +3 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js +11 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolDefinitions.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts +4 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js +10 -4
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js +14 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGenerateDataAppArgs.test.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts +70 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js +35 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.js.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts +2 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js +25 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.js.map +1 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolRunMetricQueryArgs.d.ts +65 -65
- package/dist/types/ee/AiAgent/schemas/tools/toolSearchFieldValuesArgs.d.ts +22 -22
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts +4 -2
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js +3 -0
- package/dist/types/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/types/ee/AiAgent/utils.d.ts +25 -25
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isToolDataAppBuildResult = exports.isToolIterateDataAppResult = exports.toolIterateDataAppOutputSchema = exports.toolIterateDataAppArgsSchema = exports.TOOL_ITERATE_DATA_APP_DESCRIPTION = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const builtInToolResultGuard_1 = require("./builtInToolResultGuard");
|
|
6
|
+
const toolGenerateDataAppArgs_1 = require("./toolGenerateDataAppArgs");
|
|
7
|
+
exports.TOOL_ITERATE_DATA_APP_DESCRIPTION = [
|
|
8
|
+
'Start a build that adds a version to an existing data app from a follow-up brief.',
|
|
9
|
+
'Use it when the user wants to change, fix, or extend a data app that already exists — one built earlier in this thread, or one found with findContent; use generateDataApp only for a brand-new app.',
|
|
10
|
+
"The coding agent works from the app's current source, so the brief should describe the change, not restate the whole app.",
|
|
11
|
+
'The build runs in the background for several minutes, so the call returns as soon as it has started (status: "pending"). One request, one call: tell the user the build has started, then end your turn — never wait, poll, or call this tool again for the same request.',
|
|
12
|
+
'A later turn sees the outcome on this call\'s result: "success" carries the app name and the builder link (href) to share; "error" carries the failure message. While a version is already building for the app, the call fails — relay that the user should wait for the current build to finish.',
|
|
13
|
+
].join(' ');
|
|
14
|
+
exports.toolIterateDataAppArgsSchema = zod_1.z.object({
|
|
15
|
+
appSlug: zod_1.z
|
|
16
|
+
.string()
|
|
17
|
+
.describe('Slug of the data app to change — from an earlier generateDataApp or iterateDataApp result, findContent, or readContent.'),
|
|
18
|
+
prompt: zod_1.z
|
|
19
|
+
.string()
|
|
20
|
+
.describe("A self-contained brief of the change for the coding agent, which sees the app's current source and the semantic layer but not this conversation. Describe what to change and the outcome you expect, and include every detail from this thread the change depends on."),
|
|
21
|
+
dashboardSlug: zod_1.z
|
|
22
|
+
.string()
|
|
23
|
+
.nullish()
|
|
24
|
+
.default(null)
|
|
25
|
+
.describe("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."),
|
|
26
|
+
chartSlugs: zod_1.z
|
|
27
|
+
.array(zod_1.z.string())
|
|
28
|
+
.nullish()
|
|
29
|
+
.default(null)
|
|
30
|
+
.describe('Saved charts (slugs from findContent) whose queries the change builds on; the charts themselves stay unchanged. Omit when the change does not reference saved charts.'),
|
|
31
|
+
});
|
|
32
|
+
// The iterate tool shares the create tool's outcome contract: same pending,
|
|
33
|
+
// success, and error shapes, patched by the same build outcome recording.
|
|
34
|
+
exports.toolIterateDataAppOutputSchema = toolGenerateDataAppArgs_1.toolGenerateDataAppOutputSchema;
|
|
35
|
+
exports.isToolIterateDataAppResult = (0, builtInToolResultGuard_1.makeBuiltInToolResultGuard)('iterateDataApp', toolGenerateDataAppArgs_1.toolGenerateDataAppOutputSchema.shape.metadata);
|
|
36
|
+
/** A data app build result from either the create or the iterate tool. */
|
|
37
|
+
const isToolDataAppBuildResult = (result) => (0, toolGenerateDataAppArgs_1.isToolGenerateDataAppResult)(result) || (0, exports.isToolIterateDataAppResult)(result);
|
|
38
|
+
exports.isToolDataAppBuildResult = isToolDataAppBuildResult;
|
|
39
|
+
//# sourceMappingURL=toolIterateDataAppArgs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolIterateDataAppArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qEAAsE;AACtE,uEAImC;AAEtB,QAAA,iCAAiC,GAAG;IAC7C,mFAAmF;IACnF,sMAAsM;IACtM,2HAA2H;IAC3H,2QAA2Q;IAC3Q,oSAAoS;CACvS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,4BAA4B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,OAAO,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACL,yHAAyH,CAC5H;IACL,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,CACL,uQAAuQ,CAC1Q;IACL,aAAa,EAAE,OAAC;SACX,MAAM,EAAE;SACR,OAAO,EAAE;SACT,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACL,4NAA4N,CAC/N;IACL,UAAU,EAAE,OAAC;SACR,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;SACjB,OAAO,EAAE;SACT,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACL,uKAAuK,CAC1K;CACR,CAAC,CAAC;AAEH,4EAA4E;AAC5E,0EAA0E;AAC7D,QAAA,8BAA8B,GAAG,yDAA+B,CAAC;AAUjE,QAAA,0BAA0B,GAAG,IAAA,mDAA0B,EAChE,gBAAgB,EAChB,yDAA+B,CAAC,KAAK,CAAC,QAAQ,CACjD,CAAC;AAEF,0EAA0E;AACnE,MAAM,wBAAwB,GAAG,CAGpC,MAAS,EAKX,EAAE,CAAC,IAAA,qDAA2B,EAAC,MAAM,CAAC,IAAI,IAAA,QAAA,0BAA0B,EAAC,MAAM,CAAC,CAAC;AARlE,QAAA,wBAAwB,GAAxB,wBAAwB,CAQ0C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolIterateDataAppArgs.test.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const toolIterateDataAppArgs_1 = require("./toolIterateDataAppArgs");
|
|
4
|
+
const pendingResult = (toolName) => ({
|
|
5
|
+
toolType: 'built-in',
|
|
6
|
+
toolName,
|
|
7
|
+
metadata: { status: 'pending', appUuid: 'app-1', version: 2 },
|
|
8
|
+
});
|
|
9
|
+
describe('data app build result guards', () => {
|
|
10
|
+
it('matches an iterateDataApp result', () => {
|
|
11
|
+
expect((0, toolIterateDataAppArgs_1.isToolIterateDataAppResult)(pendingResult('iterateDataApp'))).toBe(true);
|
|
12
|
+
expect((0, toolIterateDataAppArgs_1.isToolIterateDataAppResult)(pendingResult('generateDataApp'))).toBe(false);
|
|
13
|
+
});
|
|
14
|
+
it('drives the build card from either tool name', () => {
|
|
15
|
+
expect((0, toolIterateDataAppArgs_1.isToolDataAppBuildResult)(pendingResult('generateDataApp'))).toBe(true);
|
|
16
|
+
expect((0, toolIterateDataAppArgs_1.isToolDataAppBuildResult)(pendingResult('iterateDataApp'))).toBe(true);
|
|
17
|
+
expect((0, toolIterateDataAppArgs_1.isToolDataAppBuildResult)(pendingResult('editDbtProject'))).toBe(false);
|
|
18
|
+
});
|
|
19
|
+
it('rejects metadata that does not parse as a build outcome', () => {
|
|
20
|
+
expect((0, toolIterateDataAppArgs_1.isToolDataAppBuildResult)({
|
|
21
|
+
toolType: 'built-in',
|
|
22
|
+
toolName: 'iterateDataApp',
|
|
23
|
+
metadata: { status: 'nonsense' },
|
|
24
|
+
})).toBe(false);
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
//# sourceMappingURL=toolIterateDataAppArgs.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolIterateDataAppArgs.test.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolIterateDataAppArgs.test.ts"],"names":[],"mappings":";;AAAA,qEAGkC;AAElC,MAAM,aAAa,GAAG,CAAC,QAAgB,EAAE,EAAE,CAAC,CAAC;IACzC,QAAQ,EAAE,UAAU;IACpB,QAAQ;IACR,QAAQ,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE;CAChE,CAAC,CAAC;AAEH,QAAQ,CAAC,8BAA8B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,kCAAkC,EAAE,GAAG,EAAE;QACxC,MAAM,CACF,IAAA,mDAA0B,EAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAC9D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACb,MAAM,CACF,IAAA,mDAA0B,EAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAC/D,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACnD,MAAM,CAAC,IAAA,iDAAwB,EAAC,aAAa,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,IAAI,CACnE,IAAI,CACP,CAAC;QACF,MAAM,CAAC,IAAA,iDAAwB,EAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAClE,IAAI,CACP,CAAC;QACF,MAAM,CAAC,IAAA,iDAAwB,EAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAClE,KAAK,CACR,CAAC;IACN,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE;QAC/D,MAAM,CACF,IAAA,iDAAwB,EAAC;YACrB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,gBAAgB;YAC1B,QAAQ,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;SACnC,CAAC,CACL,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -967,18 +967,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
967
967
|
limit: number | null;
|
|
968
968
|
};
|
|
969
969
|
tableCalculations: ({
|
|
970
|
-
name: string;
|
|
971
|
-
displayName: string;
|
|
972
|
-
type: "formula";
|
|
973
|
-
formula: string;
|
|
974
|
-
format: "number" | "percent" | null;
|
|
975
|
-
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
976
|
-
} | {
|
|
977
|
-
name: string;
|
|
978
|
-
displayName: string;
|
|
979
|
-
type: "rank_in_column";
|
|
980
|
-
fieldId: string;
|
|
981
|
-
} | {
|
|
982
970
|
name: string;
|
|
983
971
|
displayName: string;
|
|
984
972
|
type: "percent_change_from_previous";
|
|
@@ -988,6 +976,18 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
988
976
|
order: "asc" | "desc" | null;
|
|
989
977
|
}[];
|
|
990
978
|
partitionBy: string[] | null;
|
|
979
|
+
} | {
|
|
980
|
+
name: string;
|
|
981
|
+
displayName: string;
|
|
982
|
+
type: "running_total";
|
|
983
|
+
fieldId: string;
|
|
984
|
+
} | {
|
|
985
|
+
name: string;
|
|
986
|
+
displayName: string;
|
|
987
|
+
type: "formula";
|
|
988
|
+
formula: string;
|
|
989
|
+
format: "number" | "percent" | null;
|
|
990
|
+
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
991
991
|
} | {
|
|
992
992
|
name: string;
|
|
993
993
|
displayName: string;
|
|
@@ -1007,7 +1007,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1007
1007
|
} | {
|
|
1008
1008
|
name: string;
|
|
1009
1009
|
displayName: string;
|
|
1010
|
-
type: "
|
|
1010
|
+
type: "rank_in_column";
|
|
1011
1011
|
fieldId: string;
|
|
1012
1012
|
} | {
|
|
1013
1013
|
name: string;
|
|
@@ -1047,6 +1047,12 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1047
1047
|
limit: number | null;
|
|
1048
1048
|
};
|
|
1049
1049
|
customMetrics: ({
|
|
1050
|
+
kind: "periodComparison";
|
|
1051
|
+
baseMetricId: string;
|
|
1052
|
+
timeDimensionId: string;
|
|
1053
|
+
granularity: import("../../../..").TimeFrames;
|
|
1054
|
+
periodOffset: number;
|
|
1055
|
+
} | {
|
|
1050
1056
|
kind: "aggregation";
|
|
1051
1057
|
name: string;
|
|
1052
1058
|
label: string;
|
|
@@ -1056,17 +1062,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1056
1062
|
type: import("../../../..").MetricType.PERCENTILE | import("../../../..").MetricType.AVERAGE | import("../../../..").MetricType.COUNT | import("../../../..").MetricType.COUNT_DISTINCT | import("../../../..").MetricType.SUM | import("../../../..").MetricType.MIN | import("../../../..").MetricType.MAX | import("../../../..").MetricType.MEDIAN;
|
|
1057
1063
|
filters: {
|
|
1058
1064
|
filter: {
|
|
1059
|
-
fieldId: string;
|
|
1060
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1061
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1062
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1063
|
-
} | {
|
|
1064
|
-
fieldId: string;
|
|
1065
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1066
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1067
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1068
|
-
values: string[];
|
|
1069
|
-
} | {
|
|
1070
1065
|
fieldId: string;
|
|
1071
1066
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1072
1067
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1077,6 +1072,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1077
1072
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1078
1073
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1079
1074
|
values: boolean[];
|
|
1075
|
+
} | {
|
|
1076
|
+
fieldId: string;
|
|
1077
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1078
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1079
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1080
|
+
} | {
|
|
1081
|
+
fieldId: string;
|
|
1082
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1083
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1084
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1085
|
+
values: string[];
|
|
1080
1086
|
} | {
|
|
1081
1087
|
fieldId: string;
|
|
1082
1088
|
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;
|
|
@@ -1146,26 +1152,8 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1146
1152
|
};
|
|
1147
1153
|
table: string;
|
|
1148
1154
|
}[] | null;
|
|
1149
|
-
} | {
|
|
1150
|
-
kind: "periodComparison";
|
|
1151
|
-
baseMetricId: string;
|
|
1152
|
-
timeDimensionId: string;
|
|
1153
|
-
granularity: import("../../../..").TimeFrames;
|
|
1154
|
-
periodOffset: number;
|
|
1155
1155
|
})[] | null;
|
|
1156
1156
|
tableCalculations: ({
|
|
1157
|
-
name: string;
|
|
1158
|
-
displayName: string;
|
|
1159
|
-
type: "formula";
|
|
1160
|
-
formula: string;
|
|
1161
|
-
format: "number" | "percent" | null;
|
|
1162
|
-
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
1163
|
-
} | {
|
|
1164
|
-
name: string;
|
|
1165
|
-
displayName: string;
|
|
1166
|
-
type: "rank_in_column";
|
|
1167
|
-
fieldId: string;
|
|
1168
|
-
} | {
|
|
1169
1157
|
name: string;
|
|
1170
1158
|
displayName: string;
|
|
1171
1159
|
type: "percent_change_from_previous";
|
|
@@ -1175,6 +1163,18 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1175
1163
|
order: "asc" | "desc" | null;
|
|
1176
1164
|
}[];
|
|
1177
1165
|
partitionBy: string[] | null;
|
|
1166
|
+
} | {
|
|
1167
|
+
name: string;
|
|
1168
|
+
displayName: string;
|
|
1169
|
+
type: "running_total";
|
|
1170
|
+
fieldId: string;
|
|
1171
|
+
} | {
|
|
1172
|
+
name: string;
|
|
1173
|
+
displayName: string;
|
|
1174
|
+
type: "formula";
|
|
1175
|
+
formula: string;
|
|
1176
|
+
format: "number" | "percent" | null;
|
|
1177
|
+
resultType: "boolean" | "date" | "number" | "string" | "timestamp" | null;
|
|
1178
1178
|
} | {
|
|
1179
1179
|
name: string;
|
|
1180
1180
|
displayName: string;
|
|
@@ -1194,7 +1194,7 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1194
1194
|
} | {
|
|
1195
1195
|
name: string;
|
|
1196
1196
|
displayName: string;
|
|
1197
|
-
type: "
|
|
1197
|
+
type: "rank_in_column";
|
|
1198
1198
|
fieldId: string;
|
|
1199
1199
|
} | {
|
|
1200
1200
|
name: string;
|
|
@@ -1222,17 +1222,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1222
1222
|
filters: {
|
|
1223
1223
|
type: "and" | "or";
|
|
1224
1224
|
dimensions: ({
|
|
1225
|
-
fieldId: string;
|
|
1226
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1227
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1228
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1229
|
-
} | {
|
|
1230
|
-
fieldId: string;
|
|
1231
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1232
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1233
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1234
|
-
values: string[];
|
|
1235
|
-
} | {
|
|
1236
1225
|
fieldId: string;
|
|
1237
1226
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1238
1227
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1243,6 +1232,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1243
1232
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1244
1233
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1245
1234
|
values: boolean[];
|
|
1235
|
+
} | {
|
|
1236
|
+
fieldId: string;
|
|
1237
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1238
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1239
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1240
|
+
} | {
|
|
1241
|
+
fieldId: string;
|
|
1242
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1243
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1244
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1245
|
+
values: string[];
|
|
1246
1246
|
} | {
|
|
1247
1247
|
fieldId: string;
|
|
1248
1248
|
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;
|
|
@@ -1311,17 +1311,6 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1311
1311
|
values: string[];
|
|
1312
1312
|
})[] | null;
|
|
1313
1313
|
metrics: ({
|
|
1314
|
-
fieldId: string;
|
|
1315
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1316
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1317
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1318
|
-
} | {
|
|
1319
|
-
fieldId: string;
|
|
1320
|
-
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1321
|
-
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1322
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1323
|
-
values: string[];
|
|
1324
|
-
} | {
|
|
1325
1314
|
fieldId: string;
|
|
1326
1315
|
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
1327
1316
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
@@ -1332,6 +1321,17 @@ export declare const toolRunMetricQueryArgsSchemaTransformed: z.ZodPipe<z.ZodObj
|
|
|
1332
1321
|
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
1333
1322
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
1334
1323
|
values: boolean[];
|
|
1324
|
+
} | {
|
|
1325
|
+
fieldId: string;
|
|
1326
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1327
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1328
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
1329
|
+
} | {
|
|
1330
|
+
fieldId: string;
|
|
1331
|
+
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
1332
|
+
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
1333
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
1334
|
+
values: string[];
|
|
1335
1335
|
} | {
|
|
1336
1336
|
fieldId: string;
|
|
1337
1337
|
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;
|
|
@@ -439,17 +439,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
439
439
|
filters: {
|
|
440
440
|
type: "and" | "or";
|
|
441
441
|
dimensions: ({
|
|
442
|
-
fieldId: string;
|
|
443
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
444
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
445
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
446
|
-
} | {
|
|
447
|
-
fieldId: string;
|
|
448
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
449
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
450
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
451
|
-
values: boolean[];
|
|
452
|
-
} | {
|
|
453
442
|
fieldId: string;
|
|
454
443
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
455
444
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -460,6 +449,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
460
449
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
461
450
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
462
451
|
values: string[];
|
|
452
|
+
} | {
|
|
453
|
+
fieldId: string;
|
|
454
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
455
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
456
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
457
|
+
} | {
|
|
458
|
+
fieldId: string;
|
|
459
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
460
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
461
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
462
|
+
values: boolean[];
|
|
463
463
|
} | {
|
|
464
464
|
fieldId: string;
|
|
465
465
|
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;
|
|
@@ -528,17 +528,6 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
528
528
|
values: string[];
|
|
529
529
|
})[] | null;
|
|
530
530
|
metrics: ({
|
|
531
|
-
fieldId: string;
|
|
532
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
533
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
534
|
-
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
535
|
-
} | {
|
|
536
|
-
fieldId: string;
|
|
537
|
-
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
538
|
-
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
539
|
-
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
540
|
-
values: boolean[];
|
|
541
|
-
} | {
|
|
542
531
|
fieldId: string;
|
|
543
532
|
fieldType: import("../../../..").DimensionType.STRING | import("../../../..").MetricType.STRING;
|
|
544
533
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
@@ -549,6 +538,17 @@ export declare const toolSearchFieldValuesArgsSchemaTransformed: z.ZodPipe<z.Zod
|
|
|
549
538
|
fieldFilterType: import("../../../..").FilterType.STRING;
|
|
550
539
|
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS | import("../../../..").FilterOperator.STARTS_WITH | import("../../../..").FilterOperator.ENDS_WITH | import("../../../..").FilterOperator.INCLUDE | import("../../../..").FilterOperator.NOT_INCLUDE;
|
|
551
540
|
values: string[];
|
|
541
|
+
} | {
|
|
542
|
+
fieldId: string;
|
|
543
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
544
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
545
|
+
operator: import("../../../..").FilterOperator.NULL | import("../../../..").FilterOperator.NOT_NULL;
|
|
546
|
+
} | {
|
|
547
|
+
fieldId: string;
|
|
548
|
+
fieldType: import("../../../..").DimensionType.BOOLEAN | import("../../../..").MetricType.BOOLEAN;
|
|
549
|
+
fieldFilterType: import("../../../..").FilterType.BOOLEAN;
|
|
550
|
+
operator: import("../../../..").FilterOperator.EQUALS | import("../../../..").FilterOperator.NOT_EQUALS;
|
|
551
|
+
values: boolean[];
|
|
552
552
|
} | {
|
|
553
553
|
fieldId: string;
|
|
554
554
|
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;
|
|
@@ -30,6 +30,7 @@ export declare const ToolNameSchema: z.ZodEnum<{
|
|
|
30
30
|
getProjectInfo: "getProjectInfo";
|
|
31
31
|
getPullRequestDiff: "getPullRequestDiff";
|
|
32
32
|
grepFields: "grepFields";
|
|
33
|
+
iterateDataApp: "iterateDataApp";
|
|
33
34
|
listContent: "listContent";
|
|
34
35
|
listKnowledgeDocuments: "listKnowledgeDocuments";
|
|
35
36
|
listProjects: "listProjects";
|
|
@@ -87,6 +88,7 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
87
88
|
getProjectInfo: "getProjectInfo";
|
|
88
89
|
getPullRequestDiff: "getPullRequestDiff";
|
|
89
90
|
grepFields: "grepFields";
|
|
91
|
+
iterateDataApp: "iterateDataApp";
|
|
90
92
|
listContent: "listContent";
|
|
91
93
|
listKnowledgeDocuments: "listKnowledgeDocuments";
|
|
92
94
|
listProjects: "listProjects";
|
|
@@ -111,6 +113,6 @@ export declare const ToolDisplayMessagesSchema: z.ZodRecord<z.ZodEnum<{
|
|
|
111
113
|
syncDbtProject: "syncDbtProject";
|
|
112
114
|
updateUserName: "updateUserName";
|
|
113
115
|
}> & z.core.$partial, z.ZodString>;
|
|
114
|
-
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" | "listContent" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
115
|
-
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" | "listContent" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
116
|
+
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" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
117
|
+
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" | "listKnowledgeDocuments" | "listProjects" | "listWarehouseTables" | "listWorkstreams" | "loadMcpTools" | "loadProjectContext" | "loadSkill" | "readContent" | "readPinnedThread" | "resolveUrl" | "runComposerQueries" | "runContentQuery" | "runQuery" | "runSavedChart" | "runSql" | "searchFieldValues" | "searchSemanticLayer" | "setupPreviewDeploy" | "submitResearchReport" | "submitWorkerFindings" | "syncDbtProject" | "updateUserName", string>>;
|
|
116
118
|
//# 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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDzB,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,6kCAsDhC,CAAC;AAGH,eAAO,MAAM,qCAAqC,6kCAuD5C,CAAC"}
|
|
@@ -34,6 +34,7 @@ exports.ToolNameSchema = zod_1.z.enum([
|
|
|
34
34
|
'loadProjectContext',
|
|
35
35
|
'loadMcpTools',
|
|
36
36
|
'generateDataApp',
|
|
37
|
+
'iterateDataApp',
|
|
37
38
|
'editDbtProject',
|
|
38
39
|
'editProjectContext',
|
|
39
40
|
'editRepo',
|
|
@@ -93,6 +94,7 @@ exports.TOOL_DISPLAY_MESSAGES = exports.ToolDisplayMessagesSchema.parse({
|
|
|
93
94
|
loadProjectContext: 'Loading project context',
|
|
94
95
|
loadMcpTools: 'Loading MCP tools',
|
|
95
96
|
generateDataApp: 'Starting a data app build',
|
|
97
|
+
iterateDataApp: 'Iterating on a data app',
|
|
96
98
|
editDbtProject: 'Editing semantic layer',
|
|
97
99
|
editRepo: 'Editing repository',
|
|
98
100
|
syncDbtProject: 'Syncing dbt project',
|
|
@@ -148,6 +150,7 @@ exports.TOOL_DISPLAY_MESSAGES_AFTER_TOOL_CALL = exports.ToolDisplayMessagesSchem
|
|
|
148
150
|
loadProjectContext: 'Loaded project context',
|
|
149
151
|
loadMcpTools: 'Loaded MCP tools',
|
|
150
152
|
generateDataApp: 'Started a data app build',
|
|
153
|
+
iterateDataApp: 'Started a data app build',
|
|
151
154
|
editDbtProject: 'Edited semantic layer',
|
|
152
155
|
editRepo: 'Edited repository',
|
|
153
156
|
syncDbtProject: 'Synced dbt project',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/visualizations/index.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,oBAAoB;AACP,QAAA,cAAc,GAAG,OAAC,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,oBAAoB;IACpB,UAAU;IACV,gBAAgB;IAChB,aAAa;IACb,eAAe;IACf,iBAAiB;IACjB,kBAAkB;IAClB,oBAAoB;IACpB,uBAAuB;IACvB,oBAAoB;IACpB,UAAU;IACV,eAAe;IACf,QA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uB;IACnC,kBAAkB,EAAE,wBAAwB;IAC5C,WAAW,EAAE,cAAc;IAC3B,UAAU,EAAE,eAAe;IAC3B,WAAW,EAAE,gBAAgB;IAC7B,aAAa,EAAE,iBAAiB;IAChC,uBAAuB,EAAE,4BAA4B;IACrD,cAAc,EAAE,iBAAiB;IACjC,eAAe,EAAE,mBAAmB;IACpC,YAAY,EAAE,iBAAiB;IAC/B,cAAc,EAAE,qBAAqB;IACrC,SAAS,EAAE,uBAAuB;IAClC,kBAAkB,EAAE,wBAAwB;IAC5C,YAAY,EAAE,kBAAkB;IAChC,eAAe,EAAE,0BAA0B;IAC3C,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,yBAAyB;IACnC,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,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,6BAAwB;AAExB,oBAAoB;AACP,QAAA,cAAc,GAAG,OAAC,CAAC,IAAI,CAAC;IACjC,mBAAmB;IACnB,gBAAgB;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AyB;IAChD,kBAAkB,EAAE,oCAAoC;IACxD,QAAQ,EAAE,yBAAyB;IACnC,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,oBAAoB,EAAE,uBAAuB;IAC7C,oBAAoB,EAAE,2BAA2B;IACjD,oBAAoB,EAAE,qBAAqB;CAC9C,CAAC,CAAC"}
|
|
@@ -22,31 +22,13 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
22
22
|
tableCalculations: ({
|
|
23
23
|
name: string;
|
|
24
24
|
displayName: string;
|
|
25
|
-
type: "
|
|
25
|
+
type: "percent_of_previous_value";
|
|
26
26
|
fieldId: string;
|
|
27
|
-
partitionBy: string[] | null;
|
|
28
|
-
} | {
|
|
29
|
-
name: string;
|
|
30
|
-
displayName: string;
|
|
31
|
-
type: "window_function";
|
|
32
|
-
windowFunction: import("../..").WindowFunctionType;
|
|
33
|
-
fieldId: string | null;
|
|
34
27
|
orderBy: {
|
|
35
28
|
fieldId: string;
|
|
36
29
|
order: "asc" | "desc" | null;
|
|
37
|
-
}[]
|
|
30
|
+
}[];
|
|
38
31
|
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;
|
|
50
32
|
} | {
|
|
51
33
|
name: string;
|
|
52
34
|
displayName: string;
|
|
@@ -67,12 +49,8 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
67
49
|
} | {
|
|
68
50
|
name: string;
|
|
69
51
|
displayName: string;
|
|
70
|
-
type: "
|
|
52
|
+
type: "percent_of_column_total";
|
|
71
53
|
fieldId: string;
|
|
72
|
-
orderBy: {
|
|
73
|
-
fieldId: string;
|
|
74
|
-
order: "asc" | "desc" | null;
|
|
75
|
-
}[];
|
|
76
54
|
partitionBy: string[] | null;
|
|
77
55
|
} | {
|
|
78
56
|
name: string;
|
|
@@ -84,6 +62,28 @@ export declare const parseVizConfig: (vizConfigUnknown: object | null, maxLimit?
|
|
|
84
62
|
displayName: string;
|
|
85
63
|
type: "running_total";
|
|
86
64
|
fieldId: string;
|
|
65
|
+
} | {
|
|
66
|
+
name: string;
|
|
67
|
+
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;
|
|
87
87
|
})[] | null;
|
|
88
88
|
filters: import("../..").Filters;
|
|
89
89
|
};
|