@structured-world/gitlab-mcp 4.3.3 → 4.4.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/README.md CHANGED
@@ -282,7 +282,7 @@ export GITLAB_TOOL_CREATE_WORK_ITEM="Create tickets for our sprint planning"
282
282
  - **Content Guidelines**: Descriptions can be any valid string but should be kept concise for better UX
283
283
  - **Scope**: Works with all 86 available tools across all entities (Core, Work Items, Merge Requests, Files, etc.)
284
284
 
285
- ## Tools
285
+ ## Tools 🛠️
286
286
 
287
287
  **85 Tools Available** - Organized by entity and functionality below.
288
288
 
@@ -321,146 +321,146 @@ The following issue-related tools have been removed and replaced by Work Items G
321
321
  ## Complete Tool Reference
322
322
 
323
323
  ### Legend
324
- - READ = Read-only tool (available in GITLAB_READ_ONLY_MODE)
325
- - WRITE = Read/Write tool (disabled in GITLAB_READ_ONLY_MODE)
324
+ - 📖 = Read-only tool (available in GITLAB_READ_ONLY_MODE)
325
+ - ✏️ = Read/Write tool (disabled in GITLAB_READ_ONLY_MODE)
326
326
 
327
327
  ### Core Tools (21 tools)
328
328
  Core GitLab functionality always available.
329
329
 
330
330
  #### Repository & Project Management
331
- - WRITE **`create_repository`**: Create a new GitLab project
332
- - READ **`get_project`**: Get details of a specific project
333
- - READ **`list_projects`**: List GitLab projects with flexible scoping. DEFAULT (no group_id): Lists YOUR accessible projects across GitLab (owned/member/starred). GROUP SCOPE (with group_id): Lists all projects within a specific group/organization. Parameters automatically validate based on scope.
334
- - READ **`search_repositories`**: Search for GitLab projects
335
- - READ **`list_project_members`**: List members of a GitLab project
331
+ - ✏️ **`create_repository`**: Create a new GitLab project
332
+ - 📖 **`get_project`**: Get details of a specific project
333
+ - 📖 **`list_projects`**: List GitLab projects with flexible scoping. DEFAULT (no group_id): Lists YOUR accessible projects across GitLab (owned/member/starred). GROUP SCOPE (with group_id): Lists all projects within a specific group/organization. Parameters automatically validate based on scope.
334
+ - 📖 **`search_repositories`**: Search for GitLab projects
335
+ - 📖 **`list_project_members`**: List members of a GitLab project
336
336
 
337
337
  #### Branch Management
338
- - WRITE **`create_branch`**: Create a new branch in a GitLab project
339
- - READ **`get_branch_diffs`**: Get the changes/diffs between two branches or commits in a GitLab project
340
- - WRITE **`fork_repository`**: Fork a GitLab project to your account or specified namespace
338
+ - ✏️ **`create_branch`**: Create a new branch in a GitLab project
339
+ - 📖 **`get_branch_diffs`**: Get the changes/diffs between two branches or commits in a GitLab project
340
+ - ✏️ **`fork_repository`**: Fork a GitLab project to your account or specified namespace
341
341
 
342
342
  #### Comments & General Notes
343
- - WRITE **`create_note`**: Create a new note (comment) to an issue or merge request
344
- - READ **`download_attachment`**: Download an uploaded file from a GitLab project by secret and filename
343
+ - ✏️ **`create_note`**: Create a new note (comment) to an issue or merge request
344
+ - 📖 **`download_attachment`**: Download an uploaded file from a GitLab project by secret and filename
345
345
 
346
346
  #### Commits & History
347
- - READ **`get_commit`**: Get details of a specific commit
348
- - READ **`get_commit_diff`**: Get changes/diffs of a specific commit
349
- - READ **`list_commits`**: List repository commits with filtering options
347
+ - 📖 **`get_commit`**: Get details of a specific commit
348
+ - 📖 **`get_commit_diff`**: Get changes/diffs of a specific commit
349
+ - 📖 **`list_commits`**: List repository commits with filtering options
350
350
 
351
351
  #### Namespaces & Users
352
- - READ **`get_namespace`**: Get details of a namespace by ID or path
353
- - READ **`list_namespaces`**: List all namespaces available to the current user
354
- - READ **`verify_namespace`**: Verify if a namespace path exists
355
- - READ **`get_users`**: Get GitLab user details by usernames
352
+ - 📖 **`get_namespace`**: Get details of a namespace by ID or path
353
+ - 📖 **`list_namespaces`**: List all namespaces available to the current user
354
+ - 📖 **`verify_namespace`**: Verify if a namespace path exists
355
+ - 📖 **`get_users`**: Get GitLab user details by usernames
356
356
 
