@lightdash/common 2.359.0 → 2.360.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
- package/dist/cjs/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
- package/dist/cjs/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
- package/dist/cjs/ee/apps/sdkFeatures.js +1 -1
- package/dist/cjs/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/cjs/schemas/json/mcp-tools-1.0.json +25 -5
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
- package/dist/esm/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
- package/dist/esm/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
- package/dist/esm/ee/apps/sdkFeatures.js +1 -1
- package/dist/esm/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/esm/schemas/json/mcp-tools-1.0.json +25 -5
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts +60 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js +48 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolGetProjectInfoArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts +35 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js +18 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolGetPullRequestDiffArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts +189 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js +57 -24
- package/dist/types/ee/AiAgent/schemas/tools/toolGrepFieldsArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts +120 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js +48 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListContentArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts +41 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js +20 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts +39 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js +19 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts +35 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js +13 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListProjectsArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts +49 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js +25 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.js.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts +41 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js +24 -3
- package/dist/types/ee/AiAgent/schemas/tools/toolListWorkstreamsArgs.js.map +1 -1
- package/dist/types/ee/apps/sdkFeatures.js +1 -1
- package/dist/types/ee/apps/sdkFeatures.js.map +1 -1
- package/dist/types/schemas/json/mcp-tools-1.0.json +25 -5
- package/package.json +1 -1
|
@@ -6,15 +6,132 @@ export declare const toolListContentArgsSchema: z.ZodObject<{
|
|
|
6
6
|
} & {
|
|
7
7
|
page: z.ZodNullable<z.ZodNumber>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const toolListContentItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
slug: z.ZodString;
|
|
12
|
+
href: z.ZodString;
|
|
13
|
+
contentType: z.ZodLiteral<"space">;
|
|
14
|
+
chartCount: z.ZodNumber;
|
|
15
|
+
dashboardCount: z.ZodNumber;
|
|
16
|
+
childSpaceCount: z.ZodNumber;
|
|
17
|
+
appCount: z.ZodNumber;
|
|
18
|
+
directAccess: z.ZodBoolean;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
name: z.ZodString;
|
|
21
|
+
slug: z.ZodString;
|
|
22
|
+
href: z.ZodString;
|
|
23
|
+
contentType: z.ZodLiteral<"document">;
|
|
24
|
+
uuid: z.ZodString;
|
|
25
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
slug: z.ZodString;
|
|
28
|
+
href: z.ZodString;
|
|
29
|
+
contentType: z.ZodEnum<{
|
|
30
|
+
chart: "chart";
|
|
31
|
+
dashboard: "dashboard";
|
|
32
|
+
data_app: "data_app";
|
|
33
|
+
}>;
|
|
34
|
+
}, z.core.$strip>], "contentType">;
|
|
35
|
+
export declare const toolListContentStructuredContentSchema: z.ZodObject<{
|
|
36
|
+
spaceSlug: z.ZodNullable<z.ZodString>;
|
|
37
|
+
pagination: z.ZodObject<{
|
|
38
|
+
page: z.ZodNumber;
|
|
39
|
+
pageSize: z.ZodNumber;
|
|
40
|
+
totalResults: z.ZodNumber;
|
|
41
|
+
totalPageCount: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
44
|
+
name: z.ZodString;
|
|
45
|
+
slug: z.ZodString;
|
|
46
|
+
href: z.ZodString;
|
|
47
|
+
contentType: z.ZodLiteral<"space">;
|
|
48
|
+
chartCount: z.ZodNumber;
|
|
49
|
+
dashboardCount: z.ZodNumber;
|
|
50
|
+
childSpaceCount: z.ZodNumber;
|
|
51
|
+
appCount: z.ZodNumber;
|
|
52
|
+
directAccess: z.ZodBoolean;
|
|
53
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
slug: z.ZodString;
|
|
56
|
+
href: z.ZodString;
|
|
57
|
+
contentType: z.ZodLiteral<"document">;
|
|
58
|
+
uuid: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
name: z.ZodString;
|
|
61
|
+
slug: z.ZodString;
|
|
62
|
+
href: z.ZodString;
|
|
63
|
+
contentType: z.ZodEnum<{
|
|
64
|
+
chart: "chart";
|
|
65
|
+
dashboard: "dashboard";
|
|
66
|
+
data_app: "data_app";
|
|
67
|
+
}>;
|
|
68
|
+
}, z.core.$strip>], "contentType">>;
|
|
69
|
+
}, z.core.$strip>;
|
|
70
|
+
export declare const toolListContentOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
10
71
|
result: z.ZodString;
|
|
11
|
-
metadata: z.ZodObject<{
|
|
72
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
12
73
|
status: z.ZodEnum<{
|
|
13
74
|
error: "error";
|
|
14
75
|
success: "success";
|
|
15
76
|
}>;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
status: z.ZodEnum<{
|
|
79
|
+
success: "success";
|
|
80
|
+
}>;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
structuredContent: z.ZodObject<{
|
|
83
|
+
spaceSlug: z.ZodNullable<z.ZodString>;
|
|
84
|
+
pagination: z.ZodObject<{
|
|
85
|
+
page: z.ZodNumber;
|
|
86
|
+
pageSize: z.ZodNumber;
|
|
87
|
+
totalResults: z.ZodNumber;
|
|
88
|
+
totalPageCount: z.ZodNumber;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
91
|
+
name: z.ZodString;
|
|
92
|
+
slug: z.ZodString;
|
|
93
|
+
href: z.ZodString;
|
|
94
|
+
contentType: z.ZodLiteral<"space">;
|
|
95
|
+
chartCount: z.ZodNumber;
|
|
96
|
+
dashboardCount: z.ZodNumber;
|
|
97
|
+
childSpaceCount: z.ZodNumber;
|
|
98
|
+
appCount: z.ZodNumber;
|
|
99
|
+
directAccess: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
101
|
+
name: z.ZodString;
|
|
102
|
+
slug: z.ZodString;
|
|
103
|
+
href: z.ZodString;
|
|
104
|
+
contentType: z.ZodLiteral<"document">;
|
|
105
|
+
uuid: z.ZodString;
|
|
106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
107
|
+
name: z.ZodString;
|
|
108
|
+
slug: z.ZodString;
|
|
109
|
+
href: z.ZodString;
|
|
110
|
+
contentType: z.ZodEnum<{
|
|
111
|
+
chart: "chart";
|
|
112
|
+
dashboard: "dashboard";
|
|
113
|
+
data_app: "data_app";
|
|
114
|
+
}>;
|
|
115
|
+
}, z.core.$strip>], "contentType">>;
|
|
16
116
|
}, z.core.$strip>;
|
|
17
|
-
}, z.core.$strip
|
|
117
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
118
|
+
result: z.ZodString;
|
|
119
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
120
|
+
status: z.ZodEnum<{
|
|
121
|
+
error: "error";
|
|
122
|
+
success: "success";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
125
|
+
status: z.ZodEnum<{
|
|
126
|
+
error: "error";
|
|
127
|
+
}>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
structuredContent: z.ZodObject<{
|
|
130
|
+
error: z.ZodString;
|
|
131
|
+
}, z.core.$strip>;
|
|
132
|
+
}, z.core.$strip>]>;
|
|
18
133
|
export type ToolListContentArgs = z.infer<typeof toolListContentArgsSchema>;
|
|
134
|
+
export type ToolListContentItem = z.infer<typeof toolListContentItemSchema>;
|
|
135
|
+
export type ToolListContentStructuredContent = z.infer<typeof toolListContentStructuredContentSchema>;
|
|
19
136
|
export type ToolListContentOutput = z.infer<typeof toolListContentOutputSchema>;
|
|
20
137
|
//# sourceMappingURL=toolListContentArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"toolListContentArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListContentArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAO5D,eAAO,MAAM,6BAA6B,kBAEvC,sBAAsB,KAAG,MAQmD,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;iBAU1B,CAAC;AAiCb,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;kCAIpC,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBjD,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGtC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC;AACF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolListContentOutputSchema = exports.toolListContentArgsSchema = exports.TOOL_LIST_CONTENT_DESCRIPTION = void 0;
|
|
3
|
+
exports.toolListContentOutputSchema = exports.toolListContentStructuredContentSchema = exports.toolListContentItemSchema = exports.toolListContentArgsSchema = exports.TOOL_LIST_CONTENT_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
6
|
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
@@ -23,8 +23,53 @@ exports.toolListContentArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)()
|
|
|
23
23
|
})
|
|
24
24
|
.withPagination()
|
|
25
25
|
.build();
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
const listContentItemBaseShape = {
|
|
27
|
+
name: zod_1.z.string(),
|
|
28
|
+
slug: zod_1.z.string(),
|
|
29
|
+
href: zod_1.z.string().describe('Relative Lightdash URL of the item.'),
|
|
30
|
+
};
|
|
31
|
+
const toolListContentSpaceItemSchema = zod_1.z.object({
|
|
32
|
+
contentType: zod_1.z.literal('space'),
|
|
33
|
+
...listContentItemBaseShape,
|
|
34
|
+
chartCount: zod_1.z.number().int(),
|
|
35
|
+
dashboardCount: zod_1.z.number().int(),
|
|
36
|
+
childSpaceCount: zod_1.z.number().int(),
|
|
37
|
+
appCount: zod_1.z.number().int(),
|
|
38
|
+
directAccess: zod_1.z
|
|
39
|
+
.boolean()
|
|
40
|
+
.describe('Whether the caller was granted access to this space directly.'),
|
|
41
|
+
});
|
|
42
|
+
const toolListContentDocumentItemSchema = zod_1.z.object({
|
|
43
|
+
contentType: zod_1.z.literal('document'),
|
|
44
|
+
uuid: zod_1.z.string(),
|
|
45
|
+
...listContentItemBaseShape,
|
|
46
|
+
});
|
|
47
|
+
const toolListContentLeafItemSchema = zod_1.z.object({
|
|
48
|
+
contentType: zod_1.z.enum(['chart', 'dashboard', 'data_app']),
|
|
49
|
+
...listContentItemBaseShape,
|
|
50
|
+
});
|
|
51
|
+
exports.toolListContentItemSchema = zod_1.z.discriminatedUnion('contentType', [
|
|
52
|
+
toolListContentSpaceItemSchema,
|
|
53
|
+
toolListContentDocumentItemSchema,
|
|
54
|
+
toolListContentLeafItemSchema,
|
|
55
|
+
]);
|
|
56
|
+
exports.toolListContentStructuredContentSchema = zod_1.z.object({
|
|
57
|
+
spaceSlug: zod_1.z
|
|
58
|
+
.string()
|
|
59
|
+
.nullable()
|
|
60
|
+
.describe('Slug of the listed space; null when listing root-level spaces.'),
|
|
61
|
+
pagination: zod_1.z.object({
|
|
62
|
+
page: zod_1.z.number().int(),
|
|
63
|
+
pageSize: zod_1.z.number().int(),
|
|
64
|
+
totalResults: zod_1.z.number().int(),
|
|
65
|
+
totalPageCount: zod_1.z.number().int(),
|
|
66
|
+
}),
|
|
67
|
+
items: zod_1.z
|
|
68
|
+
.array(exports.toolListContentItemSchema)
|
|
69
|
+
.describe('Direct children of the listed space on this page; empty when nothing is accessible.'),
|
|
70
|
+
});
|
|
71
|
+
exports.toolListContentOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
|
|
28
72
|
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
73
|
+
structuredContent: exports.toolListContentStructuredContentSchema,
|
|
29
74
|
});
|
|
30
75
|
//# sourceMappingURL=toolListContentArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListContentArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"toolListContentArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListContentArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAG2B;AAC3B,4DAAwD;AAEjD,MAAM,6BAA6B,GAAG,CAAC,EAC1C,QAAQ,GACa,EAAU,EAAE,CAAC,UAAU,QAAQ;;;;;;;;+EAQuB,CAAC;AAVnE,QAAA,6BAA6B,GAA7B,6BAA6B,CAUsC;AAEnE,QAAA,yBAAyB,GAAG,IAAA,oCAAgB,GAAE;KACtD,MAAM,CAAC;IACJ,SAAS,EAAE,OAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,wEAAwE,CAC3E;CACR,CAAC;KACD,cAAc,EAAE;KAChB,KAAK,EAAE,CAAC;AAEb,MAAM,wBAAwB,GAAG;IAC7B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,qCAAqC,CAAC;CACnE,CAAC;AAEF,MAAM,8BAA8B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,WAAW,EAAE,OAAC,CAAC,OAAO,CAAC,OAAO,CAAC;IAC/B,GAAG,wBAAwB;IAC3B,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC5B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAChC,eAAe,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,YAAY,EAAE,OAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACL,+DAA+D,CAClE;CACR,CAAC,CAAC;AAEH,MAAM,iCAAiC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,WAAW,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;IAClC,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,wBAAwB;CAC9B,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,WAAW,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;IACvD,GAAG,wBAAwB;CAC9B,CAAC,CAAC;AAEU,QAAA,yBAAyB,GAAG,OAAC,CAAC,kBAAkB,CAAC,aAAa,EAAE;IACzE,8BAA8B;IAC9B,iCAAiC;IACjC,6BAA6B;CAChC,CAAC,CAAC;AAEU,QAAA,sCAAsC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3D,SAAS,EAAE,OAAC;SACP,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,gEAAgE,CACnE;IACL,UAAU,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QACtB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;QAC9B,cAAc,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;KACnC,CAAC;IACF,KAAK,EAAE,OAAC;SACH,KAAK,CAAC,QAAA,yBAAyB,CAAC;SAChC,QAAQ,CACL,qFAAqF,CACxF;CACR,CAAC,CAAC;AAEU,QAAA,2BAA2B,GAAG,IAAA,2CAA0B,EAAC;IAClE,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,sCAAsC;CAC5D,CAAC,CAAC"}
|
|
@@ -11,15 +11,53 @@ export declare const mcpListDataAppThemesStructuredOutputSchema: z.ZodObject<{
|
|
|
11
11
|
}, z.core.$strip>>;
|
|
12
12
|
}, z.core.$strip>;
|
|
13
13
|
export type McpListDataAppThemesOutput = z.infer<typeof mcpListDataAppThemesStructuredOutputSchema>;
|
|
14
|
-
export declare const
|
|
14
|
+
export declare const toolListDataAppThemesStructuredContentSchema: z.ZodObject<{
|
|
15
|
+
count: z.ZodNumber;
|
|
16
|
+
themes: z.ZodArray<z.ZodObject<{
|
|
17
|
+
slug: z.ZodString;
|
|
18
|
+
name: z.ZodString;
|
|
19
|
+
isDefault: z.ZodBoolean;
|
|
20
|
+
description: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export declare const toolListDataAppThemesOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
24
|
+
result: z.ZodString;
|
|
25
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
26
|
+
status: z.ZodEnum<{
|
|
27
|
+
error: "error";
|
|
28
|
+
success: "success";
|
|
29
|
+
}>;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
status: z.ZodEnum<{
|
|
32
|
+
success: "success";
|
|
33
|
+
}>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
structuredContent: z.ZodObject<{
|
|
36
|
+
count: z.ZodNumber;
|
|
37
|
+
themes: z.ZodArray<z.ZodObject<{
|
|
38
|
+
slug: z.ZodString;
|
|
39
|
+
name: z.ZodString;
|
|
40
|
+
isDefault: z.ZodBoolean;
|
|
41
|
+
description: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
15
45
|
result: z.ZodString;
|
|
16
|
-
metadata: z.ZodObject<{
|
|
46
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
17
47
|
status: z.ZodEnum<{
|
|
18
48
|
error: "error";
|
|
19
49
|
success: "success";
|
|
20
50
|
}>;
|
|
51
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
52
|
+
status: z.ZodEnum<{
|
|
53
|
+
error: "error";
|
|
54
|
+
}>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
structuredContent: z.ZodObject<{
|
|
57
|
+
error: z.ZodString;
|
|
21
58
|
}, z.core.$strip>;
|
|
22
|
-
}, z.core.$strip>;
|
|
59
|
+
}, z.core.$strip>]>;
|
|
23
60
|
export type ToolListDataAppThemesArgs = z.infer<typeof toolListDataAppThemesArgsSchema>;
|
|
61
|
+
export type ToolListDataAppThemesStructuredContent = z.infer<typeof toolListDataAppThemesStructuredContentSchema>;
|
|
24
62
|
export type ToolListDataAppThemesOutput = z.infer<typeof toolListDataAppThemesOutputSchema>;
|
|
25
63
|
//# sourceMappingURL=toolListDataAppThemesArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListDataAppThemesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toolListDataAppThemesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qCAAqC,QAIvC,CAAC;AAEZ,eAAO,MAAM,yCAAyC,g5BAsBrD,CAAC;AAEF,eAAO,MAAM,+BAA+B,gCAA6B,CAAC;AAE1E,eAAO,MAAM,0CAA0C;;;;;;;iBAoBrD,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,0CAA0C,CACpD,CAAC;AAiBF,eAAO,MAAM,4CAA4C;;;;;;;;iBAMvD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG5C,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC3C,OAAO,+BAA+B,CACzC,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG,CAAC,CAAC,KAAK,CACxD,OAAO,4CAA4C,CACtD,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,iCAAiC,CAC3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolListDataAppThemesOutputSchema = exports.mcpListDataAppThemesStructuredOutputSchema = exports.toolListDataAppThemesArgsSchema = exports.MCP_TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = exports.TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = void 0;
|
|
3
|
+
exports.toolListDataAppThemesOutputSchema = exports.toolListDataAppThemesStructuredContentSchema = exports.mcpListDataAppThemesStructuredOutputSchema = exports.toolListDataAppThemesArgsSchema = exports.MCP_TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = exports.TOOL_LIST_DATA_APP_THEMES_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
6
|
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
@@ -50,8 +50,25 @@ exports.mcpListDataAppThemesStructuredOutputSchema = zod_1.z.object({
|
|
|
50
50
|
}))
|
|
51
51
|
.describe("The organization's themes; empty when it has none."),
|
|
52
52
|
});
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
const dataAppThemeSchema = zod_1.z.object({
|
|
54
|
+
slug: zod_1.z
|
|
55
|
+
.string()
|
|
56
|
+
.describe('Pass as themeSlug to generateDataApp or iterateDataApp to apply this theme.'),
|
|
57
|
+
name: zod_1.z.string(),
|
|
58
|
+
isDefault: zod_1.z
|
|
59
|
+
.boolean()
|
|
60
|
+
.describe('Whether this is the organization default theme, applied when no themeSlug is given.'),
|
|
61
|
+
description: zod_1.z.string().nullable(),
|
|
62
|
+
});
|
|
63
|
+
exports.toolListDataAppThemesStructuredContentSchema = zod_1.z.object({
|
|
64
|
+
count: zod_1.z
|
|
65
|
+
.number()
|
|
66
|
+
.int()
|
|
67
|
+
.describe('Number of themes; 0 means the organization has no themes.'),
|
|
68
|
+
themes: zod_1.z.array(dataAppThemeSchema),
|
|
69
|
+
});
|
|
70
|
+
exports.toolListDataAppThemesOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
|
|
55
71
|
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
72
|
+
structuredContent: exports.toolListDataAppThemesStructuredContentSchema,
|
|
56
73
|
});
|
|
57
74
|
//# sourceMappingURL=toolListDataAppThemesArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListDataAppThemesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"toolListDataAppThemesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListDataAppThemesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAG2B;AAC3B,4DAAwD;AAE3C,QAAA,qCAAqC,GAAG;IACjD,mHAAmH;IACnH,oNAAoN;IACpN,yIAAyI;CAC5I,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,yCAAyC,GAAG;;;;;;;;;;;;;;;;;;;;;;CAsBxD,CAAC;AAEW,QAAA,+BAA+B,GAAG,IAAA,oCAAgB,GAAE,CAAC,KAAK,EAAE,CAAC;AAE7D,QAAA,0CAA0C,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/D,MAAM,EAAE,OAAC;SACJ,KAAK,CACF,OAAC,CAAC,MAAM,CAAC;QACL,IAAI,EAAE,OAAC;aACF,MAAM,EAAE;aACR,QAAQ,CAAC,yCAAyC,CAAC;QACxD,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;QACtD,SAAS,EAAE,OAAC;aACP,OAAO,EAAE;aACT,QAAQ,CACL,uDAAuD,CAC1D;QACL,WAAW,EAAE,OAAC;aACT,MAAM,EAAE;aACR,QAAQ,EAAE;aACV,QAAQ,CAAC,qBAAqB,CAAC;KACvC,CAAC,CACL;SACA,QAAQ,CAAC,oDAAoD,CAAC;CACtE,CAAC,CAAC;AAMH,MAAM,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChC,IAAI,EAAE,OAAC;SACF,MAAM,EAAE;SACR,QAAQ,CACL,6EAA6E,CAChF;IACL,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,SAAS,EAAE,OAAC;SACP,OAAO,EAAE;SACT,QAAQ,CACL,qFAAqF,CACxF;IACL,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACrC,CAAC,CAAC;AAEU,QAAA,4CAA4C,GAAG,OAAC,CAAC,MAAM,CAAC;IACjE,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,2DAA2D,CAAC;IAC1E,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CACtC,CAAC,CAAC;AAEU,QAAA,iCAAiC,GAAG,IAAA,2CAA0B,EAAC;IACxE,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,4CAA4C;CAClE,CAAC,CAAC"}
|
|
@@ -2,15 +2,51 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type ToolDescriptionContext } from '../defineTool';
|
|
3
3
|
export declare const TOOL_LIST_KNOWLEDGE_DOCUMENTS_DESCRIPTION: ({ runtime, toolName, }: ToolDescriptionContext) => string;
|
|
4
4
|
export declare const toolListKnowledgeDocumentsArgsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const toolListKnowledgeDocumentsStructuredContentSchema: z.ZodObject<{
|
|
6
|
+
count: z.ZodNumber;
|
|
7
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
8
|
+
uuid: z.ZodString;
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
sizeBytes: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export declare const toolListKnowledgeDocumentsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
14
|
result: z.ZodString;
|
|
7
|
-
metadata: z.ZodObject<{
|
|
15
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
8
16
|
status: z.ZodEnum<{
|
|
9
17
|
error: "error";
|
|
10
18
|
success: "success";
|
|
11
19
|
}>;
|
|
20
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
+
status: z.ZodEnum<{
|
|
22
|
+
success: "success";
|
|
23
|
+
}>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
structuredContent: z.ZodObject<{
|
|
26
|
+
count: z.ZodNumber;
|
|
27
|
+
documents: z.ZodArray<z.ZodObject<{
|
|
28
|
+
uuid: z.ZodString;
|
|
29
|
+
name: z.ZodString;
|
|
30
|
+
sizeBytes: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>>;
|
|
12
32
|
}, z.core.$strip>;
|
|
13
|
-
}, z.core.$strip
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
result: z.ZodString;
|
|
35
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
36
|
+
status: z.ZodEnum<{
|
|
37
|
+
error: "error";
|
|
38
|
+
success: "success";
|
|
39
|
+
}>;
|
|
40
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
+
status: z.ZodEnum<{
|
|
42
|
+
error: "error";
|
|
43
|
+
}>;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
structuredContent: z.ZodObject<{
|
|
46
|
+
error: z.ZodString;
|
|
47
|
+
}, z.core.$strip>;
|
|
48
|
+
}, z.core.$strip>]>;
|
|
14
49
|
export type ToolListKnowledgeDocumentsArgs = z.infer<typeof toolListKnowledgeDocumentsArgsSchema>;
|
|
50
|
+
export type ToolListKnowledgeDocumentsStructuredContent = z.infer<typeof toolListKnowledgeDocumentsStructuredContentSchema>;
|
|
15
51
|
export type ToolListKnowledgeDocumentsOutput = z.infer<typeof toolListKnowledgeDocumentsOutputSchema>;
|
|
16
52
|
//# sourceMappingURL=toolListKnowledgeDocumentsArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListKnowledgeDocumentsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"toolListKnowledgeDocumentsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAQ5D,eAAO,MAAM,yCAAyC,2BAGnD,sBAAsB,KAAG,MAwB3B,CAAC;AAEF,eAAO,MAAM,oCAAoC,gCAA6B,CAAC;AAE/E,eAAO,MAAM,iDAAiD;;;;;;;iBAmB5D,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAI7C,CAAC;AAEP,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,oCAAoC,CAC9C,CAAC;AAEF,MAAM,MAAM,2CAA2C,GAAG,CAAC,CAAC,KAAK,CAC7D,OAAO,iDAAiD,CAC3D,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CAClD,OAAO,sCAAsC,CAChD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolListKnowledgeDocumentsOutputSchema = exports.toolListKnowledgeDocumentsArgsSchema = exports.TOOL_LIST_KNOWLEDGE_DOCUMENTS_DESCRIPTION = void 0;
|
|
3
|
+
exports.toolListKnowledgeDocumentsOutputSchema = exports.toolListKnowledgeDocumentsStructuredContentSchema = exports.toolListKnowledgeDocumentsArgsSchema = exports.TOOL_LIST_KNOWLEDGE_DOCUMENTS_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
6
|
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
@@ -29,8 +29,24 @@ Parameters:
|
|
|
29
29
|
};
|
|
30
30
|
exports.TOOL_LIST_KNOWLEDGE_DOCUMENTS_DESCRIPTION = TOOL_LIST_KNOWLEDGE_DOCUMENTS_DESCRIPTION;
|
|
31
31
|
exports.toolListKnowledgeDocumentsArgsSchema = (0, toolSchemaBuilder_1.createToolSchema)().build();
|
|
32
|
-
exports.
|
|
33
|
-
|
|
32
|
+
exports.toolListKnowledgeDocumentsStructuredContentSchema = zod_1.z.object({
|
|
33
|
+
count: zod_1.z
|
|
34
|
+
.number()
|
|
35
|
+
.int()
|
|
36
|
+
.describe('Number of knowledge documents curated for this agent.'),
|
|
37
|
+
documents: zod_1.z.array(zod_1.z.object({
|
|
38
|
+
uuid: zod_1.z
|
|
39
|
+
.string()
|
|
40
|
+
.describe('Pass to getKnowledgeDocumentContent to read the full document.'),
|
|
41
|
+
name: zod_1.z.string(),
|
|
42
|
+
sizeBytes: zod_1.z
|
|
43
|
+
.number()
|
|
44
|
+
.int()
|
|
45
|
+
.describe('Size of the full document content in bytes.'),
|
|
46
|
+
})),
|
|
47
|
+
});
|
|
48
|
+
exports.toolListKnowledgeDocumentsOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
|
|
34
49
|
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
50
|
+
structuredContent: exports.toolListKnowledgeDocumentsStructuredContentSchema,
|
|
35
51
|
});
|
|
36
52
|
//# sourceMappingURL=toolListKnowledgeDocumentsArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListKnowledgeDocumentsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"toolListKnowledgeDocumentsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListKnowledgeDocumentsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAG2B;AAC3B,4DAAwD;AACxD,6DAAmD;AAE5C,MAAM,yCAAyC,GAAG,CAAC,EACtD,OAAO,EACP,QAAQ,GACa,EAAU,EAAE;IACjC,MAAM,2BAA2B,GAAG,IAAA,gCAAW,EAC3C,6BAA6B,EAC7B,OAAO,CACV,CAAC;IACF,OAAO,SAAS,QAAQ;;;;;oKAKwI,2BAA2B;;;;;;;;;;;;;CAa9L,CAAC;AACF,CAAC,CAAC;AA3BW,QAAA,yCAAyC,GAAzC,yCAAyC,CA2BpD;AAEW,QAAA,oCAAoC,GAAG,IAAA,oCAAgB,GAAE,CAAC,KAAK,EAAE,CAAC;AAElE,QAAA,iDAAiD,GAAG,OAAC,CAAC,MAAM,CAAC;IACtE,KAAK,EAAE,OAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,uDAAuD,CAAC;IACtE,SAAS,EAAE,OAAC,CAAC,KAAK,CACd,OAAC,CAAC,MAAM,CAAC;QACL,IAAI,EAAE,OAAC;aACF,MAAM,EAAE;aACR,QAAQ,CACL,gEAAgE,CACnE;QACL,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,SAAS,EAAE,OAAC;aACP,MAAM,EAAE;aACR,GAAG,EAAE;aACL,QAAQ,CAAC,6CAA6C,CAAC;KAC/D,CAAC,CACL;CACJ,CAAC,CAAC;AAEU,QAAA,sCAAsC,GAC/C,IAAA,2CAA0B,EAAC;IACvB,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,iDAAiD;CACvE,CAAC,CAAC"}
|
|
@@ -2,14 +2,46 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const TOOL_LIST_PROJECTS_DESCRIPTION: string;
|
|
3
3
|
export declare const toolListProjectsArgsSchema: z.ZodObject<{}, z.core.$strip>;
|
|
4
4
|
export type ToolListProjectsArgs = z.infer<typeof toolListProjectsArgsSchema>;
|
|
5
|
-
export declare const
|
|
5
|
+
export declare const toolListProjectsStructuredContentSchema: z.ZodObject<{
|
|
6
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
isActive: z.ZodBoolean;
|
|
9
|
+
}, z.core.$strip>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type ToolListProjectsStructuredContent = z.infer<typeof toolListProjectsStructuredContentSchema>;
|
|
12
|
+
export declare const toolListProjectsOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
6
13
|
result: z.ZodString;
|
|
7
|
-
metadata: z.ZodObject<{
|
|
14
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
8
15
|
status: z.ZodEnum<{
|
|
9
16
|
error: "error";
|
|
10
17
|
success: "success";
|
|
11
18
|
}>;
|
|
19
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
+
status: z.ZodEnum<{
|
|
21
|
+
success: "success";
|
|
22
|
+
}>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
24
|
+
structuredContent: z.ZodObject<{
|
|
25
|
+
projects: z.ZodArray<z.ZodObject<{
|
|
26
|
+
name: z.ZodString;
|
|
27
|
+
isActive: z.ZodBoolean;
|
|
28
|
+
}, z.core.$strip>>;
|
|
12
29
|
}, z.core.$strip>;
|
|
13
|
-
}, z.core.$strip
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
result: z.ZodString;
|
|
32
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
33
|
+
status: z.ZodEnum<{
|
|
34
|
+
error: "error";
|
|
35
|
+
success: "success";
|
|
36
|
+
}>;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
status: z.ZodEnum<{
|
|
39
|
+
error: "error";
|
|
40
|
+
}>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
structuredContent: z.ZodObject<{
|
|
43
|
+
error: z.ZodString;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
}, z.core.$strip>]>;
|
|
14
46
|
export type ToolListProjectsOutput = z.infer<typeof toolListProjectsOutputSchema>;
|
|
15
47
|
//# sourceMappingURL=toolListProjectsArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListProjectsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListProjectsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"toolListProjectsArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListProjectsArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,8BAA8B,QAIhC,CAAC;AAEZ,eAAO,MAAM,0BAA0B,gCAAe,CAAC;AAEvD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,uCAAuC;;;;;iBAelD,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,uCAAuC,CACjD,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAGvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CACxC,OAAO,4BAA4B,CACtC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolListProjectsOutputSchema = exports.toolListProjectsArgsSchema = exports.TOOL_LIST_PROJECTS_DESCRIPTION = void 0;
|
|
3
|
+
exports.toolListProjectsOutputSchema = exports.toolListProjectsStructuredContentSchema = exports.toolListProjectsArgsSchema = exports.TOOL_LIST_PROJECTS_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
6
|
exports.TOOL_LIST_PROJECTS_DESCRIPTION = [
|
|
@@ -9,8 +9,18 @@ exports.TOOL_LIST_PROJECTS_DESCRIPTION = [
|
|
|
9
9
|
'This is read-only and only returns projects the user is allowed to view. It does not switch the project you are currently working in.',
|
|
10
10
|
].join(' ');
|
|
11
11
|
exports.toolListProjectsArgsSchema = zod_1.z.object({});
|
|
12
|
-
exports.
|
|
13
|
-
|
|
12
|
+
exports.toolListProjectsStructuredContentSchema = zod_1.z.object({
|
|
13
|
+
projects: zod_1.z
|
|
14
|
+
.array(zod_1.z.object({
|
|
15
|
+
name: zod_1.z.string(),
|
|
16
|
+
isActive: zod_1.z
|
|
17
|
+
.boolean()
|
|
18
|
+
.describe('True for the project the agent is currently working in.'),
|
|
19
|
+
}))
|
|
20
|
+
.describe('Projects the current user can access, in the order they were listed; empty when the user has access to none.'),
|
|
21
|
+
});
|
|
22
|
+
exports.toolListProjectsOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
|
|
14
23
|
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
24
|
+
structuredContent: exports.toolListProjectsStructuredContentSchema,
|
|
15
25
|
});
|
|
16
26
|
//# sourceMappingURL=toolListProjectsArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListProjectsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListProjectsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"toolListProjectsArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListProjectsArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,sDAG2B;AAEd,QAAA,8BAA8B,GAAG;IAC1C,uFAAuF;IACvF,+IAA+I;IAC/I,uIAAuI;CAC1I,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEC,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAI1C,QAAA,uCAAuC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,QAAQ,EAAE,OAAC;SACN,KAAK,CACF,OAAC,CAAC,MAAM,CAAC;QACL,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,QAAQ,EAAE,OAAC;aACN,OAAO,EAAE;aACT,QAAQ,CACL,yDAAyD,CAC5D;KACR,CAAC,CACL;SACA,QAAQ,CACL,8GAA8G,CACjH;CACR,CAAC,CAAC;AAMU,QAAA,4BAA4B,GAAG,IAAA,2CAA0B,EAAC;IACnE,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,uCAAuC;CAC7D,CAAC,CAAC"}
|
|
@@ -7,14 +7,60 @@ export declare const toolListWarehouseTablesArgsSchema: z.ZodObject<{
|
|
|
7
7
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
export type ToolListWarehouseTablesArgs = z.infer<typeof toolListWarehouseTablesArgsSchema>;
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const toolListWarehouseTablesStructuredContentSchema: z.ZodObject<{
|
|
11
|
+
matchCount: z.ZodNumber;
|
|
12
|
+
filters: z.ZodObject<{
|
|
13
|
+
schema: z.ZodNullable<z.ZodString>;
|
|
14
|
+
search: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
17
|
+
database: z.ZodString;
|
|
18
|
+
schema: z.ZodString;
|
|
19
|
+
table: z.ZodString;
|
|
20
|
+
qualifiedName: z.ZodString;
|
|
21
|
+
}, z.core.$strip>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
23
|
+
export type ToolListWarehouseTablesStructuredContent = z.infer<typeof toolListWarehouseTablesStructuredContentSchema>;
|
|
24
|
+
export declare const toolListWarehouseTablesOutputSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
11
25
|
result: z.ZodString;
|
|
12
|
-
metadata: z.ZodObject<{
|
|
26
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
13
27
|
status: z.ZodEnum<{
|
|
14
28
|
error: "error";
|
|
15
29
|
success: "success";
|
|
16
30
|
}>;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
status: z.ZodEnum<{
|
|
33
|
+
success: "success";
|
|
34
|
+
}>;
|
|
35
|
+
}, z.core.$strip>>;
|
|
36
|
+
structuredContent: z.ZodObject<{
|
|
37
|
+
matchCount: z.ZodNumber;
|
|
38
|
+
filters: z.ZodObject<{
|
|
39
|
+
schema: z.ZodNullable<z.ZodString>;
|
|
40
|
+
search: z.ZodNullable<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
tables: z.ZodArray<z.ZodObject<{
|
|
43
|
+
database: z.ZodString;
|
|
44
|
+
schema: z.ZodString;
|
|
45
|
+
table: z.ZodString;
|
|
46
|
+
qualifiedName: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
17
48
|
}, z.core.$strip>;
|
|
18
|
-
}, z.core.$strip
|
|
49
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
+
result: z.ZodString;
|
|
51
|
+
metadata: z.ZodIntersection<z.ZodObject<{
|
|
52
|
+
status: z.ZodEnum<{
|
|
53
|
+
error: "error";
|
|
54
|
+
success: "success";
|
|
55
|
+
}>;
|
|
56
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
57
|
+
status: z.ZodEnum<{
|
|
58
|
+
error: "error";
|
|
59
|
+
}>;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
structuredContent: z.ZodObject<{
|
|
62
|
+
error: z.ZodString;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
}, z.core.$strip>]>;
|
|
19
65
|
export type ToolListWarehouseTablesOutput = z.infer<typeof toolListWarehouseTablesOutputSchema>;
|
|
20
66
|
//# sourceMappingURL=toolListWarehouseTablesArgs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListWarehouseTablesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"toolListWarehouseTablesArgs.d.ts","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAO5D,eAAO,MAAM,sCAAsC,kBAEhD,sBAAsB,KAAG,MAoB3B,CAAC;AAEF,eAAO,MAAM,iCAAiC;;;;iBAsBlC,CAAC;AAEb,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,iCAAiC,CAC3C,CAAC;AAEF,eAAO,MAAM,8CAA8C;;;;;;;;;;;;iBAuBzD,CAAC;AAEH,MAAM,MAAM,wCAAwC,GAAG,CAAC,CAAC,KAAK,CAC1D,OAAO,8CAA8C,CACxD,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAG9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,mCAAmC,CAC7C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toolListWarehouseTablesOutputSchema = exports.toolListWarehouseTablesArgsSchema = exports.TOOL_LIST_WAREHOUSE_TABLES_DESCRIPTION = void 0;
|
|
3
|
+
exports.toolListWarehouseTablesOutputSchema = exports.toolListWarehouseTablesStructuredContentSchema = exports.toolListWarehouseTablesArgsSchema = exports.TOOL_LIST_WAREHOUSE_TABLES_DESCRIPTION = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const outputMetadata_1 = require("../outputMetadata");
|
|
6
6
|
const toolSchemaBuilder_1 = require("../toolSchemaBuilder");
|
|
@@ -45,8 +45,30 @@ exports.toolListWarehouseTablesArgsSchema = (0, toolSchemaBuilder_1.createToolSc
|
|
|
45
45
|
.describe('Maximum number of tables to return (default 100, max 500).'),
|
|
46
46
|
})
|
|
47
47
|
.build();
|
|
48
|
-
exports.
|
|
49
|
-
|
|
48
|
+
exports.toolListWarehouseTablesStructuredContentSchema = zod_1.z.object({
|
|
49
|
+
matchCount: zod_1.z
|
|
50
|
+
.number()
|
|
51
|
+
.int()
|
|
52
|
+
.describe('Number of tables matched; 0 when nothing matched.'),
|
|
53
|
+
filters: zod_1.z
|
|
54
|
+
.object({
|
|
55
|
+
schema: zod_1.z.string().nullable(),
|
|
56
|
+
search: zod_1.z.string().nullable(),
|
|
57
|
+
})
|
|
58
|
+
.describe('Filters applied to the catalog; null when not given.'),
|
|
59
|
+
tables: zod_1.z
|
|
60
|
+
.array(zod_1.z.object({
|
|
61
|
+
database: zod_1.z.string(),
|
|
62
|
+
schema: zod_1.z.string(),
|
|
63
|
+
table: zod_1.z.string(),
|
|
64
|
+
qualifiedName: zod_1.z
|
|
65
|
+
.string()
|
|
66
|
+
.describe('"database.schema.table", ready to use in SQL.'),
|
|
67
|
+
}))
|
|
68
|
+
.describe('Matched tables, in catalog order; empty when none matched.'),
|
|
69
|
+
});
|
|
70
|
+
exports.toolListWarehouseTablesOutputSchema = (0, outputMetadata_1.structuredToolOutputSchema)({
|
|
50
71
|
metadata: outputMetadata_1.baseOutputMetadataSchema,
|
|
72
|
+
structuredContent: exports.toolListWarehouseTablesStructuredContentSchema,
|
|
51
73
|
});
|
|
52
74
|
//# sourceMappingURL=toolListWarehouseTablesArgs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolListWarehouseTablesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"toolListWarehouseTablesArgs.js","sourceRoot":"","sources":["../../../../../../src/ee/AiAgent/schemas/tools/toolListWarehouseTablesArgs.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAExB,sDAG2B;AAC3B,4DAAwD;AAEjD,MAAM,sCAAsC,GAAG,CAAC,EACnD,QAAQ,GACa,EAAU,EAAE,CAAC,SAAS,QAAQ;;;;;;;;;;;;;;;;;;;;CAoBtD,CAAC;AAtBW,QAAA,sCAAsC,GAAtC,sCAAsC,CAsBjD;AAEW,QAAA,iCAAiC,GAAG,IAAA,oCAAgB,GAAE;KAC9D,MAAM,CAAC;IACJ,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IACxD,MAAM,EAAE,OAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACL,2DAA2D,CAC9D;IACL,KAAK,EAAE,OAAC,CAAC,MAAM;SACV,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,EAAE;SACV,GAAG,CAAC,GAAG,CAAC;SACR,OAAO,CAAC,GAAG,CAAC;SACZ,QAAQ,CACL,4DAA4D,CAC/D;CACR,CAAC;KACD,KAAK,EAAE,CAAC;AAMA,QAAA,8CAA8C,GAAG,OAAC,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,OAAC;SACR,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CAAC,mDAAmD,CAAC;IAClE,OAAO,EAAE,OAAC;SACL,MAAM,CAAC;QACJ,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC;SACD,QAAQ,CAAC,sDAAsD,CAAC;IACrE,MAAM,EAAE,OAAC;SACJ,KAAK,CACF,OAAC,CAAC,MAAM,CAAC;QACL,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;QACpB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,aAAa,EAAE,OAAC;aACX,MAAM,EAAE;aACR,QAAQ,CAAC,+CAA+C,CAAC;KACjE,CAAC,CACL;SACA,QAAQ,CAAC,4DAA4D,CAAC;CAC9E,CAAC,CAAC;AAMU,QAAA,mCAAmC,GAAG,IAAA,2CAA0B,EAAC;IAC1E,QAAQ,EAAE,yCAAwB;IAClC,iBAAiB,EAAE,QAAA,8CAA8C;CACpE,CAAC,CAAC"}
|