@jagadeesh52423/atlassian-mcp-server 1.0.2 → 1.0.3
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/clients/base-client.d.ts +26 -0
- package/dist/clients/base-client.d.ts.map +1 -0
- package/dist/clients/base-client.js +58 -0
- package/dist/clients/base-client.js.map +1 -0
- package/dist/clients/bitbucket-client.d.ts +17 -0
- package/dist/clients/bitbucket-client.d.ts.map +1 -0
- package/dist/clients/bitbucket-client.js +36 -0
- package/dist/clients/bitbucket-client.js.map +1 -0
- package/dist/clients/confluence-client.d.ts +8 -0
- package/dist/clients/confluence-client.d.ts.map +1 -0
- package/dist/clients/confluence-client.js +16 -0
- package/dist/clients/confluence-client.js.map +1 -0
- package/dist/clients/index.d.ts +5 -0
- package/dist/clients/index.d.ts.map +1 -0
- package/dist/clients/index.js +5 -0
- package/dist/clients/index.js.map +1 -0
- package/dist/clients/jira-client.d.ts +8 -0
- package/dist/clients/jira-client.d.ts.map +1 -0
- package/dist/clients/jira-client.js +16 -0
- package/dist/clients/jira-client.js.map +1 -0
- package/dist/constants.d.ts +67 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/constants.js +78 -0
- package/dist/constants.js.map +1 -0
- package/dist/error-handler.d.ts +77 -0
- package/dist/error-handler.d.ts.map +1 -0
- package/dist/error-handler.js +135 -0
- package/dist/error-handler.js.map +1 -0
- package/dist/formatters/adf-formatter.d.ts +25 -0
- package/dist/formatters/adf-formatter.d.ts.map +1 -0
- package/dist/formatters/adf-formatter.js +609 -0
- package/dist/formatters/adf-formatter.js.map +1 -0
- package/dist/formatters/index.d.ts +2 -0
- package/dist/formatters/index.d.ts.map +1 -0
- package/dist/formatters/index.js +2 -0
- package/dist/formatters/index.js.map +1 -0
- package/dist/handlers/bitbucket-handlers.d.ts +94 -0
- package/dist/handlers/bitbucket-handlers.d.ts.map +1 -0
- package/dist/handlers/bitbucket-handlers.js +251 -0
- package/dist/handlers/bitbucket-handlers.js.map +1 -0
- package/dist/handlers/confluence-handlers.d.ts +84 -0
- package/dist/handlers/confluence-handlers.d.ts.map +1 -0
- package/dist/handlers/confluence-handlers.js +255 -0
- package/dist/handlers/confluence-handlers.js.map +1 -0
- package/dist/handlers/index.d.ts +4 -0
- package/dist/handlers/index.d.ts.map +1 -0
- package/dist/handlers/index.js +4 -0
- package/dist/handlers/index.js.map +1 -0
- package/dist/handlers/jira-handlers.d.ts +153 -0
- package/dist/handlers/jira-handlers.d.ts.map +1 -0
- package/dist/handlers/jira-handlers.js +577 -0
- package/dist/handlers/jira-handlers.js.map +1 -0
- package/dist/index.js +147 -2536
- package/dist/index.js.map +1 -1
- package/dist/services/bitbucket.d.ts +11 -1
- package/dist/services/bitbucket.d.ts.map +1 -1
- package/dist/services/bitbucket.js +78 -0
- package/dist/services/bitbucket.js.map +1 -1
- package/dist/services/confluence.d.ts.map +1 -1
- package/dist/services/confluence.js +5 -4
- package/dist/services/confluence.js.map +1 -1
- package/dist/services/jira.d.ts +4 -0
- package/dist/services/jira.d.ts.map +1 -1
- package/dist/services/jira.js +159 -24
- package/dist/services/jira.js.map +1 -1
- package/dist/tools/bitbucket-tools.d.ts +6 -0
- package/dist/tools/bitbucket-tools.d.ts.map +1 -0
- package/dist/tools/bitbucket-tools.js +386 -0
- package/dist/tools/bitbucket-tools.js.map +1 -0
- package/dist/tools/confluence-tools.d.ts +17 -0
- package/dist/tools/confluence-tools.d.ts.map +1 -0
- package/dist/tools/confluence-tools.js +337 -0
- package/dist/tools/confluence-tools.js.map +1 -0
- package/dist/tools/index.d.ts +8 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +15 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/jira-tools.d.ts +6 -0
- package/dist/tools/jira-tools.d.ts.map +1 -0
- package/dist/tools/jira-tools.js +656 -0
- package/dist/tools/jira-tools.js.map +1 -0
- package/dist/types.d.ts +23 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
import { PAGINATION, DEFAULTS } from '../constants.js';
|
|
2
|
+
/**
|
|
3
|
+
* Bitbucket tool definitions
|
|
4
|
+
*/
|
|
5
|
+
export const bitbucketTools = [
|
|
6
|
+
{
|
|
7
|
+
name: 'bitbucket_get_repositories',
|
|
8
|
+
description: 'Get list of Bitbucket repositories in workspace',
|
|
9
|
+
inputSchema: {
|
|
10
|
+
type: 'object',
|
|
11
|
+
properties: {
|
|
12
|
+
query: {
|
|
13
|
+
type: 'string',
|
|
14
|
+
description: 'Search query for repository names',
|
|
15
|
+
},
|
|
16
|
+
limit: {
|
|
17
|
+
type: 'number',
|
|
18
|
+
description: `Maximum number of repositories (default: ${PAGINATION.BITBUCKET_DEFAULT_LIMIT})`,
|
|
19
|
+
default: PAGINATION.BITBUCKET_DEFAULT_LIMIT,
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
name: 'bitbucket_get_repository',
|
|
26
|
+
description: 'Get details of a specific Bitbucket repository',
|
|
27
|
+
inputSchema: {
|
|
28
|
+
type: 'object',
|
|
29
|
+
properties: {
|
|
30
|
+
repoName: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'Repository name',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
required: ['repoName'],
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'bitbucket_create_repository',
|
|
40
|
+
description: 'Create a new Bitbucket repository',
|
|
41
|
+
inputSchema: {
|
|
42
|
+
type: 'object',
|
|
43
|
+
properties: {
|
|
44
|
+
name: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
description: 'Repository name',
|
|
47
|
+
},
|
|
48
|
+
description: {
|
|
49
|
+
type: 'string',
|
|
50
|
+
description: 'Repository description',
|
|
51
|
+
},
|
|
52
|
+
isPrivate: {
|
|
53
|
+
type: 'boolean',
|
|
54
|
+
description: 'Whether the repository should be private (default: true)',
|
|
55
|
+
default: true,
|
|
56
|
+
},
|
|
57
|
+
language: {
|
|
58
|
+
type: 'string',
|
|
59
|
+
description: 'Primary programming language',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
required: ['name'],
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
name: 'bitbucket_get_pull_requests',
|
|
67
|
+
description: 'Get pull requests for a repository',
|
|
68
|
+
inputSchema: {
|
|
69
|
+
type: 'object',
|
|
70
|
+
properties: {
|
|
71
|
+
repoName: {
|
|
72
|
+
type: 'string',
|
|
73
|
+
description: 'Repository name',
|
|
74
|
+
},
|
|
75
|
+
state: {
|
|
76
|
+
type: 'string',
|
|
77
|
+
description: `Pull request state (OPEN, MERGED, DECLINED) (default: ${DEFAULTS.BITBUCKET_PR_STATE})`,
|
|
78
|
+
default: DEFAULTS.BITBUCKET_PR_STATE,
|
|
79
|
+
},
|
|
80
|
+
limit: {
|
|
81
|
+
type: 'number',
|
|
82
|
+
description: `Maximum number of pull requests (default: ${PAGINATION.BITBUCKET_DEFAULT_LIMIT})`,
|
|
83
|
+
default: PAGINATION.BITBUCKET_DEFAULT_LIMIT,
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
required: ['repoName'],
|
|
87
|
+
},
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'bitbucket_get_pull_request',
|
|
91
|
+
description: 'Get details of a specific pull request',
|
|
92
|
+
inputSchema: {
|
|
93
|
+
type: 'object',
|
|
94
|
+
properties: {
|
|
95
|
+
repoName: {
|
|
96
|
+
type: 'string',
|
|
97
|
+
description: 'Repository name',
|
|
98
|
+
},
|
|
99
|
+
prId: {
|
|
100
|
+
type: 'number',
|
|
101
|
+
description: 'Pull request ID',
|
|
102
|
+
},
|
|
103
|
+
includeDiff: {
|
|
104
|
+
type: 'boolean',
|
|
105
|
+
description: 'Whether to include the code diff/changes (default: false)',
|
|
106
|
+
default: false,
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
required: ['repoName', 'prId'],
|
|
110
|
+
},
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
name: 'bitbucket_create_pull_request',
|
|
114
|
+
description: 'Create a new pull request',
|
|
115
|
+
inputSchema: {
|
|
116
|
+
type: 'object',
|
|
117
|
+
properties: {
|
|
118
|
+
repoName: {
|
|
119
|
+
type: 'string',
|
|
120
|
+
description: 'Repository name',
|
|
121
|
+
},
|
|
122
|
+
title: {
|
|
123
|
+
type: 'string',
|
|
124
|
+
description: 'Pull request title',
|
|
125
|
+
},
|
|
126
|
+
sourceBranch: {
|
|
127
|
+
type: 'string',
|
|
128
|
+
description: 'Source branch name',
|
|
129
|
+
},
|
|
130
|
+
destinationBranch: {
|
|
131
|
+
type: 'string',
|
|
132
|
+
description: `Destination branch name (default: ${DEFAULTS.BRANCH_NAME})`,
|
|
133
|
+
default: DEFAULTS.BRANCH_NAME,
|
|
134
|
+
},
|
|
135
|
+
description: {
|
|
136
|
+
type: 'string',
|
|
137
|
+
description: 'Pull request description',
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
required: ['repoName', 'title', 'sourceBranch'],
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: 'bitbucket_get_branches',
|
|
145
|
+
description: 'Get branches for a repository',
|
|
146
|
+
inputSchema: {
|
|
147
|
+
type: 'object',
|
|
148
|
+
properties: {
|
|
149
|
+
repoName: {
|
|
150
|
+
type: 'string',
|
|
151
|
+
description: 'Repository name',
|
|
152
|
+
},
|
|
153
|
+
limit: {
|
|
154
|
+
type: 'number',
|
|
155
|
+
description: `Maximum number of branches (default: ${PAGINATION.BITBUCKET_DEFAULT_LIMIT})`,
|
|
156
|
+
default: PAGINATION.BITBUCKET_DEFAULT_LIMIT,
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
required: ['repoName'],
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
name: 'bitbucket_get_commits',
|
|
164
|
+
description: 'Get commits for a repository',
|
|
165
|
+
inputSchema: {
|
|
166
|
+
type: 'object',
|
|
167
|
+
properties: {
|
|
168
|
+
repoName: {
|
|
169
|
+
type: 'string',
|
|
170
|
+
description: 'Repository name',
|
|
171
|
+
},
|
|
172
|
+
branch: {
|
|
173
|
+
type: 'string',
|
|
174
|
+
description: `Branch name (default: ${DEFAULTS.BRANCH_NAME})`,
|
|
175
|
+
default: DEFAULTS.BRANCH_NAME,
|
|
176
|
+
},
|
|
177
|
+
limit: {
|
|
178
|
+
type: 'number',
|
|
179
|
+
description: `Maximum number of commits (default: ${PAGINATION.BITBUCKET_DEFAULT_LIMIT})`,
|
|
180
|
+
default: PAGINATION.BITBUCKET_DEFAULT_LIMIT,
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
required: ['repoName'],
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
name: 'bitbucket_get_issues',
|
|
188
|
+
description: 'Get issues for a repository',
|
|
189
|
+
inputSchema: {
|
|
190
|
+
type: 'object',
|
|
191
|
+
properties: {
|
|
192
|
+
repoName: {
|
|
193
|
+
type: 'string',
|
|
194
|
+
description: 'Repository name',
|
|
195
|
+
},
|
|
196
|
+
state: {
|
|
197
|
+
type: 'string',
|
|
198
|
+
description: `Issue state (open, closed) (default: ${DEFAULTS.BITBUCKET_ISSUE_STATE})`,
|
|
199
|
+
default: DEFAULTS.BITBUCKET_ISSUE_STATE,
|
|
200
|
+
},
|
|
201
|
+
limit: {
|
|
202
|
+
type: 'number',
|
|
203
|
+
description: `Maximum number of issues (default: ${PAGINATION.BITBUCKET_DEFAULT_LIMIT})`,
|
|
204
|
+
default: PAGINATION.BITBUCKET_DEFAULT_LIMIT,
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
required: ['repoName'],
|
|
208
|
+
},
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: 'bitbucket_create_issue',
|
|
212
|
+
description: 'Create a new issue in a repository',
|
|
213
|
+
inputSchema: {
|
|
214
|
+
type: 'object',
|
|
215
|
+
properties: {
|
|
216
|
+
repoName: {
|
|
217
|
+
type: 'string',
|
|
218
|
+
description: 'Repository name',
|
|
219
|
+
},
|
|
220
|
+
title: {
|
|
221
|
+
type: 'string',
|
|
222
|
+
description: 'Issue title',
|
|
223
|
+
},
|
|
224
|
+
content: {
|
|
225
|
+
type: 'string',
|
|
226
|
+
description: 'Issue content/description',
|
|
227
|
+
},
|
|
228
|
+
kind: {
|
|
229
|
+
type: 'string',
|
|
230
|
+
description: `Issue kind (bug, enhancement, proposal, task) (default: ${DEFAULTS.BITBUCKET_ISSUE_KIND})`,
|
|
231
|
+
default: DEFAULTS.BITBUCKET_ISSUE_KIND,
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
required: ['repoName', 'title'],
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
name: 'bitbucket_get_pr_comments',
|
|
239
|
+
description: 'Get all comments for a Bitbucket pull request',
|
|
240
|
+
inputSchema: {
|
|
241
|
+
type: 'object',
|
|
242
|
+
properties: {
|
|
243
|
+
repoName: {
|
|
244
|
+
type: 'string',
|
|
245
|
+
description: 'Repository name',
|
|
246
|
+
},
|
|
247
|
+
prId: {
|
|
248
|
+
type: 'number',
|
|
249
|
+
description: 'Pull request ID',
|
|
250
|
+
},
|
|
251
|
+
},
|
|
252
|
+
required: ['repoName', 'prId'],
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
name: 'bitbucket_add_pr_comment',
|
|
257
|
+
description: 'Add a comment to a Bitbucket pull request. Supports both general and inline (file/line) comments.',
|
|
258
|
+
inputSchema: {
|
|
259
|
+
type: 'object',
|
|
260
|
+
properties: {
|
|
261
|
+
repoName: {
|
|
262
|
+
type: 'string',
|
|
263
|
+
description: 'Repository name',
|
|
264
|
+
},
|
|
265
|
+
prId: {
|
|
266
|
+
type: 'number',
|
|
267
|
+
description: 'Pull request ID',
|
|
268
|
+
},
|
|
269
|
+
content: {
|
|
270
|
+
type: 'string',
|
|
271
|
+
description: 'Comment content (Markdown supported)',
|
|
272
|
+
},
|
|
273
|
+
inlinePath: {
|
|
274
|
+
type: 'string',
|
|
275
|
+
description: 'File path for an inline comment (optional)',
|
|
276
|
+
},
|
|
277
|
+
inlineFrom: {
|
|
278
|
+
type: 'number',
|
|
279
|
+
description: 'Source side line number for inline comment (optional)',
|
|
280
|
+
},
|
|
281
|
+
inlineTo: {
|
|
282
|
+
type: 'number',
|
|
283
|
+
description: 'Destination side line number for inline comment (optional)',
|
|
284
|
+
},
|
|
285
|
+
parentId: {
|
|
286
|
+
type: 'number',
|
|
287
|
+
description: 'Parent comment ID to reply to (optional)',
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
required: ['repoName', 'prId', 'content'],
|
|
291
|
+
},
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
name: 'bitbucket_update_pr_comment',
|
|
295
|
+
description: 'Update an existing comment on a Bitbucket pull request',
|
|
296
|
+
inputSchema: {
|
|
297
|
+
type: 'object',
|
|
298
|
+
properties: {
|
|
299
|
+
repoName: {
|
|
300
|
+
type: 'string',
|
|
301
|
+
description: 'Repository name',
|
|
302
|
+
},
|
|
303
|
+
prId: {
|
|
304
|
+
type: 'number',
|
|
305
|
+
description: 'Pull request ID',
|
|
306
|
+
},
|
|
307
|
+
commentId: {
|
|
308
|
+
type: 'number',
|
|
309
|
+
description: 'The comment ID to update',
|
|
310
|
+
},
|
|
311
|
+
content: {
|
|
312
|
+
type: 'string',
|
|
313
|
+
description: 'New comment content',
|
|
314
|
+
},
|
|
315
|
+
},
|
|
316
|
+
required: ['repoName', 'prId', 'commentId', 'content'],
|
|
317
|
+
},
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
name: 'bitbucket_delete_pr_comment',
|
|
321
|
+
description: 'Delete a comment from a Bitbucket pull request',
|
|
322
|
+
inputSchema: {
|
|
323
|
+
type: 'object',
|
|
324
|
+
properties: {
|
|
325
|
+
repoName: {
|
|
326
|
+
type: 'string',
|
|
327
|
+
description: 'Repository name',
|
|
328
|
+
},
|
|
329
|
+
prId: {
|
|
330
|
+
type: 'number',
|
|
331
|
+
description: 'Pull request ID',
|
|
332
|
+
},
|
|
333
|
+
commentId: {
|
|
334
|
+
type: 'number',
|
|
335
|
+
description: 'The comment ID to delete',
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
required: ['repoName', 'prId', 'commentId'],
|
|
339
|
+
},
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
name: 'bitbucket_resolve_pr_comment',
|
|
343
|
+
description: 'Resolve a comment on a Bitbucket pull request',
|
|
344
|
+
inputSchema: {
|
|
345
|
+
type: 'object',
|
|
346
|
+
properties: {
|
|
347
|
+
repoName: {
|
|
348
|
+
type: 'string',
|
|
349
|
+
description: 'Repository name',
|
|
350
|
+
},
|
|
351
|
+
prId: {
|
|
352
|
+
type: 'number',
|
|
353
|
+
description: 'Pull request ID',
|
|
354
|
+
},
|
|
355
|
+
commentId: {
|
|
356
|
+
type: 'number',
|
|
357
|
+
description: 'The comment ID to resolve',
|
|
358
|
+
},
|
|
359
|
+
},
|
|
360
|
+
required: ['repoName', 'prId', 'commentId'],
|
|
361
|
+
},
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
name: 'bitbucket_unresolve_pr_comment',
|
|
365
|
+
description: 'Unresolve (reopen) a comment on a Bitbucket pull request',
|
|
366
|
+
inputSchema: {
|
|
367
|
+
type: 'object',
|
|
368
|
+
properties: {
|
|
369
|
+
repoName: {
|
|
370
|
+
type: 'string',
|
|
371
|
+
description: 'Repository name',
|
|
372
|
+
},
|
|
373
|
+
prId: {
|
|
374
|
+
type: 'number',
|
|
375
|
+
description: 'Pull request ID',
|
|
376
|
+
},
|
|
377
|
+
commentId: {
|
|
378
|
+
type: 'number',
|
|
379
|
+
description: 'The comment ID to unresolve',
|
|
380
|
+
},
|
|
381
|
+
},
|
|
382
|
+
required: ['repoName', 'prId', 'commentId'],
|
|
383
|
+
},
|
|
384
|
+
},
|
|
385
|
+
];
|
|
386
|
+
//# sourceMappingURL=bitbucket-tools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bitbucket-tools.js","sourceRoot":"","sources":["../../src/tools/bitbucket-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGvD;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAqB;IAC9C;QACE,IAAI,EAAE,4BAA4B;QAClC,WAAW,EAAE,iDAAiD;QAC9D,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,mCAAmC;iBACjD;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,4CAA4C,UAAU,CAAC,uBAAuB,GAAG;oBAC9F,OAAO,EAAE,UAAU,CAAC,uBAAuB;iBAC5C;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,0BAA0B;QAChC,WAAW,EAAE,gDAAgD;QAC7D,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iBAAiB;iBAC/B;aACF;YACD,QAAQ,EAAE,CAAC,UAAU,CAAC;SACvB;KACF;IACD;QACE,IAAI,EAAE,6BAA6B;QACnC,WAAW,EAAE,mCAAmC;QAChD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iBAAiB;iBAC/B;gBACD,WAAW,EAAE;oBAC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C/B;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iBAAiB;iBAC/B;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,2BAA2B;iBACzC;aACF;YACD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC;SAC5C;KACF;IACD;QACE,IAAI,EAAE,gCAAgC;QACtC,WAAW,EAAE,0DAA0D;QACvE,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,QAAQ,EAAE;oBACR,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iBAAiB;iBAC/B;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,iBAAiB;iBAC/B;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,6BAA6B;iBAC3C;aACF;YACD,QAAQ,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,CAAC;SAC5C;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool definition interface matching MCP SDK requirements
|
|
3
|
+
*/
|
|
4
|
+
export interface ToolDefinition {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
inputSchema: {
|
|
8
|
+
type: 'object';
|
|
9
|
+
properties: Record<string, any>;
|
|
10
|
+
required?: string[];
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Confluence tool definitions
|
|
15
|
+
*/
|
|
16
|
+
export declare const confluenceTools: ToolDefinition[];
|
|
17
|
+
//# sourceMappingURL=confluence-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confluence-tools.d.ts","sourceRoot":"","sources":["../../src/tools/confluence-tools.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ,CAAC;QACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAChC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,EAAE,cAAc,EA2U3C,CAAC"}
|