357
357
  #### Events & Activity
358
- - READ **`get_project_events`**: List all visible events for a specified project. Note: before/after parameters accept date format YYYY-MM-DD only
359
- - READ **`list_events`**: List all events for the currently authenticated user. Note: before/after parameters accept date format YYYY-MM-DD only
360
- - READ **`list_group_iterations`**: List group iterations with filtering options
358
+ - 📖 **`get_project_events`**: List all visible events for a specified project. Note: before/after parameters accept date format YYYY-MM-DD only
359
+ - 📖 **`list_events`**: List all events for the currently authenticated user. Note: before/after parameters accept date format YYYY-MM-DD only
360
+ - 📖 **`list_group_iterations`**: List group iterations with filtering options
361
361
 
362
362
  ### Labels Management (5 tools)
363
363
  Requires USE_LABELS=true environment variable (enabled by default). Supports both project and group labels.
364
364
 
365
- - WRITE **`create_label`**: Create a new label in a project or group
366
- - WRITE **`update_label`**: Update an existing label in a project or group
367
- - WRITE **`delete_label`**: Delete a label from a project or group
368
- - READ **`get_label`**: Get a single label from a project or group
369
- - READ **`list_labels`**: List labels for a project or group
365
+ - ✏️ **`create_label`**: Create a new label in a project or group
366
+ - ✏️ **`update_label`**: Update an existing label in a project or group
367
+ - ✏️ **`delete_label`**: Delete a label from a project or group
368
+ - 📖 **`get_label`**: Get a single label from a project or group
369
+ - 📖 **`list_labels`**: List labels for a project or group
370
370
 
371
371
  ### Merge Requests Management (17 tools)
372
372
  Requires USE_MRS=true environment variable (enabled by default).
373
373
 
374
374
  #### Merge Request Operations
375
- - WRITE **`create_merge_request`**: Create a new merge request in a GitLab project
376
- - WRITE **`update_merge_request`**: Update a merge request (Either mergeRequestIid or branchName must be provided)
377
- - WRITE **`merge_merge_request`**: Merge a merge request in a GitLab project
378
- - READ **`get_merge_request`**: Get details of a merge request (Either mergeRequestIid or branchName must be provided)
379
- - READ **`get_merge_request_diffs`**: Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
380
- - READ **`list_merge_request_diffs`**: List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
381
- - READ **`list_merge_requests`**: List merge requests in a GitLab project with filtering options
382
- - READ **`mr_discussions`**: List discussion items for a merge request
375
+ - ✏️ **`create_merge_request`**: Create a new merge request in a GitLab project
376
+ - ✏️ **`update_merge_request`**: Update a merge request (Either mergeRequestIid or branchName must be provided)
377
+ - ✏️ **`merge_merge_request`**: Merge a merge request in a GitLab project
378
+ - 📖 **`get_merge_request`**: Get details of a merge request (Either mergeRequestIid or branchName must be provided)
379
+ - 📖 **`get_merge_request_diffs`**: Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
380
+ - 📖 **`list_merge_request_diffs`**: List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
381
+ - 📖 **`list_merge_requests`**: List merge requests in a GitLab project with filtering options
382
+ - 📖 **`mr_discussions`**: List discussion items for a merge request
383
383
 
384
384
  #### MR Comments & Discussions
385
- - WRITE **`create_merge_request_thread`**: Create a new thread on a merge request
386
- - WRITE **`create_merge_request_note`**: Add a new note to an existing merge request thread
387
- - WRITE **`update_merge_request_note`**: Modify an existing merge request thread note
385
+ - ✏️ **`create_merge_request_thread`**: Create a new thread on a merge request
386
+ - ✏️ **`create_merge_request_note`**: Add a new note to an existing merge request thread
387
+ - ✏️ **`update_merge_request_note`**: Modify an existing merge request thread note
388
388
 
389
389
  #### MR Draft Notes
