@lightdash/common 0.2031.2 → 0.2033.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/followUpTools.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/followUpTools.js +1 -0
- package/dist/cjs/ee/AiAgent/followUpTools.js.map +1 -1
- package/dist/cjs/ee/AiAgent/index.d.ts +7 -4
- package/dist/cjs/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/index.js +1 -0
- package/dist/cjs/ee/AiAgent/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts +413 -0
- package/dist/cjs/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/index.js.map +1 -1
- 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/toolProposeChange.d.ts +419 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js +115 -0
- package/dist/cjs/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -0
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts +4 -4
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js +1 -0
- package/dist/cjs/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/cjs/ee/AiAgent/types.d.ts +2 -1
- package/dist/cjs/ee/AiAgent/types.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/types.js +1 -0
- package/dist/cjs/ee/AiAgent/types.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/changeset.d.ts +333 -0
- package/dist/cjs/types/changeset.d.ts.map +1 -0
- package/dist/cjs/types/changeset.js +54 -0
- package/dist/cjs/types/changeset.js.map +1 -0
- package/dist/cjs/types/dbt.d.ts.map +1 -1
- package/dist/cjs/types/dbt.js +3 -1
- package/dist/cjs/types/dbt.js.map +1 -1
- package/dist/esm/ee/AiAgent/followUpTools.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/followUpTools.js +1 -0
- package/dist/esm/ee/AiAgent/followUpTools.js.map +1 -1
- package/dist/esm/ee/AiAgent/index.d.ts +7 -4
- package/dist/esm/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/index.js +1 -0
- package/dist/esm/ee/AiAgent/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.d.ts +413 -0
- package/dist/esm/ee/AiAgent/schemas/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/index.js +2 -1
- package/dist/esm/ee/AiAgent/schemas/index.js.map +1 -1
- 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/toolProposeChange.d.ts +419 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js +112 -0
- package/dist/esm/ee/AiAgent/schemas/tools/toolProposeChange.js.map +1 -0
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts +4 -4
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js +1 -0
- package/dist/esm/ee/AiAgent/schemas/visualizations/index.js.map +1 -1
- package/dist/esm/ee/AiAgent/types.d.ts +2 -1
- package/dist/esm/ee/AiAgent/types.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/types.js +1 -0
- package/dist/esm/ee/AiAgent/types.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/changeset.d.ts +333 -0
- package/dist/esm/types/changeset.d.ts.map +1 -0
- package/dist/esm/types/changeset.js +51 -0
- package/dist/esm/types/changeset.js.map +1 -0
- package/dist/esm/types/dbt.d.ts.map +1 -1
- package/dist/esm/types/dbt.js +3 -1
- package/dist/esm/types/dbt.js.map +1 -1
- package/dist/tsconfig.types.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/followUpTools.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/index.d.ts +7 -4
- package/dist/types/ee/AiAgent/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/index.d.ts +413 -0
- package/dist/types/ee/AiAgent/schemas/index.d.ts.map +1 -1
- 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/toolProposeChange.d.ts +419 -0
- package/dist/types/ee/AiAgent/schemas/tools/toolProposeChange.d.ts.map +1 -0
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts +4 -4
- package/dist/types/ee/AiAgent/schemas/visualizations/index.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/types.d.ts +2 -1
- package/dist/types/ee/AiAgent/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types/changeset.d.ts +333 -0
- package/dist/types/types/changeset.d.ts.map +1 -0
- package/dist/types/types/dbt.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAYlC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { toolDashboardArgsSchema, toolFindChartsArgsSchema, toolFindDashboardsArgsSchema, toolFindExploresArgsSchema, toolFindFieldsArgsSchema, toolImproveContextArgsSchema, toolSearchFieldValuesArgsSchema, toolTableVizArgsSchema, toolTimeSeriesArgsSchema, toolVerticalBarArgsSchema, } from './tools';
|
|
2
|
+
import { toolDashboardArgsSchema, toolFindChartsArgsSchema, toolFindDashboardsArgsSchema, toolFindExploresArgsSchema, toolFindFieldsArgsSchema, toolImproveContextArgsSchema, toolProposeChangeArgsSchema, toolSearchFieldValuesArgsSchema, toolTableVizArgsSchema, toolTimeSeriesArgsSchema, toolVerticalBarArgsSchema, } from './tools';
|
|
3
3
|
export * from './customMetrics';
|
|
4
4
|
export * from './filters';
|
|
5
5
|
export * from './sortField';
|
|
@@ -11,6 +11,7 @@ export const AgentToolCallArgsSchema = z.discriminatedUnion('type', [
|
|
|
11
11
|
toolFindDashboardsArgsSchema,
|
|
12
12
|
toolFindFieldsArgsSchema,
|
|
13
13
|
toolImproveContextArgsSchema,
|
|
14
|
+
toolProposeChangeArgsSchema,
|
|
14
15
|
toolSearchFieldValuesArgsSchema,
|
|
15
16
|
toolVerticalBarArgsSchema,
|
|
16
17
|
toolTableVizArgsSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAEjB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAChE,uBAAuB;IACvB,wBAAwB;IACxB,4BAA4B;IAC5B,wBAAwB;IACxB,4BAA4B;IAC5B,+BAA+B;IAC/B,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,0BAA0B;CAC7B,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACH,uBAAuB,EACvB,wBAAwB,EACxB,4BAA4B,EAC5B,0BAA0B,EAC1B,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,+BAA+B,EAC/B,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAC5B,MAAM,SAAS,CAAC;AAEjB,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,kBAAkB,CAAC;AAEjC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IAChE,uBAAuB;IACvB,wBAAwB;IACxB,4BAA4B;IAC5B,wBAAwB;IACxB,4BAA4B;IAC5B,2BAA2B;IAC3B,+BAA+B;IAC/B,yBAAyB;IACzB,sBAAsB;IACtB,wBAAwB;IACxB,0BAA0B;CAC7B,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from './toolFindDashboardsArgs';
|
|
|
4
4
|
export * from './toolFindExploresArgs';
|
|
5
5
|
export * from './toolFindFieldsArgs';
|
|
6
6
|
export * from './toolImproveContext';
|
|
7
|
+
export * from './toolProposeChange';
|
|
7
8
|
export * from './toolRunMetricQueryArgs';
|
|
8
9
|
export * from './toolSearchFieldValuesArgs';
|
|
9
10
|
export * from './toolTableVizArgs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,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,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from './toolFindDashboardsArgs';
|
|
|
4
4
|
export * from './toolFindExploresArgs';
|
|
5
5
|
export * from './toolFindFieldsArgs';
|
|
6
6
|
export * from './toolImproveContext';
|
|
7
|
+
export * from './toolProposeChange';
|
|
7
8
|
export * from './toolRunMetricQueryArgs';
|
|
8
9
|
export * from './toolSearchFieldValuesArgs';
|
|
9
10
|
export * from './toolTableVizArgs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,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,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,419 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AiResultType } from '../../types';
|
|
3
|
+
export declare const TOOL_PROPOSE_CHANGE_DESCRIPTION = "\nALWAYS first look up the tables/fields to understand what the current values are.\n\nUse this tool to propose changes to a table's metadata in the semantic layer. This tool creates a change proposal that can be reviewed and approved before being applied.\n\n- **When to use the Propose Change Tool:**\n - User requests to update a table description: \"Update the description of the customers table\"\n - User wants to improve a dimension description: \"Add a better description for the customer_name field\"\n - User asks to clarify a metric description: \"Update the total_revenue metric description to explain it's net revenue\"\n - User wants to document business logic in descriptions: \"Add a note that active_users excludes test accounts\"\n\n- **What this tool does:**\n - Creates a change proposal in the system\n - The change is NOT applied immediately - it requires review and approval\n - Supports updating descriptions for tables, dimensions, and metrics\n - Tracks who proposed the change and when\n - Change proposals can be reviewed, approved, or rejected by authorized users\n\n- **Examples:**\n\n User: \"Update the customers table description to mention it includes both B2B and B2C customers\"\n User: \"The revenue_net field should explain it's after taxes and discounts\"\n";
|
|
4
|
+
export declare const toolProposeChangeArgsSchema: z.ZodObject<{
|
|
5
|
+
type: z.ZodLiteral<AiResultType.PROPOSE_CHANGE>;
|
|
6
|
+
} & {
|
|
7
|
+
entityTableName: z.ZodString;
|
|
8
|
+
rationale: z.ZodString;
|
|
9
|
+
change: z.ZodDiscriminatedUnion<"entityType", [z.ZodObject<{
|
|
10
|
+
entityType: z.ZodLiteral<"table">;
|
|
11
|
+
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
12
|
+
type: z.ZodLiteral<"update">;
|
|
13
|
+
patch: z.ZodObject<{
|
|
14
|
+
description: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
15
|
+
op: z.ZodLiteral<"replace">;
|
|
16
|
+
value: z.ZodString;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
value: string;
|
|
19
|
+
op: "replace";
|
|
20
|
+
}, {
|
|
21
|
+
value: string;
|
|
22
|
+
op: "replace";
|
|
23
|
+
}>]>>;
|
|
24
|
+
label: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
25
|
+
op: z.ZodLiteral<"replace">;
|
|
26
|
+
value: z.ZodString;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
value: string;
|
|
29
|
+
op: "replace";
|
|
30
|
+
}, {
|
|
31
|
+
value: string;
|
|
32
|
+
op: "replace";
|
|
33
|
+
}>]>>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
label: {
|
|
36
|
+
value: string;
|
|
37
|
+
op: "replace";
|
|
38
|
+
} | null;
|
|
39
|
+
description: {
|
|
40
|
+
value: string;
|
|
41
|
+
op: "replace";
|
|
42
|
+
} | null;
|
|
43
|
+
}, {
|
|
44
|
+
label: {
|
|
45
|
+
value: string;
|
|
46
|
+
op: "replace";
|
|
47
|
+
} | null;
|
|
48
|
+
description: {
|
|
49
|
+
value: string;
|
|
50
|
+
op: "replace";
|
|
51
|
+
} | null;
|
|
52
|
+
}>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
type: "update";
|
|
55
|
+
patch: {
|
|
56
|
+
label: {
|
|
57
|
+
value: string;
|
|
58
|
+
op: "replace";
|
|
59
|
+
} | null;
|
|
60
|
+
description: {
|
|
61
|
+
value: string;
|
|
62
|
+
op: "replace";
|
|
63
|
+
} | null;
|
|
64
|
+
};
|
|
65
|
+
}, {
|
|
66
|
+
type: "update";
|
|
67
|
+
patch: {
|
|
68
|
+
label: {
|
|
69
|
+
value: string;
|
|
70
|
+
op: "replace";
|
|
71
|
+
} | null;
|
|
72
|
+
description: {
|
|
73
|
+
value: string;
|
|
74
|
+
op: "replace";
|
|
75
|
+
} | null;
|
|
76
|
+
};
|
|
77
|
+
}>]>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
value: {
|
|
80
|
+
type: "update";
|
|
81
|
+
patch: {
|
|
82
|
+
label: {
|
|
83
|
+
value: string;
|
|
84
|
+
op: "replace";
|
|
85
|
+
} | null;
|
|
86
|
+
description: {
|
|
87
|
+
value: string;
|
|
88
|
+
op: "replace";
|
|
89
|
+
} | null;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
entityType: "table";
|
|
93
|
+
}, {
|
|
94
|
+
value: {
|
|
95
|
+
type: "update";
|
|
96
|
+
patch: {
|
|
97
|
+
label: {
|
|
98
|
+
value: string;
|
|
99
|
+
op: "replace";
|
|
100
|
+
} | null;
|
|
101
|
+
description: {
|
|
102
|
+
value: string;
|
|
103
|
+
op: "replace";
|
|
104
|
+
} | null;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
entityType: "table";
|
|
108
|
+
}>, z.ZodObject<{
|
|
109
|
+
entityType: z.ZodLiteral<"dimension">;
|
|
110
|
+
fieldId: z.ZodString;
|
|
111
|
+
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
112
|
+
type: z.ZodLiteral<"update">;
|
|
113
|
+
patch: z.ZodObject<{
|
|
114
|
+
label: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
115
|
+
op: z.ZodLiteral<"replace">;
|
|
116
|
+
value: z.ZodString;
|
|
117
|
+
}, "strip", z.ZodTypeAny, {
|
|
118
|
+
value: string;
|
|
119
|
+
op: "replace";
|
|
120
|
+
}, {
|
|
121
|
+
value: string;
|
|
122
|
+
op: "replace";
|
|
123
|
+
}>]>>;
|
|
124
|
+
description: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
125
|
+
op: z.ZodLiteral<"replace">;
|
|
126
|
+
value: z.ZodString;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
value: string;
|
|
129
|
+
op: "replace";
|
|
130
|
+
}, {
|
|
131
|
+
value: string;
|
|
132
|
+
op: "replace";
|
|
133
|
+
}>]>>;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
label: {
|
|
136
|
+
value: string;
|
|
137
|
+
op: "replace";
|
|
138
|
+
} | null;
|
|
139
|
+
description: {
|
|
140
|
+
value: string;
|
|
141
|
+
op: "replace";
|
|
142
|
+
} | null;
|
|
143
|
+
}, {
|
|
144
|
+
label: {
|
|
145
|
+
value: string;
|
|
146
|
+
op: "replace";
|
|
147
|
+
} | null;
|
|
148
|
+
description: {
|
|
149
|
+
value: string;
|
|
150
|
+
op: "replace";
|
|
151
|
+
} | null;
|
|
152
|
+
}>;
|
|
153
|
+
}, "strip", z.ZodTypeAny, {
|
|
154
|
+
type: "update";
|
|
155
|
+
patch: {
|
|
156
|
+
label: {
|
|
157
|
+
value: string;
|
|
158
|
+
op: "replace";
|
|
159
|
+
} | null;
|
|
160
|
+
description: {
|
|
161
|
+
value: string;
|
|
162
|
+
op: "replace";
|
|
163
|
+
} | null;
|
|
164
|
+
};
|
|
165
|
+
}, {
|
|
166
|
+
type: "update";
|
|
167
|
+
patch: {
|
|
168
|
+
label: {
|
|
169
|
+
value: string;
|
|
170
|
+
op: "replace";
|
|
171
|
+
} | null;
|
|
172
|
+
description: {
|
|
173
|
+
value: string;
|
|
174
|
+
op: "replace";
|
|
175
|
+
} | null;
|
|
176
|
+
};
|
|
177
|
+
}>]>;
|
|
178
|
+
}, "strip", z.ZodTypeAny, {
|
|
179
|
+
fieldId: string;
|
|
180
|
+
value: {
|
|
181
|
+
type: "update";
|
|
182
|
+
patch: {
|
|
183
|
+
label: {
|
|
184
|
+
value: string;
|
|
185
|
+
op: "replace";
|
|
186
|
+
} | null;
|
|
187
|
+
description: {
|
|
188
|
+
value: string;
|
|
189
|
+
op: "replace";
|
|
190
|
+
} | null;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
entityType: "dimension";
|
|
194
|
+
}, {
|
|
195
|
+
fieldId: string;
|
|
196
|
+
value: {
|
|
197
|
+
type: "update";
|
|
198
|
+
patch: {
|
|
199
|
+
label: {
|
|
200
|
+
value: string;
|
|
201
|
+
op: "replace";
|
|
202
|
+
} | null;
|
|
203
|
+
description: {
|
|
204
|
+
value: string;
|
|
205
|
+
op: "replace";
|
|
206
|
+
} | null;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
entityType: "dimension";
|
|
210
|
+
}>, z.ZodObject<{
|
|
211
|
+
entityType: z.ZodLiteral<"metric">;
|
|
212
|
+
fieldId: z.ZodString;
|
|
213
|
+
value: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
214
|
+
type: z.ZodLiteral<"update">;
|
|
215
|
+
patch: z.ZodObject<{
|
|
216
|
+
label: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
217
|
+
op: z.ZodLiteral<"replace">;
|
|
218
|
+
value: z.ZodString;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
value: string;
|
|
221
|
+
op: "replace";
|
|
222
|
+
}, {
|
|
223
|
+
value: string;
|
|
224
|
+
op: "replace";
|
|
225
|
+
}>]>>;
|
|
226
|
+
description: z.ZodNullable<z.ZodDiscriminatedUnion<"op", [z.ZodObject<{
|
|
227
|
+
op: z.ZodLiteral<"replace">;
|
|
228
|
+
value: z.ZodString;
|
|
229
|
+
}, "strip", z.ZodTypeAny, {
|
|
230
|
+
value: string;
|
|
231
|
+
op: "replace";
|
|
232
|
+
}, {
|
|
233
|
+
value: string;
|
|
234
|
+
op: "replace";
|
|
235
|
+
}>]>>;
|
|
236
|
+
}, "strip", z.ZodTypeAny, {
|
|
237
|
+
label: {
|
|
238
|
+
value: string;
|
|
239
|
+
op: "replace";
|
|
240
|
+
} | null;
|
|
241
|
+
description: {
|
|
242
|
+
value: string;
|
|
243
|
+
op: "replace";
|
|
244
|
+
} | null;
|
|
245
|
+
}, {
|
|
246
|
+
label: {
|
|
247
|
+
value: string;
|
|
248
|
+
op: "replace";
|
|
249
|
+
} | null;
|
|
250
|
+
description: {
|
|
251
|
+
value: string;
|
|
252
|
+
op: "replace";
|
|
253
|
+
} | null;
|
|
254
|
+
}>;
|
|
255
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
type: "update";
|
|
257
|
+
patch: {
|
|
258
|
+
label: {
|
|
259
|
+
value: string;
|
|
260
|
+
op: "replace";
|
|
261
|
+
} | null;
|
|
262
|
+
description: {
|
|
263
|
+
value: string;
|
|
264
|
+
op: "replace";
|
|
265
|
+
} | null;
|
|
266
|
+
};
|
|
267
|
+
}, {
|
|
268
|
+
type: "update";
|
|
269
|
+
patch: {
|
|
270
|
+
label: {
|
|
271
|
+
value: string;
|
|
272
|
+
op: "replace";
|
|
273
|
+
} | null;
|
|
274
|
+
description: {
|
|
275
|
+
value: string;
|
|
276
|
+
op: "replace";
|
|
277
|
+
} | null;
|
|
278
|
+
};
|
|
279
|
+
}>]>;
|
|
280
|
+
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
fieldId: string;
|
|
282
|
+
value: {
|
|
283
|
+
type: "update";
|
|
284
|
+
patch: {
|
|
285
|
+
label: {
|
|
286
|
+
value: string;
|
|
287
|
+
op: "replace";
|
|
288
|
+
} | null;
|
|
289
|
+
description: {
|
|
290
|
+
value: string;
|
|
291
|
+
op: "replace";
|
|
292
|
+
} | null;
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
entityType: "metric";
|
|
296
|
+
}, {
|
|
297
|
+
fieldId: string;
|
|
298
|
+
value: {
|
|
299
|
+
type: "update";
|
|
300
|
+
patch: {
|
|
301
|
+
label: {
|
|
302
|
+
value: string;
|
|
303
|
+
op: "replace";
|
|
304
|
+
} | null;
|
|
305
|
+
description: {
|
|
306
|
+
value: string;
|
|
307
|
+
op: "replace";
|
|
308
|
+
} | null;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
entityType: "metric";
|
|
312
|
+
}>]>;
|
|
313
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
314
|
+
type: AiResultType.PROPOSE_CHANGE;
|
|
315
|
+
entityTableName: string;
|
|
316
|
+
rationale: string;
|
|
317
|
+
change: {
|
|
318
|
+
value: {
|
|
319
|
+
type: "update";
|
|
320
|
+
patch: {
|
|
321
|
+
label: {
|
|
322
|
+
value: string;
|
|
323
|
+
op: "replace";
|
|
324
|
+
} | null;
|
|
325
|
+
description: {
|
|
326
|
+
value: string;
|
|
327
|
+
op: "replace";
|
|
328
|
+
} | null;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
entityType: "table";
|
|
332
|
+
} | {
|
|
333
|
+
fieldId: string;
|
|
334
|
+
value: {
|
|
335
|
+
type: "update";
|
|
336
|
+
patch: {
|
|
337
|
+
label: {
|
|
338
|
+
value: string;
|
|
339
|
+
op: "replace";
|
|
340
|
+
} | null;
|
|
341
|
+
description: {
|
|
342
|
+
value: string;
|
|
343
|
+
op: "replace";
|
|
344
|
+
} | null;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
entityType: "dimension";
|
|
348
|
+
} | {
|
|
349
|
+
fieldId: string;
|
|
350
|
+
value: {
|
|
351
|
+
type: "update";
|
|
352
|
+
patch: {
|
|
353
|
+
label: {
|
|
354
|
+
value: string;
|
|
355
|
+
op: "replace";
|
|
356
|
+
} | null;
|
|
357
|
+
description: {
|
|
358
|
+
value: string;
|
|
359
|
+
op: "replace";
|
|
360
|
+
} | null;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
entityType: "metric";
|
|
364
|
+
};
|
|
365
|
+
}, {
|
|
366
|
+
type: AiResultType.PROPOSE_CHANGE;
|
|
367
|
+
entityTableName: string;
|
|
368
|
+
rationale: string;
|
|
369
|
+
change: {
|
|
370
|
+
value: {
|
|
371
|
+
type: "update";
|
|
372
|
+
patch: {
|
|
373
|
+
label: {
|
|
374
|
+
value: string;
|
|
375
|
+
op: "replace";
|
|
376
|
+
} | null;
|
|
377
|
+
description: {
|
|
378
|
+
value: string;
|
|
379
|
+
op: "replace";
|
|
380
|
+
} | null;
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
entityType: "table";
|
|
384
|
+
} | {
|
|
385
|
+
fieldId: string;
|
|
386
|
+
value: {
|
|
387
|
+
type: "update";
|
|
388
|
+
patch: {
|
|
389
|
+
label: {
|
|
390
|
+
value: string;
|
|
391
|
+
op: "replace";
|
|
392
|
+
} | null;
|
|
393
|
+
description: {
|
|
394
|
+
value: string;
|
|
395
|
+
op: "replace";
|
|
396
|
+
} | null;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
entityType: "dimension";
|
|
400
|
+
} | {
|
|
401
|
+
fieldId: string;
|
|
402
|
+
value: {
|
|
403
|
+
type: "update";
|
|
404
|
+
patch: {
|
|
405
|
+
label: {
|
|
406
|
+
value: string;
|
|
407
|
+
op: "replace";
|
|
408
|
+
} | null;
|
|
409
|
+
description: {
|
|
410
|
+
value: string;
|
|
411
|
+
op: "replace";
|
|
412
|
+
} | null;
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
entityType: "metric";
|
|
416
|
+
};
|
|
417
|
+
}>;
|
|
418
|
+
export type ToolProposeChangeArgs = z.infer<typeof toolProposeChangeArgsSchema>;
|
|
419
|
+
//# sourceMappingURL=toolProposeChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolProposeChange.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolProposeChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAI3C,eAAO,MAAM,+BAA+B,gyCAsB3C,CAAC;AAsFF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe5B,CAAC;AAEb,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { AiResultType } from '../../types';
|
|
3
|
+
import { getFieldIdSchema } from '../fieldId';
|
|
4
|
+
import { createToolSchema } from '../toolSchemaBuilder';
|
|
5
|
+
export const TOOL_PROPOSE_CHANGE_DESCRIPTION = `
|
|
6
|
+
ALWAYS first look up the tables/fields to understand what the current values are.
|
|
7
|
+
|
|
8
|
+
Use this tool to propose changes to a table's metadata in the semantic layer. This tool creates a change proposal that can be reviewed and approved before being applied.
|
|
9
|
+
|
|
10
|
+
- **When to use the Propose Change Tool:**
|
|
11
|
+
- User requests to update a table description: "Update the description of the customers table"
|
|
12
|
+
- User wants to improve a dimension description: "Add a better description for the customer_name field"
|
|
13
|
+
- User asks to clarify a metric description: "Update the total_revenue metric description to explain it's net revenue"
|
|
14
|
+
- User wants to document business logic in descriptions: "Add a note that active_users excludes test accounts"
|
|
15
|
+
|
|
16
|
+
- **What this tool does:**
|
|
17
|
+
- Creates a change proposal in the system
|
|
18
|
+
- The change is NOT applied immediately - it requires review and approval
|
|
19
|
+
- Supports updating descriptions for tables, dimensions, and metrics
|
|
20
|
+
- Tracks who proposed the change and when
|
|
21
|
+
- Change proposals can be reviewed, approved, or rejected by authorized users
|
|
22
|
+
|
|
23
|
+
- **Examples:**
|
|
24
|
+
|
|
25
|
+
User: "Update the customers table description to mention it includes both B2B and B2C customers"
|
|
26
|
+
User: "The revenue_net field should explain it's after taxes and discounts"
|
|
27
|
+
`;
|
|
28
|
+
const getPatchDescription = (type) => `Patch to apply to the ${type}. You can omit/set-to-null any fields you don't want to change.`;
|
|
29
|
+
/**
|
|
30
|
+
* Op schema can be configured on per-field basis to have a appropriate type and allow applicable operations
|
|
31
|
+
*/
|
|
32
|
+
const getOpSchema = (type) => z.discriminatedUnion('op', [
|
|
33
|
+
z
|
|
34
|
+
.object({ op: z.literal('replace'), value: type })
|
|
35
|
+
.describe('Replace (overwrite) the value of the field.'),
|
|
36
|
+
// z.object({
|
|
37
|
+
// op: z.literal("push"),
|
|
38
|
+
// value: z.any(),
|
|
39
|
+
// index: z.number().nullable() // add later to support `"path": "/tags/-"` / "path": "/tags/0" if no index, default to ops on array
|
|
40
|
+
// }),
|
|
41
|
+
// z.object({ op: z.literal("remove") }),
|
|
42
|
+
]);
|
|
43
|
+
const stringOpSchema = getOpSchema(z.string());
|
|
44
|
+
const DimensionChangeSchema = z.discriminatedUnion('type', [
|
|
45
|
+
// z.object({
|
|
46
|
+
// type: z.literal('create'),
|
|
47
|
+
// value: z.any(), // Full Dimension object
|
|
48
|
+
// }),
|
|
49
|
+
z.object({
|
|
50
|
+
type: z.literal('update'),
|
|
51
|
+
patch: z
|
|
52
|
+
.object({
|
|
53
|
+
label: stringOpSchema.nullable(),
|
|
54
|
+
description: stringOpSchema.nullable(),
|
|
55
|
+
})
|
|
56
|
+
.describe(getPatchDescription('dimension')),
|
|
57
|
+
}),
|
|
58
|
+
// z.object({
|
|
59
|
+
// type: z.literal('delete'),
|
|
60
|
+
// })
|
|
61
|
+
]);
|
|
62
|
+
const MetricChangeSchema = z.discriminatedUnion('type', [
|
|
63
|
+
z.object({
|
|
64
|
+
type: z.literal('update'),
|
|
65
|
+
patch: z
|
|
66
|
+
.object({
|
|
67
|
+
label: stringOpSchema.nullable(),
|
|
68
|
+
description: stringOpSchema.nullable(),
|
|
69
|
+
// aiHint: OpSchema,
|
|
70
|
+
})
|
|
71
|
+
.describe(getPatchDescription('metric')),
|
|
72
|
+
}),
|
|
73
|
+
]);
|
|
74
|
+
const TableChangeSchema = z.discriminatedUnion('type', [
|
|
75
|
+
z.object({
|
|
76
|
+
type: z.literal('update'),
|
|
77
|
+
patch: z
|
|
78
|
+
.object({
|
|
79
|
+
description: stringOpSchema.nullable(),
|
|
80
|
+
label: stringOpSchema.nullable(),
|
|
81
|
+
})
|
|
82
|
+
.describe(getPatchDescription('table')),
|
|
83
|
+
}),
|
|
84
|
+
]);
|
|
85
|
+
const changeSchema = z.discriminatedUnion('entityType', [
|
|
86
|
+
z.object({
|
|
87
|
+
entityType: z.literal('table'),
|
|
88
|
+
value: TableChangeSchema,
|
|
89
|
+
}),
|
|
90
|
+
z.object({
|
|
91
|
+
entityType: z.literal('dimension'),
|
|
92
|
+
fieldId: getFieldIdSchema({ additionalDescription: '' }),
|
|
93
|
+
value: DimensionChangeSchema,
|
|
94
|
+
}),
|
|
95
|
+
z.object({
|
|
96
|
+
entityType: z.literal('metric'),
|
|
97
|
+
fieldId: getFieldIdSchema({ additionalDescription: '' }),
|
|
98
|
+
value: MetricChangeSchema,
|
|
99
|
+
}),
|
|
100
|
+
]);
|
|
101
|
+
export const toolProposeChangeArgsSchema = createToolSchema(AiResultType.PROPOSE_CHANGE, TOOL_PROPOSE_CHANGE_DESCRIPTION)
|
|
102
|
+
.extend({
|
|
103
|
+
entityTableName: z
|
|
104
|
+
.string()
|
|
105
|
+
.describe('The name of the table/explore being modified'),
|
|
106
|
+
rationale: z
|
|
107
|
+
.string()
|
|
108
|
+
.describe('Brief explanation of why this change is being proposed and what it improves'),
|
|
109
|
+
change: changeSchema,
|
|
110
|
+
})
|
|
111
|
+
.build();
|
|
112
|
+
//# sourceMappingURL=toolProposeChange.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolProposeChange.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolProposeChange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,CAAC,MAAM,+BAA+B,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsB9C,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,IAAsC,EAAE,EAAE,CACnE,yBAAyB,IAAI,iEAAiE,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,GAAG,CAAyB,IAAO,EAAE,EAAE,CACpD,CAAC,CAAC,kBAAkB,CAAC,IAAI,EAAE;IACvB,CAAC;SACI,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;SACjD,QAAQ,CAAC,6CAA6C,CAAC;IAC5D,aAAa;IACb,2BAA2B;IAC3B,oBAAoB;IACpB,sIAAsI;IACtI,MAAM;IACN,yCAAyC;CAC5C,CAAC,CAAC;AAEP,MAAM,cAAc,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AAE/C,MAAM,qBAAqB,GAAG,CAAC,CAAC,kBAAkB,CAAC,MAAM,EAAE;IACvD,aAAa;IACb,+BAA+B;IAC/B,6CAA6C;IAC7C,MAAM;IACN,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