workday-studio-mcp-server 2.0.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/.env.example +40 -0
- package/LICENSE +21 -0
- package/README.md +258 -0
- package/dist/config.d.ts +22 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +67 -0
- package/dist/config.js.map +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +84 -0
- package/dist/index.js.map +1 -0
- package/dist/schemas/index.d.ts +473 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +172 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/tools/copy-file.d.ts +7 -0
- package/dist/tools/copy-file.d.ts.map +1 -0
- package/dist/tools/copy-file.js +82 -0
- package/dist/tools/copy-file.js.map +1 -0
- package/dist/tools/delete-file.d.ts +7 -0
- package/dist/tools/delete-file.d.ts.map +1 -0
- package/dist/tools/delete-file.js +85 -0
- package/dist/tools/delete-file.js.map +1 -0
- package/dist/tools/list-assembly-steps.d.ts +7 -0
- package/dist/tools/list-assembly-steps.d.ts.map +1 -0
- package/dist/tools/list-assembly-steps.js +107 -0
- package/dist/tools/list-assembly-steps.js.map +1 -0
- package/dist/tools/list-files.d.ts +7 -0
- package/dist/tools/list-files.d.ts.map +1 -0
- package/dist/tools/list-files.js +66 -0
- package/dist/tools/list-files.js.map +1 -0
- package/dist/tools/list-integration-params.d.ts +7 -0
- package/dist/tools/list-integration-params.d.ts.map +1 -0
- package/dist/tools/list-integration-params.js +95 -0
- package/dist/tools/list-integration-params.js.map +1 -0
- package/dist/tools/list-projects.d.ts +7 -0
- package/dist/tools/list-projects.d.ts.map +1 -0
- package/dist/tools/list-projects.js +68 -0
- package/dist/tools/list-projects.js.map +1 -0
- package/dist/tools/read-file.d.ts +7 -0
- package/dist/tools/read-file.d.ts.map +1 -0
- package/dist/tools/read-file.js +63 -0
- package/dist/tools/read-file.js.map +1 -0
- package/dist/tools/rename-file.d.ts +7 -0
- package/dist/tools/rename-file.d.ts.map +1 -0
- package/dist/tools/rename-file.js +86 -0
- package/dist/tools/rename-file.js.map +1 -0
- package/dist/tools/search-files.d.ts +7 -0
- package/dist/tools/search-files.d.ts.map +1 -0
- package/dist/tools/search-files.js +110 -0
- package/dist/tools/search-files.js.map +1 -0
- package/dist/tools/validate-xml.d.ts +7 -0
- package/dist/tools/validate-xml.d.ts.map +1 -0
- package/dist/tools/validate-xml.js +69 -0
- package/dist/tools/validate-xml.js.map +1 -0
- package/dist/tools/workspace-tree.d.ts +7 -0
- package/dist/tools/workspace-tree.d.ts.map +1 -0
- package/dist/tools/workspace-tree.js +93 -0
- package/dist/tools/workspace-tree.js.map +1 -0
- package/dist/tools/write-file.d.ts +7 -0
- package/dist/tools/write-file.d.ts.map +1 -0
- package/dist/tools/write-file.js +87 -0
- package/dist/tools/write-file.js.map +1 -0
- package/dist/utils/errors.d.ts +42 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +50 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/fs.d.ts +17 -0
- package/dist/utils/fs.d.ts.map +1 -0
- package/dist/utils/fs.js +35 -0
- package/dist/utils/fs.js.map +1 -0
- package/dist/utils/logger.d.ts +24 -0
- package/dist/utils/logger.d.ts.map +1 -0
- package/dist/utils/logger.js +56 -0
- package/dist/utils/logger.js.map +1 -0
- package/dist/utils/xml.d.ts +14 -0
- package/dist/utils/xml.d.ts.map +1 -0
- package/dist/utils/xml.js +31 -0
- package/dist/utils/xml.js.map +1 -0
- package/package.json +66 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared Zod schemas for tool input validation.
|
|
3
|
+
* All tool parameter objects are defined here to keep handlers clean.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
export declare const ProjectNameSchema: z.ZodString;
|
|
7
|
+
export declare const FilePathSchema: z.ZodString;
|
|
8
|
+
export declare const ListProjectsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
9
|
+
export declare const ListFilesSchema: z.ZodObject<{
|
|
10
|
+
project_name: z.ZodString;
|
|
11
|
+
subfolder: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
project_name: string;
|
|
14
|
+
subfolder?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
project_name: string;
|
|
17
|
+
subfolder?: string | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const ReadFileSchema: z.ZodObject<{
|
|
20
|
+
project_name: z.ZodString;
|
|
21
|
+
file_path: z.ZodString;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
project_name: string;
|
|
24
|
+
file_path: string;
|
|
25
|
+
}, {
|
|
26
|
+
project_name: string;
|
|
27
|
+
file_path: string;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const WriteFileSchema: z.ZodObject<{
|
|
30
|
+
project_name: z.ZodString;
|
|
31
|
+
file_path: z.ZodString;
|
|
32
|
+
content: z.ZodString;
|
|
33
|
+
create_backup: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
content: string;
|
|
36
|
+
project_name: string;
|
|
37
|
+
file_path: string;
|
|
38
|
+
create_backup?: boolean | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
content: string;
|
|
41
|
+
project_name: string;
|
|
42
|
+
file_path: string;
|
|
43
|
+
create_backup?: boolean | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const SearchFilesSchema: z.ZodObject<{
|
|
46
|
+
project_name: z.ZodString;
|
|
47
|
+
pattern: z.ZodString;
|
|
48
|
+
file_glob: z.ZodOptional<z.ZodString>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
pattern: string;
|
|
51
|
+
project_name: string;
|
|
52
|
+
file_glob?: string | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
pattern: string;
|
|
55
|
+
project_name: string;
|
|
56
|
+
file_glob?: string | undefined;
|
|
57
|
+
}>;
|
|
58
|
+
export declare const ValidateXmlSchema: z.ZodObject<{
|
|
59
|
+
project_name: z.ZodString;
|
|
60
|
+
file_path: z.ZodString;
|
|
61
|
+
}, "strip", z.ZodTypeAny, {
|
|
62
|
+
project_name: string;
|
|
63
|
+
file_path: string;
|
|
64
|
+
}, {
|
|
65
|
+
project_name: string;
|
|
66
|
+
file_path: string;
|
|
67
|
+
}>;
|
|
68
|
+
export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
69
|
+
project_name: z.ZodOptional<z.ZodString>;
|
|
70
|
+
max_depth: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
project_name?: string | undefined;
|
|
73
|
+
max_depth?: number | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
project_name?: string | undefined;
|
|
76
|
+
max_depth?: number | undefined;
|
|
77
|
+
}>;
|
|
78
|
+
export declare const RenameFileSchema: z.ZodObject<{
|
|
79
|
+
project_name: z.ZodString;
|
|
80
|
+
old_path: z.ZodString;
|
|
81
|
+
new_path: z.ZodString;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
project_name: string;
|
|
84
|
+
old_path: string;
|
|
85
|
+
new_path: string;
|
|
86
|
+
}, {
|
|
87
|
+
project_name: string;
|
|
88
|
+
old_path: string;
|
|
89
|
+
new_path: string;
|
|
90
|
+
}>;
|
|
91
|
+
export declare const CopyFileSchema: z.ZodObject<{
|
|
92
|
+
source_project: z.ZodString;
|
|
93
|
+
source_path: z.ZodString;
|
|
94
|
+
dest_project: z.ZodString;
|
|
95
|
+
dest_path: z.ZodString;
|
|
96
|
+
overwrite: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
|
+
source_project: string;
|
|
99
|
+
source_path: string;
|
|
100
|
+
dest_project: string;
|
|
101
|
+
dest_path: string;
|
|
102
|
+
overwrite?: boolean | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
source_project: string;
|
|
105
|
+
source_path: string;
|
|
106
|
+
dest_project: string;
|
|
107
|
+
dest_path: string;
|
|
108
|
+
overwrite?: boolean | undefined;
|
|
109
|
+
}>;
|
|
110
|
+
export declare const DeleteFileSchema: z.ZodObject<{
|
|
111
|
+
project_name: z.ZodString;
|
|
112
|
+
file_path: z.ZodString;
|
|
113
|
+
create_backup: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
project_name: string;
|
|
116
|
+
file_path: string;
|
|
117
|
+
create_backup?: boolean | undefined;
|
|
118
|
+
}, {
|
|
119
|
+
project_name: string;
|
|
120
|
+
file_path: string;
|
|
121
|
+
create_backup?: boolean | undefined;
|
|
122
|
+
}>;
|
|
123
|
+
export declare const ListAssemblyStepsSchema: z.ZodObject<{
|
|
124
|
+
project_name: z.ZodString;
|
|
125
|
+
}, "strip", z.ZodTypeAny, {
|
|
126
|
+
project_name: string;
|
|
127
|
+
}, {
|
|
128
|
+
project_name: string;
|
|
129
|
+
}>;
|
|
130
|
+
export declare const ListIntegrationParamsSchema: z.ZodObject<{
|
|
131
|
+
project_name: z.ZodString;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
project_name: string;
|
|
134
|
+
}, {
|
|
135
|
+
project_name: string;
|
|
136
|
+
}>;
|
|
137
|
+
export declare const GetStepTypeReferenceSchema: z.ZodObject<{
|
|
138
|
+
step_type: z.ZodString;
|
|
139
|
+
}, "strip", z.ZodTypeAny, {
|
|
140
|
+
step_type: string;
|
|
141
|
+
}, {
|
|
142
|
+
step_type: string;
|
|
143
|
+
}>;
|
|
144
|
+
export declare const LookupSoapOperationsSchema: z.ZodObject<{
|
|
145
|
+
service_name: z.ZodString;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
service_name: string;
|
|
148
|
+
}, {
|
|
149
|
+
service_name: string;
|
|
150
|
+
}>;
|
|
151
|
+
declare const DesignBriefSchema: z.ZodObject<{
|
|
152
|
+
data_source: z.ZodEnum<["raas", "soap-get", "inbound-file", "webhook", "external-rest", "multiple"]>;
|
|
153
|
+
data_destination: z.ZodEnum<["workday-soap-write", "workday-rest-write", "external-rest", "file-delivery", "email-only", "multiple"]>;
|
|
154
|
+
trigger: z.ZodEnum<["scheduled", "event-driven", "launch-params-manual", "inbound-file"]>;
|
|
155
|
+
record_volume: z.ZodEnum<["single", "small", "large"]>;
|
|
156
|
+
external_auth: z.ZodOptional<z.ZodEnum<["none", "oauth2", "basic", "api-key"]>>;
|
|
157
|
+
error_handling: z.ZodArray<z.ZodEnum<["integration-messages", "email-notification", "rethrow"]>, "many">;
|
|
158
|
+
raas_reports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
alias: z.ZodString;
|
|
160
|
+
description: z.ZodString;
|
|
161
|
+
filter_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
162
|
+
has_reference_wid: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
description: string;
|
|
165
|
+
alias: string;
|
|
166
|
+
filter_params?: string[] | undefined;
|
|
167
|
+
has_reference_wid?: boolean | undefined;
|
|
168
|
+
}, {
|
|
169
|
+
description: string;
|
|
170
|
+
alias: string;
|
|
171
|
+
filter_params?: string[] | undefined;
|
|
172
|
+
has_reference_wid?: boolean | undefined;
|
|
173
|
+
}>, "many">>;
|
|
174
|
+
soap_operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
175
|
+
application: z.ZodString;
|
|
176
|
+
operation: z.ZodString;
|
|
177
|
+
version: z.ZodString;
|
|
178
|
+
direction: z.ZodEnum<["get", "write"]>;
|
|
179
|
+
}, "strip", z.ZodTypeAny, {
|
|
180
|
+
version: string;
|
|
181
|
+
application: string;
|
|
182
|
+
operation: string;
|
|
183
|
+
direction: "get" | "write";
|
|
184
|
+
}, {
|
|
185
|
+
version: string;
|
|
186
|
+
application: string;
|
|
187
|
+
operation: string;
|
|
188
|
+
direction: "get" | "write";
|
|
189
|
+
}>, "many">>;
|
|
190
|
+
integration_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
191
|
+
name: z.ZodString;
|
|
192
|
+
is_password: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
name: string;
|
|
196
|
+
is_password?: boolean | undefined;
|
|
197
|
+
required?: boolean | undefined;
|
|
198
|
+
}, {
|
|
199
|
+
name: string;
|
|
200
|
+
is_password?: boolean | undefined;
|
|
201
|
+
required?: boolean | undefined;
|
|
202
|
+
}>, "many">>;
|
|
203
|
+
conditional_logic: z.ZodOptional<z.ZodString>;
|
|
204
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
207
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
208
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
209
|
+
record_volume: "small" | "single" | "large";
|
|
210
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
211
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
212
|
+
raas_reports?: {
|
|
213
|
+
description: string;
|
|
214
|
+
alias: string;
|
|
215
|
+
filter_params?: string[] | undefined;
|
|
216
|
+
has_reference_wid?: boolean | undefined;
|
|
217
|
+
}[] | undefined;
|
|
218
|
+
soap_operations?: {
|
|
219
|
+
version: string;
|
|
220
|
+
application: string;
|
|
221
|
+
operation: string;
|
|
222
|
+
direction: "get" | "write";
|
|
223
|
+
}[] | undefined;
|
|
224
|
+
integration_attributes?: {
|
|
225
|
+
name: string;
|
|
226
|
+
is_password?: boolean | undefined;
|
|
227
|
+
required?: boolean | undefined;
|
|
228
|
+
}[] | undefined;
|
|
229
|
+
conditional_logic?: string | undefined;
|
|
230
|
+
notes?: string | undefined;
|
|
231
|
+
}, {
|
|
232
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
233
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
234
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
235
|
+
record_volume: "small" | "single" | "large";
|
|
236
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
237
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
238
|
+
raas_reports?: {
|
|
239
|
+
description: string;
|
|
240
|
+
alias: string;
|
|
241
|
+
filter_params?: string[] | undefined;
|
|
242
|
+
has_reference_wid?: boolean | undefined;
|
|
243
|
+
}[] | undefined;
|
|
244
|
+
soap_operations?: {
|
|
245
|
+
version: string;
|
|
246
|
+
application: string;
|
|
247
|
+
operation: string;
|
|
248
|
+
direction: "get" | "write";
|
|
249
|
+
}[] | undefined;
|
|
250
|
+
integration_attributes?: {
|
|
251
|
+
name: string;
|
|
252
|
+
is_password?: boolean | undefined;
|
|
253
|
+
required?: boolean | undefined;
|
|
254
|
+
}[] | undefined;
|
|
255
|
+
conditional_logic?: string | undefined;
|
|
256
|
+
notes?: string | undefined;
|
|
257
|
+
}>;
|
|
258
|
+
export type DesignBrief = z.infer<typeof DesignBriefSchema>;
|
|
259
|
+
declare const SubFlowSchema: z.ZodObject<{
|
|
260
|
+
id: z.ZodString;
|
|
261
|
+
description: z.ZodString;
|
|
262
|
+
reads_props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
263
|
+
writes_props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
264
|
+
}, "strip", z.ZodTypeAny, {
|
|
265
|
+
description: string;
|
|
266
|
+
id: string;
|
|
267
|
+
reads_props?: string[] | undefined;
|
|
268
|
+
writes_props?: string[] | undefined;
|
|
269
|
+
}, {
|
|
270
|
+
description: string;
|
|
271
|
+
id: string;
|
|
272
|
+
reads_props?: string[] | undefined;
|
|
273
|
+
writes_props?: string[] | undefined;
|
|
274
|
+
}>;
|
|
275
|
+
export type SubFlow = z.infer<typeof SubFlowSchema>;
|
|
276
|
+
export declare const PlanIntegrationSchema: z.ZodObject<{
|
|
277
|
+
project_name: z.ZodString;
|
|
278
|
+
sub_flows: z.ZodArray<z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
description: z.ZodString;
|
|
281
|
+
reads_props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
282
|
+
writes_props: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
283
|
+
}, "strip", z.ZodTypeAny, {
|
|
284
|
+
description: string;
|
|
285
|
+
id: string;
|
|
286
|
+
reads_props?: string[] | undefined;
|
|
287
|
+
writes_props?: string[] | undefined;
|
|
288
|
+
}, {
|
|
289
|
+
description: string;
|
|
290
|
+
id: string;
|
|
291
|
+
reads_props?: string[] | undefined;
|
|
292
|
+
writes_props?: string[] | undefined;
|
|
293
|
+
}>, "many">;
|
|
294
|
+
design_brief: z.ZodObject<{
|
|
295
|
+
data_source: z.ZodEnum<["raas", "soap-get", "inbound-file", "webhook", "external-rest", "multiple"]>;
|
|
296
|
+
data_destination: z.ZodEnum<["workday-soap-write", "workday-rest-write", "external-rest", "file-delivery", "email-only", "multiple"]>;
|
|
297
|
+
trigger: z.ZodEnum<["scheduled", "event-driven", "launch-params-manual", "inbound-file"]>;
|
|
298
|
+
record_volume: z.ZodEnum<["single", "small", "large"]>;
|
|
299
|
+
external_auth: z.ZodOptional<z.ZodEnum<["none", "oauth2", "basic", "api-key"]>>;
|
|
300
|
+
error_handling: z.ZodArray<z.ZodEnum<["integration-messages", "email-notification", "rethrow"]>, "many">;
|
|
301
|
+
raas_reports: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
302
|
+
alias: z.ZodString;
|
|
303
|
+
description: z.ZodString;
|
|
304
|
+
filter_params: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
305
|
+
has_reference_wid: z.ZodOptional<z.ZodBoolean>;
|
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
|
307
|
+
description: string;
|
|
308
|
+
alias: string;
|
|
309
|
+
filter_params?: string[] | undefined;
|
|
310
|
+
has_reference_wid?: boolean | undefined;
|
|
311
|
+
}, {
|
|
312
|
+
description: string;
|
|
313
|
+
alias: string;
|
|
314
|
+
filter_params?: string[] | undefined;
|
|
315
|
+
has_reference_wid?: boolean | undefined;
|
|
316
|
+
}>, "many">>;
|
|
317
|
+
soap_operations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
318
|
+
application: z.ZodString;
|
|
319
|
+
operation: z.ZodString;
|
|
320
|
+
version: z.ZodString;
|
|
321
|
+
direction: z.ZodEnum<["get", "write"]>;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
version: string;
|
|
324
|
+
application: string;
|
|
325
|
+
operation: string;
|
|
326
|
+
direction: "get" | "write";
|
|
327
|
+
}, {
|
|
328
|
+
version: string;
|
|
329
|
+
application: string;
|
|
330
|
+
operation: string;
|
|
331
|
+
direction: "get" | "write";
|
|
332
|
+
}>, "many">>;
|
|
333
|
+
integration_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
334
|
+
name: z.ZodString;
|
|
335
|
+
is_password: z.ZodOptional<z.ZodBoolean>;
|
|
336
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
|
+
name: string;
|
|
339
|
+
is_password?: boolean | undefined;
|
|
340
|
+
required?: boolean | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
name: string;
|
|
343
|
+
is_password?: boolean | undefined;
|
|
344
|
+
required?: boolean | undefined;
|
|
345
|
+
}>, "many">>;
|
|
346
|
+
conditional_logic: z.ZodOptional<z.ZodString>;
|
|
347
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
350
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
351
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
352
|
+
record_volume: "small" | "single" | "large";
|
|
353
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
354
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
355
|
+
raas_reports?: {
|
|
356
|
+
description: string;
|
|
357
|
+
alias: string;
|
|
358
|
+
filter_params?: string[] | undefined;
|
|
359
|
+
has_reference_wid?: boolean | undefined;
|
|
360
|
+
}[] | undefined;
|
|
361
|
+
soap_operations?: {
|
|
362
|
+
version: string;
|
|
363
|
+
application: string;
|
|
364
|
+
operation: string;
|
|
365
|
+
direction: "get" | "write";
|
|
366
|
+
}[] | undefined;
|
|
367
|
+
integration_attributes?: {
|
|
368
|
+
name: string;
|
|
369
|
+
is_password?: boolean | undefined;
|
|
370
|
+
required?: boolean | undefined;
|
|
371
|
+
}[] | undefined;
|
|
372
|
+
conditional_logic?: string | undefined;
|
|
373
|
+
notes?: string | undefined;
|
|
374
|
+
}, {
|
|
375
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
376
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
377
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
378
|
+
record_volume: "small" | "single" | "large";
|
|
379
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
380
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
381
|
+
raas_reports?: {
|
|
382
|
+
description: string;
|
|
383
|
+
alias: string;
|
|
384
|
+
filter_params?: string[] | undefined;
|
|
385
|
+
has_reference_wid?: boolean | undefined;
|
|
386
|
+
}[] | undefined;
|
|
387
|
+
soap_operations?: {
|
|
388
|
+
version: string;
|
|
389
|
+
application: string;
|
|
390
|
+
operation: string;
|
|
391
|
+
direction: "get" | "write";
|
|
392
|
+
}[] | undefined;
|
|
393
|
+
integration_attributes?: {
|
|
394
|
+
name: string;
|
|
395
|
+
is_password?: boolean | undefined;
|
|
396
|
+
required?: boolean | undefined;
|
|
397
|
+
}[] | undefined;
|
|
398
|
+
conditional_logic?: string | undefined;
|
|
399
|
+
notes?: string | undefined;
|
|
400
|
+
}>;
|
|
401
|
+
}, "strip", z.ZodTypeAny, {
|
|
402
|
+
project_name: string;
|
|
403
|
+
sub_flows: {
|
|
404
|
+
description: string;
|
|
405
|
+
id: string;
|
|
406
|
+
reads_props?: string[] | undefined;
|
|
407
|
+
writes_props?: string[] | undefined;
|
|
408
|
+
}[];
|
|
409
|
+
design_brief: {
|
|
410
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
411
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
412
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
413
|
+
record_volume: "small" | "single" | "large";
|
|
414
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
415
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
416
|
+
raas_reports?: {
|
|
417
|
+
description: string;
|
|
418
|
+
alias: string;
|
|
419
|
+
filter_params?: string[] | undefined;
|
|
420
|
+
has_reference_wid?: boolean | undefined;
|
|
421
|
+
}[] | undefined;
|
|
422
|
+
soap_operations?: {
|
|
423
|
+
version: string;
|
|
424
|
+
application: string;
|
|
425
|
+
operation: string;
|
|
426
|
+
direction: "get" | "write";
|
|
427
|
+
}[] | undefined;
|
|
428
|
+
integration_attributes?: {
|
|
429
|
+
name: string;
|
|
430
|
+
is_password?: boolean | undefined;
|
|
431
|
+
required?: boolean | undefined;
|
|
432
|
+
}[] | undefined;
|
|
433
|
+
conditional_logic?: string | undefined;
|
|
434
|
+
notes?: string | undefined;
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
project_name: string;
|
|
438
|
+
sub_flows: {
|
|
439
|
+
description: string;
|
|
440
|
+
id: string;
|
|
441
|
+
reads_props?: string[] | undefined;
|
|
442
|
+
writes_props?: string[] | undefined;
|
|
443
|
+
}[];
|
|
444
|
+
design_brief: {
|
|
445
|
+
data_source: "raas" | "soap-get" | "inbound-file" | "webhook" | "external-rest" | "multiple";
|
|
446
|
+
data_destination: "external-rest" | "multiple" | "workday-soap-write" | "workday-rest-write" | "file-delivery" | "email-only";
|
|
447
|
+
trigger: "inbound-file" | "scheduled" | "event-driven" | "launch-params-manual";
|
|
448
|
+
record_volume: "small" | "single" | "large";
|
|
449
|
+
error_handling: ("integration-messages" | "email-notification" | "rethrow")[];
|
|
450
|
+
external_auth?: "none" | "oauth2" | "basic" | "api-key" | undefined;
|
|
451
|
+
raas_reports?: {
|
|
452
|
+
description: string;
|
|
453
|
+
alias: string;
|
|
454
|
+
filter_params?: string[] | undefined;
|
|
455
|
+
has_reference_wid?: boolean | undefined;
|
|
456
|
+
}[] | undefined;
|
|
457
|
+
soap_operations?: {
|
|
458
|
+
version: string;
|
|
459
|
+
application: string;
|
|
460
|
+
operation: string;
|
|
461
|
+
direction: "get" | "write";
|
|
462
|
+
}[] | undefined;
|
|
463
|
+
integration_attributes?: {
|
|
464
|
+
name: string;
|
|
465
|
+
is_password?: boolean | undefined;
|
|
466
|
+
required?: boolean | undefined;
|
|
467
|
+
}[] | undefined;
|
|
468
|
+
conditional_logic?: string | undefined;
|
|
469
|
+
notes?: string | undefined;
|
|
470
|
+
};
|
|
471
|
+
}>;
|
|
472
|
+
export { DesignBriefSchema, SubFlowSchema };
|
|
473
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB,aAAwD,CAAC;AAEvF,eAAO,MAAM,cAAc,aAGyD,CAAC;AAGrF,eAAO,MAAM,kBAAkB,gDAAe,CAAC;AAG/C,eAAO,MAAM,eAAe;;;;;;;;;EAM1B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;EAGzB,CAAC;AAGH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;EAQ1B,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAO5B,CAAC;AAGH,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAGH,eAAO,MAAM,mBAAmB;;;;;;;;;EAW9B,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAGH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;EAMzB,CAAC;AAGH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAGH,eAAO,MAAM,uBAAuB;;;;;;EAElC,CAAC;AAGH,eAAO,MAAM,2BAA2B;;;;;;EAEtC,CAAC;AAGH,eAAO,MAAM,0BAA0B;;;;;;EAQrC,CAAC;AAGH,eAAO,MAAM,0BAA0B;;;;;;EAQrC,CAAC;AAIH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkErB,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;EAKjB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIhC,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared Zod schemas for tool input validation.
|
|
3
|
+
* All tool parameter objects are defined here to keep handlers clean.
|
|
4
|
+
*/
|
|
5
|
+
import { z } from 'zod';
|
|
6
|
+
// ── Common field schemas ──────────────────────────────────────────────────────
|
|
7
|
+
export const ProjectNameSchema = z.string().min(1).describe('The Studio project name');
|
|
8
|
+
export const FilePathSchema = z
|
|
9
|
+
.string()
|
|
10
|
+
.min(1)
|
|
11
|
+
.describe('File path relative to project root (e.g. ws/WSAR-INF/MyTransform.xsl)');
|
|
12
|
+
// ── list_studio_projects ──────────────────────────────────────────────────────
|
|
13
|
+
export const ListProjectsSchema = z.object({});
|
|
14
|
+
// ── list_project_files ────────────────────────────────────────────────────────
|
|
15
|
+
export const ListFilesSchema = z.object({
|
|
16
|
+
project_name: ProjectNameSchema,
|
|
17
|
+
subfolder: z
|
|
18
|
+
.string()
|
|
19
|
+
.optional()
|
|
20
|
+
.describe('Optional subfolder to restrict listing (e.g. ws/WSAR-INF)'),
|
|
21
|
+
});
|
|
22
|
+
// ── read_project_file ─────────────────────────────────────────────────────────
|
|
23
|
+
export const ReadFileSchema = z.object({
|
|
24
|
+
project_name: ProjectNameSchema,
|
|
25
|
+
file_path: FilePathSchema,
|
|
26
|
+
});
|
|
27
|
+
// ── write_project_file ────────────────────────────────────────────────────────
|
|
28
|
+
export const WriteFileSchema = z.object({
|
|
29
|
+
project_name: ProjectNameSchema,
|
|
30
|
+
file_path: FilePathSchema,
|
|
31
|
+
content: z.string().describe('The new file content to write'),
|
|
32
|
+
create_backup: z
|
|
33
|
+
.boolean()
|
|
34
|
+
.optional()
|
|
35
|
+
.describe('Create a .bak backup before overwriting. Defaults to server config setting.'),
|
|
36
|
+
});
|
|
37
|
+
// ── search_project_files ──────────────────────────────────────────────────────
|
|
38
|
+
export const SearchFilesSchema = z.object({
|
|
39
|
+
project_name: ProjectNameSchema,
|
|
40
|
+
pattern: z.string().min(1).describe('Text or regex pattern to search for'),
|
|
41
|
+
file_glob: z
|
|
42
|
+
.string()
|
|
43
|
+
.optional()
|
|
44
|
+
.describe('Glob to restrict which files are searched, e.g. "*.xsl" or "*.xml"'),
|
|
45
|
+
});
|
|
46
|
+
// ── validate_xml ──────────────────────────────────────────────────────────────
|
|
47
|
+
export const ValidateXmlSchema = z.object({
|
|
48
|
+
project_name: ProjectNameSchema,
|
|
49
|
+
file_path: FilePathSchema,
|
|
50
|
+
});
|
|
51
|
+
// ── workspace_tree ────────────────────────────────────────────────────────────
|
|
52
|
+
export const WorkspaceTreeSchema = z.object({
|
|
53
|
+
project_name: ProjectNameSchema.optional().describe('If provided, show the tree only for this project. Omit to list all projects.'),
|
|
54
|
+
max_depth: z
|
|
55
|
+
.number()
|
|
56
|
+
.int()
|
|
57
|
+
.min(1)
|
|
58
|
+
.max(10)
|
|
59
|
+
.optional()
|
|
60
|
+
.describe('Maximum directory depth to display (default 4)'),
|
|
61
|
+
});
|
|
62
|
+
// ── rename_file ───────────────────────────────────────────────────────────────
|
|
63
|
+
export const RenameFileSchema = z.object({
|
|
64
|
+
project_name: ProjectNameSchema,
|
|
65
|
+
old_path: z.string().min(1).describe('Current file path relative to project root'),
|
|
66
|
+
new_path: z.string().min(1).describe('New file path relative to project root'),
|
|
67
|
+
});
|
|
68
|
+
// ── copy_file_from_project ────────────────────────────────────────────────────
|
|
69
|
+
export const CopyFileSchema = z.object({
|
|
70
|
+
source_project: z.string().min(1).describe('Source project name'),
|
|
71
|
+
source_path: z.string().min(1).describe('Source file path relative to source project root'),
|
|
72
|
+
dest_project: z.string().min(1).describe('Destination project name'),
|
|
73
|
+
dest_path: z.string().min(1).describe('Destination file path relative to dest project root'),
|
|
74
|
+
overwrite: z.boolean().optional().describe('Overwrite destination if it already exists'),
|
|
75
|
+
});
|
|
76
|
+
// ── delete_project_resource ───────────────────────────────────────────────────
|
|
77
|
+
export const DeleteFileSchema = z.object({
|
|
78
|
+
project_name: ProjectNameSchema,
|
|
79
|
+
file_path: FilePathSchema,
|
|
80
|
+
create_backup: z.boolean().optional().describe('Write a .bak copy before deleting (default true)'),
|
|
81
|
+
});
|
|
82
|
+
// ── list_assembly_steps ───────────────────────────────────────────────────────
|
|
83
|
+
export const ListAssemblyStepsSchema = z.object({
|
|
84
|
+
project_name: ProjectNameSchema,
|
|
85
|
+
});
|
|
86
|
+
// ── list_integration_params ───────────────────────────────────────────────────
|
|
87
|
+
export const ListIntegrationParamsSchema = z.object({
|
|
88
|
+
project_name: ProjectNameSchema,
|
|
89
|
+
});
|
|
90
|
+
// ── get_step_type_reference ───────────────────────────────────────────────────
|
|
91
|
+
export const GetStepTypeReferenceSchema = z.object({
|
|
92
|
+
step_type: z
|
|
93
|
+
.string()
|
|
94
|
+
.min(1)
|
|
95
|
+
.describe('Assembly step type to look up (e.g. "workday-in", "http-out", "workday-out-rest", "eval"). ' +
|
|
96
|
+
'Pass "list" to see all available step types.'),
|
|
97
|
+
});
|
|
98
|
+
// ── lookup_soap_operations ────────────────────────────────────────────────────
|
|
99
|
+
export const LookupSoapOperationsSchema = z.object({
|
|
100
|
+
service_name: z
|
|
101
|
+
.string()
|
|
102
|
+
.min(1)
|
|
103
|
+
.describe('Workday service name (e.g. "Human_Resources", "Staffing", "Payroll_Interface") ' +
|
|
104
|
+
'or "list" to see all services'),
|
|
105
|
+
});
|
|
106
|
+
// ── plan_integration ──────────────────────────────────────────────────────────
|
|
107
|
+
const DesignBriefSchema = z.object({
|
|
108
|
+
data_source: z
|
|
109
|
+
.enum(['raas', 'soap-get', 'inbound-file', 'webhook', 'external-rest', 'multiple'])
|
|
110
|
+
.describe('raas=Workday custom report; soap-get=Workday SOAP Get_*; inbound-file=user uploads; ' +
|
|
111
|
+
'webhook=Workday event listener; external-rest=third-party API GET; multiple=more than one'),
|
|
112
|
+
data_destination: z
|
|
113
|
+
.enum(['workday-soap-write', 'workday-rest-write', 'external-rest', 'file-delivery', 'email-only', 'multiple'])
|
|
114
|
+
.describe('workday-soap-write=SOAP Put_*/Change_*/Hire_*; workday-rest-write=REST custom objects; ' +
|
|
115
|
+
'external-rest=third-party API; file-delivery=output file; email-only=send email'),
|
|
116
|
+
trigger: z
|
|
117
|
+
.enum(['scheduled', 'event-driven', 'launch-params-manual', 'inbound-file'])
|
|
118
|
+
.describe('scheduled=Workday scheduler; event-driven=Workday business event; ' +
|
|
119
|
+
'launch-params-manual=manually launched; inbound-file=triggered by file upload'),
|
|
120
|
+
record_volume: z
|
|
121
|
+
.enum(['single', 'small', 'large'])
|
|
122
|
+
.describe('single=always 1 record; small=under 100 records (xpath-splitter ok); ' +
|
|
123
|
+
'large=over 100 records (MUST use xml-stream-splitter)'),
|
|
124
|
+
external_auth: z
|
|
125
|
+
.enum(['none', 'oauth2', 'basic', 'api-key'])
|
|
126
|
+
.optional()
|
|
127
|
+
.describe('none=no external system; oauth2=token refresh; basic=username+password; api-key=static key'),
|
|
128
|
+
error_handling: z
|
|
129
|
+
.array(z.enum(['integration-messages', 'email-notification', 'rethrow']))
|
|
130
|
+
.describe('integration-messages=always minimum; email-notification=send on failure; rethrow=stop on error'),
|
|
131
|
+
raas_reports: z
|
|
132
|
+
.array(z.object({
|
|
133
|
+
alias: z.string().describe('Alias name for cloud:report-alias name= attribute'),
|
|
134
|
+
description: z.string().describe('What data this report returns'),
|
|
135
|
+
filter_params: z.array(z.string()).optional().describe('Filter params e.g. ["Worker!WID", "format=simplexml"]'),
|
|
136
|
+
has_reference_wid: z.boolean().optional().describe('True if the report WID is known'),
|
|
137
|
+
}))
|
|
138
|
+
.optional()
|
|
139
|
+
.describe('Required when data_source is raas or multiple.'),
|
|
140
|
+
soap_operations: z
|
|
141
|
+
.array(z.object({
|
|
142
|
+
application: z.string().describe('Workday module e.g. Human_Resources, Staffing'),
|
|
143
|
+
operation: z.string().describe('SOAP operation e.g. Get_Workers, Put_Applicant'),
|
|
144
|
+
version: z.string().describe('API version e.g. v46.1'),
|
|
145
|
+
direction: z.enum(['get', 'write']).describe('get=reading from Workday; write=updating Workday'),
|
|
146
|
+
}))
|
|
147
|
+
.optional()
|
|
148
|
+
.describe('Required when SOAP is used for reading or writing.'),
|
|
149
|
+
integration_attributes: z
|
|
150
|
+
.array(z.object({
|
|
151
|
+
name: z.string().describe('Attribute display name e.g. "API URL", "Client Secret"'),
|
|
152
|
+
is_password: z.boolean().optional().describe('True for secrets/keys (masked in Workday UI)'),
|
|
153
|
+
required: z.boolean().optional().describe('True to require this field before launch'),
|
|
154
|
+
}))
|
|
155
|
+
.optional()
|
|
156
|
+
.describe('Credentials and config stored in Workday integration system attributes.'),
|
|
157
|
+
conditional_logic: z.string().optional().describe('Free-text routing conditions'),
|
|
158
|
+
notes: z.string().optional().describe('Other design notes'),
|
|
159
|
+
});
|
|
160
|
+
const SubFlowSchema = z.object({
|
|
161
|
+
id: z.string().describe('Identifier for XML ids (no spaces, e.g. "GetWorkers", "PostToTarget")'),
|
|
162
|
+
description: z.string().describe('One sentence: what this sub-flow produces'),
|
|
163
|
+
reads_props: z.array(z.string()).optional(),
|
|
164
|
+
writes_props: z.array(z.string()).optional(),
|
|
165
|
+
});
|
|
166
|
+
export const PlanIntegrationSchema = z.object({
|
|
167
|
+
project_name: z.string().describe('Existing project name. Must already exist in the workspace.'),
|
|
168
|
+
sub_flows: z.array(SubFlowSchema).min(1).describe('Ordered list of sub-flows.'),
|
|
169
|
+
design_brief: DesignBriefSchema,
|
|
170
|
+
});
|
|
171
|
+
export { DesignBriefSchema, SubFlowSchema };
|
|
172
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,iFAAiF;AAEjF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC,CAAC;AAEvF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC;KAC5B,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CAAC,uEAAuE,CAAC,CAAC;AAErF,iFAAiF;AACjF,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAE/C,iFAAiF;AACjF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,YAAY,EAAE,iBAAiB;IAC/B,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,2DAA2D,CAAC;CACzE,CAAC,CAAC;AAEH,iFAAiF;AACjF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,YAAY,EAAE,iBAAiB;IAC/B,SAAS,EAAE,cAAc;CAC1B,CAAC,CAAC;AAEH,iFAAiF;AACjF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM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CAAC,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC/E,YAAY,EAAE,iBAAiB;CAChC,CAAC,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* copy_file_from_project — copy a file between projects.
|
|
3
|
+
*/
|
|
4
|
+
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
5
|
+
export declare const TOOL_NAME = "copy_file_from_project";
|
|
6
|
+
export declare function register(server: McpServer): void;
|
|
7
|
+
//# sourceMappingURL=copy-file.d.ts.map
|