390
- - WRITE **`create_draft_note`**: Create a draft note for a merge request
391
- - WRITE **`update_draft_note`**: Update an existing draft note
392
- - WRITE **`delete_draft_note`**: Delete a draft note
393
- - WRITE **`publish_draft_note`**: Publish a single draft note
394
- - WRITE **`bulk_publish_draft_notes`**: Publish all draft notes for a merge request
395
- - READ **`get_draft_note`**: Get a single draft note from a merge request
396
- - READ **`list_draft_notes`**: List draft notes for a merge request
390
+ - ✏️ **`create_draft_note`**: Create a draft note for a merge request
391
+ - ✏️ **`update_draft_note`**: Update an existing draft note
392
+ - ✏️ **`delete_draft_note`**: Delete a draft note
393
+ - ✏️ **`publish_draft_note`**: Publish a single draft note
394
+ - ✏️ **`bulk_publish_draft_notes`**: Publish all draft notes for a merge request
395
+ - 📖 **`get_draft_note`**: Get a single draft note from a merge request
396
+ - 📖 **`list_draft_notes`**: List draft notes for a merge request
397
397
 
398
398
  ### File Operations (5 tools)
399
399
  Requires USE_FILES=true environment variable (enabled by default).
400
400
 
401
- - WRITE **`create_or_update_file`**: Create or update a single file in a GitLab project
402
- - WRITE **`push_files`**: Push multiple files to a GitLab project in a single commit
403
- - READ **`get_file_contents`**: Get the contents of a file or directory from a GitLab project
404
- - READ **`get_repository_tree`**: Get the repository tree for a GitLab project (list files and directories)
405
- - WRITE **`upload_markdown`**: Upload a file to a GitLab project for use in markdown content
401
+ - ✏️ **`create_or_update_file`**: Create or update a single file in a GitLab project
402
+ - ✏️ **`push_files`**: Push multiple files to a GitLab project in a single commit
403
+ - 📖 **`get_file_contents`**: Get the contents of a file or directory from a GitLab project
404
+ - 📖 **`get_repository_tree`**: Get the repository tree for a GitLab project (list files and directories)
405
+ - ✏️ **`upload_markdown`**: Upload a file to a GitLab project for use in markdown content
406
406
 
407
407
  ### CI/CD Variables (5 tools)
408
408
  Requires USE_VARIABLES=true environment variable (enabled by default). Supports both project-level and group-level variables.
409
409
 
410
- - READ **`list_variables`**: List all CI/CD variables for a project or group with their configuration and security settings
411
- - READ **`get_variable`**: Get a specific CI/CD variable by key from a project or group, optionally filtered by environment scope
412
- - WRITE **`create_variable`**: Create a new CI/CD variable for automated deployments and pipeline configuration in a project or group
413
- - WRITE **`update_variable`**: Update an existing CI/CD variable's value, security settings, or configuration in a project or group
414
- - WRITE **`delete_variable`**: Remove a CI/CD variable from a project or group
410
+ - 📖 **`list_variables`**: List all CI/CD variables for a project or group with their configuration and security settings
411
+ - 📖 **`get_variable`**: Get a specific CI/CD variable by key from a project or group, optionally filtered by environment scope
412
+ - ✏️ **`create_variable`**: Create a new CI/CD variable for automated deployments and pipeline configuration in a project or group
413
+ - ✏️ **`update_variable`**: Update an existing CI/CD variable's value, security settings, or configuration in a project or group
414
+ - ✏️ **`delete_variable`**: Remove a CI/CD variable from a project or group
415
415
 
416
416
  ### Work Items (5 tools)
417
417
  Modern GraphQL API for issues, epics, tasks, and more. Requires USE_WORKITEMS=true (enabled by default).
418
418
 
419
- - WRITE **`create_work_item`**: Create a new work item (epic, issue, task, etc.) in a GitLab group
420
- - WRITE **`update_work_item`**: Update an existing work item
421
- - WRITE **`delete_work_item`**: Delete a work item
422
- - READ **`get_work_item`**: Get details of a specific work item by ID
423
- - READ **`list_work_items`**: List work items from a GitLab group with optional filtering by type
419
+ - ✏️ **`create_work_item`**: Create a new work item (epic, issue, task, etc.) in a GitLab group
420
+ - ✏️ **`update_work_item`**: Update an existing work item
421
+ - ✏️ **`delete_work_item`**: Delete a work item
422
+ - 📖 **`get_work_item`**: Get details of a specific work item by ID
423
+ - 📖 **`list_work_items`**: List work items from a GitLab group with optional filtering by type
424
424
 
425
425
  ### Wiki Management (5 tools)
426
426
  Requires USE_GITLAB_WIKI=true environment variable. Supports both project-level and group-level wikis.
427
427
 
