@crypto512/jicon-mcp 2.3.27 → 2.4.2
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/README.md +4 -0
- package/TOOL_LIST.md +123 -92
- package/dist/config/types.d.ts +65 -214
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js +3 -3
- package/dist/config/types.js.map +1 -1
- package/dist/confluence/tools.d.ts +52 -165
- package/dist/confluence/tools.d.ts.map +1 -1
- package/dist/confluence/tools.js +70 -62
- package/dist/confluence/tools.js.map +1 -1
- package/dist/index.js +16 -10
- package/dist/index.js.map +1 -1
- package/dist/jira/activity-tools.d.ts +19 -95
- package/dist/jira/activity-tools.d.ts.map +1 -1
- package/dist/jira/activity-tools.js +18 -17
- package/dist/jira/activity-tools.js.map +1 -1
- package/dist/jira/defaults.d.ts.map +1 -1
- package/dist/jira/defaults.js +1 -0
- package/dist/jira/defaults.js.map +1 -1
- package/dist/jira/formatters.d.ts.map +1 -1
- package/dist/jira/formatters.js +1 -0
- package/dist/jira/formatters.js.map +1 -1
- package/dist/jira/tools.d.ts +64 -216
- package/dist/jira/tools.d.ts.map +1 -1
- package/dist/jira/tools.js +77 -47
- package/dist/jira/tools.js.map +1 -1
- package/dist/permissions/filter.js +6 -6
- package/dist/permissions/filter.js.map +1 -1
- package/dist/permissions/tool-registry.d.ts +24 -24
- package/dist/permissions/tool-registry.d.ts.map +1 -1
- package/dist/permissions/tool-registry.js +26 -26
- package/dist/permissions/tool-registry.js.map +1 -1
- package/dist/permissions/write-home-validator.js +7 -7
- package/dist/tempo/tools.d.ts +24 -103
- package/dist/tempo/tools.d.ts.map +1 -1
- package/dist/tempo/tools.js +26 -21
- package/dist/tempo/tools.js.map +1 -1
- package/dist/transport/http.d.ts +4 -4
- package/dist/transport/http.d.ts.map +1 -1
- package/dist/transport/index.d.ts +2 -2
- package/dist/transport/index.js +2 -2
- package/dist/utils/buffer-tools.d.ts +24 -178
- package/dist/utils/buffer-tools.d.ts.map +1 -1
- package/dist/utils/buffer-tools.js +18 -15
- package/dist/utils/buffer-tools.js.map +1 -1
- package/dist/utils/date-tools.d.ts +8 -7
- package/dist/utils/date-tools.d.ts.map +1 -1
- package/dist/utils/date-tools.js +14 -0
- package/dist/utils/date-tools.js.map +1 -1
- package/dist/utils/http-client.js +1 -1
- package/dist/utils/http-client.js.map +1 -1
- package/dist/utils/jicon-help.d.ts +12 -9
- package/dist/utils/jicon-help.d.ts.map +1 -1
- package/dist/utils/jicon-help.js +64 -58
- package/dist/utils/jicon-help.js.map +1 -1
- package/dist/utils/mcp-schema.d.ts +19 -0
- package/dist/utils/mcp-schema.d.ts.map +1 -0
- package/dist/utils/mcp-schema.js +19 -0
- package/dist/utils/mcp-schema.js.map +1 -0
- package/dist/utils/plantuml/tools.d.ts +9 -20
- package/dist/utils/plantuml/tools.d.ts.map +1 -1
- package/dist/utils/plantuml/tools.js +4 -4
- package/dist/utils/plantuml/tools.js.map +1 -1
- package/dist/utils/plantuml/types.d.ts +21 -21
- package/dist/utils/plantuml/types.d.ts.map +1 -1
- package/dist/utils/response-formatter.js +1 -1
- package/dist/utils/response-formatter.js.map +1 -1
- package/dist/utils/sandbox/index.d.ts +9 -0
- package/dist/utils/sandbox/index.d.ts.map +1 -1
- package/dist/utils/sandbox/index.js +21 -0
- package/dist/utils/sandbox/index.js.map +1 -1
- package/dist/utils/sandbox/schema.d.ts +3 -29
- package/dist/utils/sandbox/schema.d.ts.map +1 -1
- package/dist/utils/sandbox/schema.js +1 -1
- package/dist/utils/sandbox/schema.js.map +1 -1
- package/dist/utils/schemas/jira.d.ts +2 -2
- package/dist/utils/schemas/jira.d.ts.map +1 -1
- package/dist/utils/schemas/jira.js +3 -2
- package/dist/utils/schemas/jira.js.map +1 -1
- package/dist/utils/schemas/tempo.d.ts +4 -4
- package/dist/utils/schemas/tempo.js +4 -4
- package/dist/utils/url-tools.d.ts +5 -13
- package/dist/utils/url-tools.d.ts.map +1 -1
- package/dist/utils/url-tools.js +11 -11
- package/dist/utils/url-tools.js.map +1 -1
- package/dist/utils/whoami-tools.d.ts +8 -11
- package/dist/utils/whoami-tools.d.ts.map +1 -1
- package/dist/utils/whoami-tools.js +3 -3
- package/dist/utils/whoami-tools.js.map +1 -1
- package/dist/utils/workload-tools.d.ts +13 -31
- package/dist/utils/workload-tools.d.ts.map +1 -1
- package/dist/utils/xhtml/plantuml.js +2 -2
- package/dist/utils/xhtml/plantuml.js.map +1 -1
- package/dist/utils/xhtml/types.d.ts +45 -35
- package/dist/utils/xhtml/types.d.ts.map +1 -1
- package/dist/utils/xhtml/types.js +1 -1
- package/dist/utils/xhtml/types.js.map +1 -1
- package/dist/utils/zod-helpers.d.ts +18 -0
- package/dist/utils/zod-helpers.d.ts.map +1 -0
- package/dist/utils/zod-helpers.js +26 -0
- package/dist/utils/zod-helpers.js.map +1 -0
- package/package.json +9 -9
package/dist/jira/tools.d.ts
CHANGED
|
@@ -17,14 +17,8 @@ export declare function createJiraTools(): {
|
|
|
17
17
|
description: string;
|
|
18
18
|
inputSchema: z.ZodObject<{
|
|
19
19
|
jql: z.ZodString;
|
|
20
|
-
fields: z.ZodOptional<z.
|
|
21
|
-
},
|
|
22
|
-
jql: string;
|
|
23
|
-
fields?: string[] | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
jql: string;
|
|
26
|
-
fields?: unknown;
|
|
27
|
-
}>;
|
|
20
|
+
fields: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
21
|
+
}, z.core.$strip>;
|
|
28
22
|
handler: (args: {
|
|
29
23
|
jql: string;
|
|
30
24
|
fields?: string[];
|
|
@@ -34,17 +28,9 @@ export declare function createJiraTools(): {
|
|
|
34
28
|
description: string;
|
|
35
29
|
inputSchema: z.ZodObject<{
|
|
36
30
|
issueKey: z.ZodString;
|
|
37
|
-
fields: z.ZodOptional<z.
|
|
38
|
-
expand: z.ZodOptional<z.ZodArray<z.ZodString
|
|
39
|
-
},
|
|
40
|
-
issueKey: string;
|
|
41
|
-
fields?: string[] | undefined;
|
|
42
|
-
expand?: string[] | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
issueKey: string;
|
|
45
|
-
fields?: unknown;
|
|
46
|
-
expand?: string[] | undefined;
|
|
47
|
-
}>;
|
|
31
|
+
fields: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
32
|
+
expand: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
48
34
|
handler: (args: {
|
|
49
35
|
issueKey: string;
|
|
50
36
|
fields?: string[];
|
|
@@ -54,15 +40,9 @@ export declare function createJiraTools(): {
|
|
|
54
40
|
jira_get_issues: {
|
|
55
41
|
description: string;
|
|
56
42
|
inputSchema: z.ZodObject<{
|
|
57
|
-
issueKeys: z.
|
|
58
|
-
fields: z.ZodOptional<z.
|
|
59
|
-
},
|
|
60
|
-
issueKeys: string[];
|
|
61
|
-
fields?: string[] | undefined;
|
|
62
|
-
}, {
|
|
63
|
-
fields?: unknown;
|
|
64
|
-
issueKeys?: unknown;
|
|
65
|
-
}>;
|
|
43
|
+
issueKeys: z.ZodPreprocess<z.ZodArray<z.ZodString>>;
|
|
44
|
+
fields: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
45
|
+
}, z.core.$strip>;
|
|
66
46
|
handler: (args: {
|
|
67
47
|
issueKeys: string[];
|
|
68
48
|
fields?: string[];
|
|
@@ -77,30 +57,10 @@ export declare function createJiraTools(): {
|
|
|
77
57
|
description: z.ZodOptional<z.ZodString>;
|
|
78
58
|
priority: z.ZodOptional<z.ZodString>;
|
|
79
59
|
assignee: z.ZodOptional<z.ZodString>;
|
|
80
|
-
labels: z.ZodOptional<z.ZodArray<z.ZodString
|
|
81
|
-
components: z.ZodOptional<z.ZodArray<z.ZodString
|
|
60
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
+
components: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
82
62
|
customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
83
|
-
},
|
|
84
|
-
summary: string;
|
|
85
|
-
projectKey: string;
|
|
86
|
-
issueType: string;
|
|
87
|
-
description?: string | undefined;
|
|
88
|
-
priority?: string | undefined;
|
|
89
|
-
assignee?: string | undefined;
|
|
90
|
-
labels?: string[] | undefined;
|
|
91
|
-
components?: string[] | undefined;
|
|
92
|
-
customFields?: Record<string, unknown> | undefined;
|
|
93
|
-
}, {
|
|
94
|
-
summary: string;
|
|
95
|
-
projectKey: string;
|
|
96
|
-
issueType: string;
|
|
97
|
-
description?: string | undefined;
|
|
98
|
-
priority?: string | undefined;
|
|
99
|
-
assignee?: string | undefined;
|
|
100
|
-
labels?: string[] | undefined;
|
|
101
|
-
components?: string[] | undefined;
|
|
102
|
-
customFields?: Record<string, unknown> | undefined;
|
|
103
|
-
}>;
|
|
63
|
+
}, z.core.$strip>;
|
|
104
64
|
handler: (args: {
|
|
105
65
|
projectKey: string;
|
|
106
66
|
issueType: string;
|
|
@@ -120,17 +80,7 @@ export declare function createJiraTools(): {
|
|
|
120
80
|
fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
121
81
|
notifyUsers: z.ZodOptional<z.ZodBoolean>;
|
|
122
82
|
autoRetry: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
-
},
|
|
124
|
-
fields: Record<string, unknown>;
|
|
125
|
-
issueKey: string;
|
|
126
|
-
notifyUsers?: boolean | undefined;
|
|
127
|
-
autoRetry?: boolean | undefined;
|
|
128
|
-
}, {
|
|
129
|
-
fields: Record<string, unknown>;
|
|
130
|
-
issueKey: string;
|
|
131
|
-
notifyUsers?: boolean | undefined;
|
|
132
|
-
autoRetry?: boolean | undefined;
|
|
133
|
-
}>;
|
|
83
|
+
}, z.core.$strip>;
|
|
134
84
|
handler: (args: {
|
|
135
85
|
issueKey: string;
|
|
136
86
|
fields: Record<string, unknown>;
|
|
@@ -145,22 +95,14 @@ export declare function createJiraTools(): {
|
|
|
145
95
|
transitionName: z.ZodString;
|
|
146
96
|
comment: z.ZodOptional<z.ZodString>;
|
|
147
97
|
fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
transitionName: string;
|
|
151
|
-
comment?: string | undefined;
|
|
152
|
-
fields?: Record<string, unknown> | undefined;
|
|
153
|
-
}, {
|
|
154
|
-
issueKey: string;
|
|
155
|
-
transitionName: string;
|
|
156
|
-
comment?: string | undefined;
|
|
157
|
-
fields?: Record<string, unknown> | undefined;
|
|
158
|
-
}>;
|
|
98
|
+
autoRetry: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
+
}, z.core.$strip>;
|
|
159
100
|
handler: (args: {
|
|
160
101
|
issueKey: string;
|
|
161
102
|
transitionName: string;
|
|
162
103
|
comment?: string;
|
|
163
104
|
fields?: Record<string, unknown>;
|
|
105
|
+
autoRetry?: boolean;
|
|
164
106
|
}) => Promise<ToolResult>;
|
|
165
107
|
};
|
|
166
108
|
jira_add_comment: {
|
|
@@ -171,28 +113,8 @@ export declare function createJiraTools(): {
|
|
|
171
113
|
visibility: z.ZodOptional<z.ZodObject<{
|
|
172
114
|
type: z.ZodString;
|
|
173
115
|
value: z.ZodString;
|
|
174
|
-
},
|
|
175
|
-
|
|
176
|
-
value: string;
|
|
177
|
-
}, {
|
|
178
|
-
type: string;
|
|
179
|
-
value: string;
|
|
180
|
-
}>>;
|
|
181
|
-
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
comment: string;
|
|
183
|
-
issueKey: string;
|
|
184
|
-
visibility?: {
|
|
185
|
-
type: string;
|
|
186
|
-
value: string;
|
|
187
|
-
} | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
comment: string;
|
|
190
|
-
issueKey: string;
|
|
191
|
-
visibility?: {
|
|
192
|
-
type: string;
|
|
193
|
-
value: string;
|
|
194
|
-
} | undefined;
|
|
195
|
-
}>;
|
|
116
|
+
}, z.core.$strip>>;
|
|
117
|
+
}, z.core.$strip>;
|
|
196
118
|
handler: (args: {
|
|
197
119
|
issueKey: string;
|
|
198
120
|
comment: string;
|
|
@@ -207,13 +129,7 @@ export declare function createJiraTools(): {
|
|
|
207
129
|
inputSchema: z.ZodObject<{
|
|
208
130
|
issueKey: z.ZodString;
|
|
209
131
|
orderBy: z.ZodOptional<z.ZodString>;
|
|
210
|
-
},
|
|
211
|
-
issueKey: string;
|
|
212
|
-
orderBy?: string | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
issueKey: string;
|
|
215
|
-
orderBy?: string | undefined;
|
|
216
|
-
}>;
|
|
132
|
+
}, z.core.$strip>;
|
|
217
133
|
handler: (args: {
|
|
218
134
|
issueKey: string;
|
|
219
135
|
orderBy?: string;
|
|
@@ -223,14 +139,8 @@ export declare function createJiraTools(): {
|
|
|
223
139
|
description: string;
|
|
224
140
|
inputSchema: z.ZodObject<{
|
|
225
141
|
recent: z.ZodOptional<z.ZodBoolean>;
|
|
226
|
-
expand: z.ZodOptional<z.
|
|
227
|
-
},
|
|
228
|
-
expand?: string[] | undefined;
|
|
229
|
-
recent?: boolean | undefined;
|
|
230
|
-
}, {
|
|
231
|
-
expand?: unknown;
|
|
232
|
-
recent?: boolean | undefined;
|
|
233
|
-
}>;
|
|
142
|
+
expand: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
143
|
+
}, z.core.$strip>;
|
|
234
144
|
handler: (args: {
|
|
235
145
|
recent?: boolean;
|
|
236
146
|
expand?: string[];
|
|
@@ -240,36 +150,29 @@ export declare function createJiraTools(): {
|
|
|
240
150
|
description: string;
|
|
241
151
|
inputSchema: z.ZodObject<{
|
|
242
152
|
projectKey: z.ZodString;
|
|
243
|
-
expand: z.ZodOptional<z.
|
|
244
|
-
},
|
|
245
|
-
projectKey: string;
|
|
246
|
-
expand?: string[] | undefined;
|
|
247
|
-
}, {
|
|
248
|
-
projectKey: string;
|
|
249
|
-
expand?: unknown;
|
|
250
|
-
}>;
|
|
153
|
+
expand: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
154
|
+
}, z.core.$strip>;
|
|
251
155
|
handler: (args: {
|
|
252
156
|
projectKey: string;
|
|
253
157
|
expand?: string[];
|
|
254
158
|
}) => Promise<ToolResult>;
|
|
255
159
|
};
|
|
256
|
-
|
|
160
|
+
jira_list_issue_types: {
|
|
257
161
|
description: string;
|
|
258
|
-
inputSchema: z.ZodObject<{},
|
|
162
|
+
inputSchema: z.ZodObject<{}, z.core.$strip>;
|
|
259
163
|
handler: () => Promise<ToolResult>;
|
|
260
164
|
};
|
|
261
|
-
|
|
165
|
+
jira_search_fields: {
|
|
262
166
|
description: string;
|
|
263
167
|
inputSchema: z.ZodObject<{
|
|
264
168
|
search: z.ZodString;
|
|
265
|
-
filter: z.ZodOptional<z.ZodEnum<
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
}>;
|
|
169
|
+
filter: z.ZodOptional<z.ZodEnum<{
|
|
170
|
+
system: "system";
|
|
171
|
+
custom: "custom";
|
|
172
|
+
all: "all";
|
|
173
|
+
navigable: "navigable";
|
|
174
|
+
}>>;
|
|
175
|
+
}, z.core.$strip>;
|
|
273
176
|
handler: (args: {
|
|
274
177
|
search: string;
|
|
275
178
|
filter?: "all" | "custom" | "system" | "navigable";
|
|
@@ -279,28 +182,18 @@ export declare function createJiraTools(): {
|
|
|
279
182
|
description: string;
|
|
280
183
|
inputSchema: z.ZodObject<{
|
|
281
184
|
query: z.ZodString;
|
|
282
|
-
|
|
283
|
-
},
|
|
284
|
-
query: string;
|
|
285
|
-
maxResults?: number | undefined;
|
|
286
|
-
}, {
|
|
287
|
-
query: string;
|
|
288
|
-
maxResults?: number | undefined;
|
|
289
|
-
}>;
|
|
185
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
}, z.core.$strip>;
|
|
290
187
|
handler: (args: {
|
|
291
188
|
query: string;
|
|
292
|
-
|
|
189
|
+
limit?: number;
|
|
293
190
|
}) => Promise<ToolResult>;
|
|
294
191
|
};
|
|
295
192
|
jira_get_transitions: {
|
|
296
193
|
description: string;
|
|
297
194
|
inputSchema: z.ZodObject<{
|
|
298
195
|
issueKey: z.ZodString;
|
|
299
|
-
},
|
|
300
|
-
issueKey: string;
|
|
301
|
-
}, {
|
|
302
|
-
issueKey: string;
|
|
303
|
-
}>;
|
|
196
|
+
}, z.core.$strip>;
|
|
304
197
|
handler: (args: {
|
|
305
198
|
issueKey: string;
|
|
306
199
|
}) => Promise<ToolResult>;
|
|
@@ -312,17 +205,7 @@ export declare function createJiraTools(): {
|
|
|
312
205
|
linkedIssueKey: z.ZodString;
|
|
313
206
|
linkType: z.ZodString;
|
|
314
207
|
comment: z.ZodOptional<z.ZodString>;
|
|
315
|
-
},
|
|
316
|
-
issueKey: string;
|
|
317
|
-
linkedIssueKey: string;
|
|
318
|
-
linkType: string;
|
|
319
|
-
comment?: string | undefined;
|
|
320
|
-
}, {
|
|
321
|
-
issueKey: string;
|
|
322
|
-
linkedIssueKey: string;
|
|
323
|
-
linkType: string;
|
|
324
|
-
comment?: string | undefined;
|
|
325
|
-
}>;
|
|
208
|
+
}, z.core.$strip>;
|
|
326
209
|
handler: (args: {
|
|
327
210
|
issueKey: string;
|
|
328
211
|
linkedIssueKey: string;
|
|
@@ -334,17 +217,12 @@ export declare function createJiraTools(): {
|
|
|
334
217
|
description: string;
|
|
335
218
|
inputSchema: z.ZodObject<{
|
|
336
219
|
projectKeyOrId: z.ZodOptional<z.ZodString>;
|
|
337
|
-
type: z.ZodOptional<z.ZodEnum<
|
|
220
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
scrum: "scrum";
|
|
222
|
+
kanban: "kanban";
|
|
223
|
+
}>>;
|
|
338
224
|
name: z.ZodOptional<z.ZodString>;
|
|
339
|
-
},
|
|
340
|
-
name?: string | undefined;
|
|
341
|
-
type?: "scrum" | "kanban" | undefined;
|
|
342
|
-
projectKeyOrId?: string | undefined;
|
|
343
|
-
}, {
|
|
344
|
-
name?: string | undefined;
|
|
345
|
-
type?: "scrum" | "kanban" | undefined;
|
|
346
|
-
projectKeyOrId?: string | undefined;
|
|
347
|
-
}>;
|
|
225
|
+
}, z.core.$strip>;
|
|
348
226
|
handler: (args: {
|
|
349
227
|
projectKeyOrId?: string;
|
|
350
228
|
type?: "scrum" | "kanban";
|
|
@@ -354,28 +232,22 @@ export declare function createJiraTools(): {
|
|
|
354
232
|
jira_get_board: {
|
|
355
233
|
description: string;
|
|
356
234
|
inputSchema: z.ZodObject<{
|
|
357
|
-
boardId: z.
|
|
358
|
-
},
|
|
359
|
-
boardId: number;
|
|
360
|
-
}, {
|
|
361
|
-
boardId: number;
|
|
362
|
-
}>;
|
|
235
|
+
boardId: z.ZodCoercedNumber<unknown>;
|
|
236
|
+
}, z.core.$strip>;
|
|
363
237
|
handler: (args: {
|
|
364
238
|
boardId: number;
|
|
365
239
|
}) => Promise<ToolResult>;
|
|
366
240
|
};
|
|
367
|
-
|
|
241
|
+
jira_list_sprints: {
|
|
368
242
|
description: string;
|
|
369
243
|
inputSchema: z.ZodObject<{
|
|
370
|
-
boardId: z.
|
|
371
|
-
state: z.ZodOptional<z.ZodEnum<
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
state?: "active" | "future" | "closed" | undefined;
|
|
378
|
-
}>;
|
|
244
|
+
boardId: z.ZodCoercedNumber<unknown>;
|
|
245
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
246
|
+
active: "active";
|
|
247
|
+
future: "future";
|
|
248
|
+
closed: "closed";
|
|
249
|
+
}>>;
|
|
250
|
+
}, z.core.$strip>;
|
|
379
251
|
handler: (args: {
|
|
380
252
|
boardId: number;
|
|
381
253
|
state?: "active" | "future" | "closed";
|
|
@@ -384,12 +256,8 @@ export declare function createJiraTools(): {
|
|
|
384
256
|
jira_get_sprint_issues: {
|
|
385
257
|
description: string;
|
|
386
258
|
inputSchema: z.ZodObject<{
|
|
387
|
-
sprintId: z.
|
|
388
|
-
},
|
|
389
|
-
sprintId: number;
|
|
390
|
-
}, {
|
|
391
|
-
sprintId: number;
|
|
392
|
-
}>;
|
|
259
|
+
sprintId: z.ZodCoercedNumber<unknown>;
|
|
260
|
+
}, z.core.$strip>;
|
|
393
261
|
handler: (args: {
|
|
394
262
|
sprintId: number;
|
|
395
263
|
}) => Promise<ToolResult>;
|
|
@@ -398,11 +266,7 @@ export declare function createJiraTools(): {
|
|
|
398
266
|
description: string;
|
|
399
267
|
inputSchema: z.ZodObject<{
|
|
400
268
|
issueKey: z.ZodString;
|
|
401
|
-
},
|
|
402
|
-
issueKey: string;
|
|
403
|
-
}, {
|
|
404
|
-
issueKey: string;
|
|
405
|
-
}>;
|
|
269
|
+
}, z.core.$strip>;
|
|
406
270
|
handler: (args: {
|
|
407
271
|
issueKey: string;
|
|
408
272
|
}) => Promise<ToolResult>;
|
|
@@ -411,11 +275,7 @@ export declare function createJiraTools(): {
|
|
|
411
275
|
description: string;
|
|
412
276
|
inputSchema: z.ZodObject<{
|
|
413
277
|
issueKey: z.ZodString;
|
|
414
|
-
},
|
|
415
|
-
issueKey: string;
|
|
416
|
-
}, {
|
|
417
|
-
issueKey: string;
|
|
418
|
-
}>;
|
|
278
|
+
}, z.core.$strip>;
|
|
419
279
|
handler: (args: {
|
|
420
280
|
issueKey: string;
|
|
421
281
|
}) => Promise<ToolResult>;
|
|
@@ -424,11 +284,7 @@ export declare function createJiraTools(): {
|
|
|
424
284
|
description: string;
|
|
425
285
|
inputSchema: z.ZodObject<{
|
|
426
286
|
issueKey: z.ZodString;
|
|
427
|
-
},
|
|
428
|
-
issueKey: string;
|
|
429
|
-
}, {
|
|
430
|
-
issueKey: string;
|
|
431
|
-
}>;
|
|
287
|
+
}, z.core.$strip>;
|
|
432
288
|
handler: (args: {
|
|
433
289
|
issueKey: string;
|
|
434
290
|
}) => Promise<ToolResult>;
|
|
@@ -438,22 +294,14 @@ export declare function createJiraTools(): {
|
|
|
438
294
|
inputSchema: z.ZodObject<{
|
|
439
295
|
parentKey: z.ZodString;
|
|
440
296
|
type: z.ZodOptional<z.ZodString>;
|
|
441
|
-
status: z.ZodOptional<z.ZodEnum<
|
|
297
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
298
|
+
closed: "closed";
|
|
299
|
+
all: "all";
|
|
300
|
+
open: "open";
|
|
301
|
+
}>>;
|
|
442
302
|
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
443
|
-
fields: z.ZodOptional<z.
|
|
444
|
-
},
|
|
445
|
-
parentKey: string;
|
|
446
|
-
status?: "closed" | "all" | "open" | undefined;
|
|
447
|
-
fields?: string[] | undefined;
|
|
448
|
-
type?: string | undefined;
|
|
449
|
-
recursive?: boolean | undefined;
|
|
450
|
-
}, {
|
|
451
|
-
parentKey: string;
|
|
452
|
-
status?: "closed" | "all" | "open" | undefined;
|
|
453
|
-
fields?: unknown;
|
|
454
|
-
type?: string | undefined;
|
|
455
|
-
recursive?: boolean | undefined;
|
|
456
|
-
}>;
|
|
303
|
+
fields: z.ZodOptional<z.ZodPreprocess<z.ZodArray<z.ZodString>>>;
|
|
304
|
+
}, z.core.$strip>;
|
|
457
305
|
handler: (args: {
|
|
458
306
|
parentKey: string;
|
|
459
307
|
type?: string;
|
package/dist/jira/tools.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/jira/tools.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAcxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/jira/tools.ts"],"names":[],"mappings":"AAAA;;;;;G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