@taiga-ai/mcp-server 0.51.0-dev.1279 → 0.51.0-dev.1280
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/index.js +44 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28463,6 +28463,31 @@ const TRACKER_PLACE_KINDS = [
|
|
|
28463
28463
|
"table",
|
|
28464
28464
|
"team"
|
|
28465
28465
|
];
|
|
28466
|
+
/** Where an issue stands, reduced to what every tracker can say. */
|
|
28467
|
+
const TRACKER_ISSUE_STATE_CATEGORIES = [
|
|
28468
|
+
"open",
|
|
28469
|
+
"in_progress",
|
|
28470
|
+
"done"
|
|
28471
|
+
];
|
|
28472
|
+
/**
|
|
28473
|
+
* The stages of an initiative Taiga writes to the issue it came from
|
|
28474
|
+
* (PRO-4960), in the order the work passes them. Each sets its own label and
|
|
28475
|
+
* clears the others, so an Automation rule can act on exactly one.
|
|
28476
|
+
*/
|
|
28477
|
+
const ISSUE_WRITE_BACK_STAGES = [
|
|
28478
|
+
"plan_waiting",
|
|
28479
|
+
"plan_approved",
|
|
28480
|
+
"pr_open",
|
|
28481
|
+
"merged",
|
|
28482
|
+
"done"
|
|
28483
|
+
];
|
|
28484
|
+
/** What one write to an issue is (PRO-4960): a comment, the stage's label, or a link. */
|
|
28485
|
+
const ISSUE_WRITE_KINDS = [
|
|
28486
|
+
"comment",
|
|
28487
|
+
"label",
|
|
28488
|
+
"initiative_link",
|
|
28489
|
+
"pull_request_link"
|
|
28490
|
+
];
|
|
28466
28491
|
const ISSUE_IMPORT_STATES = ["open", "in_progress"];
|
|
28467
28492
|
/**
|
|
28468
28493
|
* What a refresh of one source answers. `busy` is another refresh of the
|
|
@@ -29750,6 +29775,8 @@ object({
|
|
|
29750
29775
|
const uuid = string$2().uuid();
|
|
29751
29776
|
/** A place as a source names it: the tracker's id for it, checked against the tracker before it is stored. */
|
|
29752
29777
|
const trackerPlaceId = string$2().trim().min(1).max(255);
|
|
29778
|
+
/** A tracker's own id for a status: Jira's are numeric. */
|
|
29779
|
+
const trackerStatusId = string$2().trim().min(1).max(64);
|
|
29753
29780
|
/** A provider-neutral filter field name, such as `component`. */
|
|
29754
29781
|
const trackerFilterField = string$2().trim().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/, "That is not a filter field");
|
|
29755
29782
|
/**
|
|
@@ -30563,7 +30590,23 @@ const issueImportRules = strictObject({
|
|
|
30563
30590
|
states: array(_enum(ISSUE_IMPORT_STATES)).max(ISSUE_IMPORT_STATES.length),
|
|
30564
30591
|
labels: ruleValues
|
|
30565
30592
|
});
|
|
30566
|
-
strictObject({ filter: issueSourceFilter.nullable() }), strictObject({ rules: issueImportRules.nullable() }), strictObject({ on: boolean() }),
|
|
30593
|
+
strictObject({ filter: issueSourceFilter.nullable() }), strictObject({ rules: issueImportRules.nullable() }), strictObject({ on: boolean() }), strictObject({ moves: partialRecord(_enum(ISSUE_WRITE_BACK_STAGES), strictObject({
|
|
30594
|
+
id: trackerStatusId,
|
|
30595
|
+
name: string$2().trim().min(1).max(255)
|
|
30596
|
+
})).nullable() }), object({
|
|
30597
|
+
permissions: array(object({
|
|
30598
|
+
key: string$2(),
|
|
30599
|
+
name: string$2(),
|
|
30600
|
+
held: boolean(),
|
|
30601
|
+
neededFor: array(_enum([...ISSUE_WRITE_KINDS, "status"]))
|
|
30602
|
+
})).nullable(),
|
|
30603
|
+
labelsEditable: boolean().nullable(),
|
|
30604
|
+
statuses: array(object({
|
|
30605
|
+
id: string$2(),
|
|
30606
|
+
name: string$2(),
|
|
30607
|
+
category: _enum(TRACKER_ISSUE_STATE_CATEGORIES)
|
|
30608
|
+
})).nullable()
|
|
30609
|
+
}), object({
|
|
30567
30610
|
outcome: _enum(ISSUE_REFRESH_OUTCOMES),
|
|
30568
30611
|
issues: number$1().int().nullable(),
|
|
30569
30612
|
truncated: boolean()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.51.0-dev.
|
|
3
|
+
"version": "0.51.0-dev.1280",
|
|
4
4
|
"description": "Taiga for AI coding assistants: read products, policies, initiatives and runs, and operate the line, over MCP",
|
|
5
5
|
"mcpName": "ga.tai/mcp-server",
|
|
6
6
|
"license": "UNLICENSED",
|