428
- - WRITE **`create_wiki_page`**: Create a new wiki page in a GitLab project or group
429
- - WRITE **`update_wiki_page`**: Update an existing wiki page in a GitLab project or group
430
- - WRITE **`delete_wiki_page`**: Delete a wiki page from a GitLab project or group
431
- - READ **`get_wiki_page`**: Get details of a specific wiki page from a project or group
432
- - READ **`list_wiki_pages`**: List wiki pages in a GitLab project or group
428
+ - ✏️ **`create_wiki_page`**: Create a new wiki page in a GitLab project or group
429
+ - ✏️ **`update_wiki_page`**: Update an existing wiki page in a GitLab project or group
430
+ - ✏️ **`delete_wiki_page`**: Delete a wiki page from a GitLab project or group
431
+ - 📖 **`get_wiki_page`**: Get details of a specific wiki page from a project or group
432
+ - 📖 **`list_wiki_pages`**: List wiki pages in a GitLab project or group
433
433
 
434
434
  ### Milestones (9 tools)
435
435
  Requires USE_MILESTONE=true environment variable. Supports both project and group milestones.
436
436
 
437
- - WRITE **`create_milestone`**: Create a new milestone in a GitLab project or group
438
- - WRITE **`edit_milestone`**: Edit an existing milestone in a GitLab project or group
439
- - WRITE **`delete_milestone`**: Delete a milestone from a GitLab project or group
440
- - WRITE **`promote_milestone`**: Promote a project milestone to a group milestone
441
- - READ **`get_milestone`**: Get details of a specific project or group milestone
442
- - READ **`get_milestone_issue`**: Get issues associated with a specific project or group milestone
443
- - READ **`get_milestone_merge_requests`**: Get merge requests associated with a specific project or group milestone
444
- - READ **`get_milestone_burndown_events`**: Get burndown events for a specific project or group milestone
445
- - READ **`list_milestones`**: List milestones in a GitLab project or group with filtering options
437
+ - ✏️ **`create_milestone`**: Create a new milestone in a GitLab project or group
438
+ - ✏️ **`edit_milestone`**: Edit an existing milestone in a GitLab project or group
439
+ - ✏️ **`delete_milestone`**: Delete a milestone from a GitLab project or group
440
+ - ✏️ **`promote_milestone`**: Promote a project milestone to a group milestone
441
+ - 📖 **`get_milestone`**: Get details of a specific project or group milestone
442
+ - 📖 **`get_milestone_issue`**: Get issues associated with a specific project or group milestone
443
+ - 📖 **`get_milestone_merge_requests`**: Get merge requests associated with a specific project or group milestone
444
+ - 📖 **`get_milestone_burndown_events`**: Get burndown events for a specific project or group milestone
445
+ - 📖 **`list_milestones`**: List milestones in a GitLab project or group with filtering options
446
446
 
447
447
  ### Pipelines & CI/CD (12 tools)
448
448
  Requires USE_PIPELINE=true environment variable.
449
449
 
450
- - WRITE **`create_pipeline`**: Create a new pipeline for a branch or tag
451
- - WRITE **`retry_pipeline`**: Retry a failed or canceled pipeline
452
- - WRITE **`cancel_pipeline`**: Cancel a running pipeline
453
- - WRITE **`play_pipeline_job`**: Run a manual pipeline job
454
- - WRITE **`retry_pipeline_job`**: Retry a failed or canceled pipeline job
455
- - WRITE **`cancel_pipeline_job`**: Cancel a running pipeline job
456
- - READ **`get_pipeline`**: Get details of a specific pipeline in a GitLab project
457
- - READ **`get_pipeline_job`**: Get details of a GitLab pipeline job number
458
- - READ **`get_pipeline_job_output`**: Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
459
- - READ **`list_pipelines`**: List pipelines in a GitLab project with filtering options
460
- - READ **`list_pipeline_jobs`**: List all jobs in a specific pipeline
461
- - READ **`list_pipeline_trigger_jobs`**: List all trigger jobs (bridges) in a specific pipeline that trigger downstream pipelines
462
-
463
- ## CLI Tools
450
+ - ✏️ **`create_pipeline`**: Create a new pipeline for a branch or tag
451
+ - ✏️ **`retry_pipeline`**: Retry a failed or canceled pipeline
452
+ - ✏️ **`cancel_pipeline`**: Cancel a running pipeline
453
+ - ✏️ **`play_pipeline_job`**: Run a manual pipeline job
454
+ - ✏️ **`retry_pipeline_job`**: Retry a failed or canceled pipeline job
455
+ - ✏️ **`cancel_pipeline_job`**: Cancel a running pipeline job
456
+ - 📖 **`get_pipeline`**: Get details of a specific pipeline in a GitLab project
457
+ - 📖 **`get_pipeline_job`**: Get details of a GitLab pipeline job number
458
+ - 📖 **`get_pipeline_job_output`**: Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
459
+ - 📖 **`list_pipelines`**: List pipelines in a GitLab project with filtering options
460
+ - 📖 **`list_pipeline_jobs`**: List all jobs in a specific pipeline
461
+ - 📖 **`list_pipeline_trigger_jobs`**: List all trigger jobs (bridges) in a specific pipeline that trigger downstream pipelines
462
+
463
+ ## CLI Tools 🔧
464
464
 
465
465
  ### list-tools - Browse Available Tools
466
466
 
@@ -509,9 +509,9 @@ USE_WORKITEMS=false yarn list-tools # Hide work items tools
509
509
  #### Features
510
510
 
511
511
  - **Tier Badges** - Visual indicators for GitLab tier requirements:
512
- - FREE - Available in all GitLab tiers
513
- - PREMIUM - Requires GitLab Premium or higher
514
- - ULTIMATE - Requires GitLab Ultimate
512
+ - 🟢 Free - Available in all GitLab tiers
513
+ - 🟡 Premium - Requires GitLab Premium or higher
514
+ - 🔴 Ultimate - Requires GitLab Ultimate
515
515
 
516
516
  - **Parameter Documentation** - Shows all input parameters with:
517
517
  - Parameter name and type
@@ -575,7 +575,7 @@ yarn test tests/integration/schemas/workitems.test.ts
575
575
 
576
576
  For detailed testing documentation, see [TESTING.md](TESTING.md).
577
577
 
578
- ## Support the Project
578
+ ## 💖 Support the Project
579
579
 
580
580
  This GitLab MCP Server is developed and maintained with care for the community. If it saves you time or helps your workflow, consider supporting its continued development!
581
581
 
@@ -583,16 +583,16 @@ This GitLab MCP Server is developed and maintained with care for the community.
583
583
 
584
584
  ![USDT TRC-20 Donation QR Code](assets/usdt-qr.svg)
585
585
 
586
- **Buy me a coffee with USDT (TRC-20)**
586
+ **Buy me a coffee with USDT (TRC-20)**
587
587
  `TFDsezHa1cBkoeZT5q2T49Wp66K8t2DmdA`
588
588
 
589
- *Scan QR code with your wallet (TronLink, Trust Wallet, Exodus, etc.)*
589
+ 📱 *Scan QR code with your wallet (TronLink, Trust Wallet, Exodus, etc.)*
590
590
 
591
- **Every contribution helps keep this project alive and growing!**
591
+ **Every contribution helps keep this project alive and growing! 🚀**
592
592
 
593
593
  </div>
594
594
 
595
595
  ---
596
596
 
597
- **Maintained with care by [Dmitry Prudnikov](https://github.com/polaz)**
597
+ **Maintained with ❤️ by [Dmitry Prudnikov](https://github.com/polaz)**
598
598
  **Original work by [zereight](https://github.com/zereight) - Thank you for the foundation!**
@@ -16,7 +16,7 @@ exports.workitemsToolRegistry = new Map([
16
16
  'list_work_items',
17
17
  {
18
18
  name: 'list_work_items',
19
- description: 'List work items from a namespace. Returns open work items by default. Supports filtering by type and state, with pagination for large result sets.',
19
+ description: 'List work items from a namespace (groups or projects). Core tool for tracking issues, epics, tasks, and incidents. Shows existing label usage patterns for better labeling decisions. Supports 9 work item types including Test Cases and Requirements. Returns open items by default. Filter by type, state, with pagination. Groups contain Epics; projects contain Issues/Tasks/Incidents. Use with list_labels to understand complete taxonomy.',
20
20
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_readonly_1.ListWorkItemsSchema),
21
21
  handler: async (args) => {
22
22
  console.log('list_work_items called with args:', JSON.stringify(args, null, 2));
@@ -159,7 +159,7 @@ exports.workitemsToolRegistry = new Map([
159
159
  'get_work_item',
160
160
  {
161
161
  name: 'get_work_item',
162
- description: 'Get detailed information about a specific work item by ID. Returns complete work item data including assignees, labels, milestones, and other metadata.',
162
+ description: 'Get complete work item details by ID. Returns full data including widgets (assignees, labels, milestones, hierarchy, time tracking, custom fields). Essential for issue/epic management and tracking project progress. Each work item type has different widget capabilities.',
163
163
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_readonly_1.GetWorkItemSchema),
164
164
  handler: async (args) => {
165
165
  const options = schema_readonly_1.GetWorkItemSchema.parse(args);
@@ -179,7 +179,7 @@ exports.workitemsToolRegistry = new Map([
179
179
  'create_work_item',
180
180
  {
181
181
  name: 'create_work_item',
182
- description: 'Create a new work item in the specified namespace. Automatically resolves work item type ID from the provided type name. Supports creating epics, issues, tasks, and other work item types.',
182
+ description: 'Create work items for issue tracking and project management. LABEL WORKFLOW: Run list_labels first to discover existing labels, then use label IDs from response. CRITICAL: Epics require GROUP namespace, Issues/Tasks/Incidents require PROJECT namespace. Supports 9 types: Epic, Issue, Task, Incident, Test Case, Requirement, Objective, Key Result, Ticket. NOTE: Test Cases and Requirements do not support labels widget. Automatically assigns widgets (assignees, labels, milestones) based on type capabilities.',
183
183
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_1.CreateWorkItemSchema),
184
184
  handler: async (args) => {
185
185
  const options = schema_1.CreateWorkItemSchema.parse(args);
@@ -187,7 +187,8 @@ exports.workitemsToolRegistry = new Map([
187
187
  const connectionManager = ConnectionManager_1.ConnectionManager.getInstance();
188
188
  const client = connectionManager.getClient();
189
189
  const workItemTypes = await (0, workItemTypes_1.getWorkItemTypes)(namespacePath);
190
- const workItemTypeObj = workItemTypes.find((t) => t.name.toUpperCase() === workItemType.toUpperCase());
190
+ const workItemTypeObj = workItemTypes.find((t) => t.name.toUpperCase().replace(/\s+/g, '_') ===
191
+ workItemType.toUpperCase().replace(/\s+/g, '_'));
191
192
  if (!workItemTypeObj) {
192
193
  throw new Error(`Work item type "${workItemType}" not found in namespace "${namespacePath}". Available types: ${workItemTypes.map((t) => t.name).join(', ')}`);
193
194
  }
@@ -223,7 +224,7 @@ exports.workitemsToolRegistry = new Map([
223
224
  'update_work_item',
224
225
  {
225
226
  name: 'update_work_item',
226
- description: 'Update properties of an existing work item. Supports modifying title, description, assignees, labels, milestones, and state. Only specified fields will be changed.',
227
+ description: 'Update work item properties for issue/epic management. LABEL WORKFLOW: Run list_labels first to discover existing labels, then use label IDs from response. Modify title, description, assignees, labels, milestones, and state (open/close). Supports widget updates including clearing assignees with empty arrays. NOTE: Test Cases and Requirements do not support labels widget. Essential for project workflow and status tracking.',
227
228
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_1.UpdateWorkItemSchema),
228
229
  handler: async (args) => {
229
230
  const options = schema_1.UpdateWorkItemSchema.parse(args);
@@ -263,7 +264,7 @@ exports.workitemsToolRegistry = new Map([
263
264
  'delete_work_item',
264
265
  {
265
266
  name: 'delete_work_item',
266
- description: 'Permanently delete a work item. This action cannot be undone and will remove all associated data and references.',
267
+ description: 'Permanently delete work items. WARNING: Cannot be undone. Removes all data, comments, time tracking, and references. Use for cleanup or removing invalid issues/epics. Consider closing instead of deleting for audit trails.',
267
268
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_1.DeleteWorkItemSchema),
268
269
  handler: async (args) => {
269
270
  const options = schema_1.DeleteWorkItemSchema.parse(args);
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/entities/workitems/registry.ts"],"names":[],"mappings":";;;AAieA,sEAEC;AAKD,kEAEC;AAKD,8DAQC;AAvfD,2DAAqD;AACrD,uDAA2E;AAC3E,qCAA4F;AAE5F,wEAAqE;AACrE,6DAA6D;AAC7D,2DAKkC;AAOlC,uDASiC;AAKpB,QAAA,qBAAqB,GAAiB,IAAI,GAAG,CAAiC;IAEzF;QACE,iBAAiB;QACjB;YACE,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,oJAAoJ;YACtJ,WAAW,EAAE,IAAA,oCAAe,EAAC,qCAAmB,CAAC;YACjD,OAAO,EAAE,KAAK,EAAE,IAAa,EAAoB,EAAE;gBACjD,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE,IAAI,CAAC,SA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ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>;
4
- export declare const WorkItemStateSchema: z.ZodEnum<["OPEN", "CLOSED"]>;
5
- export declare const WorkItemStateEventSchema: z.ZodEnum<["CLOSE", "REOPEN"]>;
3
+ export declare const WorkItemTypeEnumSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>>;
4
+ export declare const WorkItemStateSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["OPEN", "CLOSED"]>>;
5
+ export declare const WorkItemStateEventSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["CLOSE", "REOPEN"]>>;
6
6
  export declare const ListWorkItemsSchema: z.ZodObject<{
7
7
  namespacePath: z.ZodString;
8
- types: z.ZodOptional<z.ZodArray<z.ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>, "many">>;
9
- state: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["OPEN", "CLOSED"]>, "many">>>;
8
+ types: z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>>, "many">>;
9
+ state: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["OPEN", "CLOSED"]>>, "many">>>;
10
10
  first: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
11
11
  after: z.ZodOptional<z.ZodString>;
12
12
  simple: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -21,11 +21,11 @@ export declare const ListWorkItemsSchema: z.ZodObject<{
21
21
  types?: ("OBJECTIVE" | "KEY_RESULT" | "REQUIREMENT" | "ISSUE" | "INCIDENT" | "TEST_CASE" | "TASK" | "EPIC")[] | undefined;
22
22
  }, {
23
23
  namespacePath: string;
24
- state?: ("OPEN" | "CLOSED")[] | undefined;
24
+ state?: string[] | undefined;
25
25
  active?: boolean | undefined;
26
26
  simple?: boolean | undefined;
27
27
  after?: string | undefined;
28
- types?: ("OBJECTIVE" | "KEY_RESULT" | "REQUIREMENT" | "ISSUE" | "INCIDENT" | "TEST_CASE" | "TASK" | "EPIC")[] | undefined;
28
+ types?: string[] | undefined;
29
29
  first?: number | undefined;
30
30
  }>;
31
31
  export declare const GetWorkItemSchema: z.ZodObject<{
@@ -4,7 +4,9 @@ exports.GetWorkItemTypesSchema = exports.GetWorkItemSchema = exports.ListWorkIte
4
4
  const zod_1 = require("zod");
5
5
  exports.WorkItemIdSchema = zod_1.z.string().min(1).describe('Work item ID');
6
6
  exports.WorkItemTypeEnumSchema = zod_1.z
7
- .enum([
7
+ .string()
8
+ .transform((val) => val.toUpperCase().replace(/\s+/g, '_'))
9
+ .pipe(zod_1.z.enum([
8
10
  'EPIC',
9
11
  'ISSUE',
10
12
  'TASK',
@@ -13,11 +15,17 @@ exports.WorkItemTypeEnumSchema = zod_1.z
13
15
  'REQUIREMENT',
14
16
  'OBJECTIVE',
15
17
  'KEY_RESULT',
16
- ])
18
+ ]))
17
19
  .describe('Type of work item');
18
- exports.WorkItemStateSchema = zod_1.z.enum(['OPEN', 'CLOSED']).describe('State of work item');
20
+ exports.WorkItemStateSchema = zod_1.z
21
+ .string()
22
+ .transform((val) => val.toUpperCase())
23
+ .pipe(zod_1.z.enum(['OPEN', 'CLOSED']))
24
+ .describe('State of work item');
19
25
  exports.WorkItemStateEventSchema = zod_1.z
20
- .enum(['CLOSE', 'REOPEN'])
26
+ .string()
27
+ .transform((val) => val.toUpperCase())
28
+ .pipe(zod_1.z.enum(['CLOSE', 'REOPEN']))
21
29
  .describe('State event for updating work item');
22
30
  exports.ListWorkItemsSchema = zod_1.z.object({
23
31
  namespacePath: zod_1.z
@@ -1 +1 @@
1
- {"version":3,"file":"schema-readonly.js","sourceRoot":"","sources":["../../../src/entities/workitems/schema-readonly.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGX,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE9D,QAAA,sBAAsB,GAAG,OAAC;KACpC,IAAI,CAAC;IACJ,MAAM;IACN,OAAO;IACP,MAAM;IACN,UAAU;IACV,WAAW;IACX,aAAa;IACb,WAAW;IACX,YAAY;CACb,CAAC;KACD,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEpB,QAAA,mBAAmB,GAAG,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC;AAEhF,QAAA,wBAAwB,GAAG,OAAC;KACtC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;KACzB,QAAQ,CAAC,oCAAoC,CAAC,CAAC;AAGrC,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,aAAa,EAAE,OAAC;SACb,MAAM,EAAE;SACR,QAAQ,CACP,iHAAiH,CAClH;IACH,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,8BAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IACvF,KAAK,EAAE,OAAC;SACL,KAAK,CAAC,2BAAmB,CAAC;SAC1B,QAAQ,EAAE;SACV,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;SACjB,QAAQ,CACP,+FAA+F,CAChG;IACH,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC9E,KAAK,EAAE,OAAC;SACL,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,8DAA8D,CAAC;IAC3E,MAAM,EAAE,OAAC;SACN,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,iIAAiI,CAClI;IACH,MAAM,EAAE,OAAC;SACN,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,4HAA4H,CAC7H;CACJ,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,wBAAgB;CACrB,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,aAAa,EAAE,OAAC;SACb,MAAM,EAAE;SACR,QAAQ,CAAC,8DAA8D,CAAC;CAC5E,CAAC,CAAC"}
1
+ {"version":3,"file":"schema-readonly.js","sourceRoot":"","sources":["../../../src/entities/workitems/schema-readonly.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAGX,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAE9D,QAAA,sBAAsB,GAAG,OAAC;KACpC,MAAM,EAAE;KACR,SAAS,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC1D,IAAI,CACH,OAAC,CAAC,IAAI,CAAC;IACL,MAAM;IACN,OAAO;IACP,MAAM;IACN,UAAU;IACV,WAAW;IACX,aAAa;IACb,WAAW;IACX,YAAY;CACb,CAAC,CACH;KACA,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEpB,QAAA,mBAAmB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,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,CACP,4HAA4H,CAC7H;CACJ,CAAC,CAAC;AAEU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,wBAAgB;CACrB,CAAC,CAAC;AAEU,QAAA,sBAAsB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC7C,aAAa,EAAE,OAAC;SACb,MAAM,EAAE;SACR,QAAQ,CAAC,8DAA8D,CAAC;CAC5E,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const CreateWorkItemSchema: z.ZodObject<{
3
3
  namespacePath: z.ZodString;
4
4
  title: z.ZodString;
5
- workItemType: z.ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>;
5
+ workItemType: z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["EPIC", "ISSUE", "TASK", "INCIDENT", "TEST_CASE", "REQUIREMENT", "OBJECTIVE", "KEY_RESULT"]>>;
6
6
  description: z.ZodOptional<z.ZodString>;
7
7
  assigneeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
8
  labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -18,7 +18,7 @@ export declare const CreateWorkItemSchema: z.ZodObject<{
18
18
  }, {
19
19
  title: string;
20
20
  namespacePath: string;
21
- workItemType: "OBJECTIVE" | "KEY_RESULT" | "REQUIREMENT" | "ISSUE" | "INCIDENT" | "TEST_CASE" | "TASK" | "EPIC";
21
+ workItemType: string;
22
22
  description?: string | undefined;
23
23
  assigneeIds?: string[] | undefined;
24
24
  labelIds?: string[] | undefined;
@@ -28,7 +28,7 @@ export declare const UpdateWorkItemSchema: z.ZodObject<{
28
28
  id: z.ZodString;
29
29
  title: z.ZodOptional<z.ZodString>;
30
30
  description: z.ZodOptional<z.ZodString>;
31
- state: z.ZodOptional<z.ZodEnum<["CLOSE", "REOPEN"]>>;
31
+ state: z.ZodOptional<z.ZodPipeline<z.ZodEffects<z.ZodString, string, string>, z.ZodEnum<["CLOSE", "REOPEN"]>>>;
32
32
  assigneeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
33
33
  labelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
34
  milestoneId: z.ZodOptional<z.ZodString>;
@@ -44,7 +44,7 @@ export declare const UpdateWorkItemSchema: z.ZodObject<{
44
44
  id: string;
45
45
  title?: string | undefined;
46
46
  description?: string | undefined;
47
- state?: "CLOSE" | "REOPEN" | undefined;
47
+ state?: string | undefined;
48
48
  assigneeIds?: string[] | undefined;
49
49
  labelIds?: string[] | undefined;
50
50
  milestoneId?: string | undefined;