@taiga-ai/mcp-server 0.51.0-dev.1278 → 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 +76 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27810,6 +27810,35 @@ function runSignalsVerdict(signals) {
|
|
|
27810
27810
|
open
|
|
27811
27811
|
};
|
|
27812
27812
|
}
|
|
27813
|
+
/** The changes in a run page's answer: what {@link readRunChanges} reads, no more. */
|
|
27814
|
+
const runChangesSchema = object({
|
|
27815
|
+
headCommit: string$2(),
|
|
27816
|
+
groups: array(object({
|
|
27817
|
+
id: string$2(),
|
|
27818
|
+
level: _enum([
|
|
27819
|
+
"critical",
|
|
27820
|
+
"high",
|
|
27821
|
+
"medium",
|
|
27822
|
+
"low",
|
|
27823
|
+
"trivial"
|
|
27824
|
+
]),
|
|
27825
|
+
title: string$2().nullable(),
|
|
27826
|
+
explanation: string$2().nullable(),
|
|
27827
|
+
blastRadius: string$2().nullable(),
|
|
27828
|
+
risks: string$2().nullable(),
|
|
27829
|
+
verification: string$2().nullable(),
|
|
27830
|
+
dataAndSecurity: string$2().nullable(),
|
|
27831
|
+
rollback: string$2().nullable(),
|
|
27832
|
+
files: array(object({
|
|
27833
|
+
path: string$2(),
|
|
27834
|
+
previousPath: string$2().nullable(),
|
|
27835
|
+
status: string$2(),
|
|
27836
|
+
fileUrl: string$2().nullable(),
|
|
27837
|
+
diffUrl: string$2().nullable()
|
|
27838
|
+
}))
|
|
27839
|
+
})),
|
|
27840
|
+
omittedFiles: number$1().int().nonnegative().optional()
|
|
27841
|
+
});
|
|
27813
27842
|
[...BUILD_RUN_ACTIVE_STATUSES.filter((s) => s !== "reviewing")];
|
|
27814
27843
|
//#endregion
|
|
27815
27844
|
//#region ../../packages/types/dist/agents.js
|
|
@@ -28434,6 +28463,31 @@ const TRACKER_PLACE_KINDS = [
|
|
|
28434
28463
|
"table",
|
|
28435
28464
|
"team"
|
|
28436
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
|
+
];
|
|
28437
28491
|
const ISSUE_IMPORT_STATES = ["open", "in_progress"];
|
|
28438
28492
|
/**
|
|
28439
28493
|
* What a refresh of one source answers. `busy` is another refresh of the
|
|
@@ -29721,6 +29775,8 @@ object({
|
|
|
29721
29775
|
const uuid = string$2().uuid();
|
|
29722
29776
|
/** A place as a source names it: the tracker's id for it, checked against the tracker before it is stored. */
|
|
29723
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);
|
|
29724
29780
|
/** A provider-neutral filter field name, such as `component`. */
|
|
29725
29781
|
const trackerFilterField = string$2().trim().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/, "That is not a filter field");
|
|
29726
29782
|
/**
|
|
@@ -29890,7 +29946,9 @@ object({
|
|
|
29890
29946
|
/** The acceptance criteria the run was given, which its evidence judges by number (PRO-4680). */
|
|
29891
29947
|
criteria: runGivenCriteriaSchema.nullable().optional(),
|
|
29892
29948
|
/** What a person should know before merging, from its handover's `signals.json` (PRO-4756). */
|
|
29893
|
-
signals: runSignalsSchema.nullable().optional()
|
|
29949
|
+
signals: runSignalsSchema.nullable().optional(),
|
|
29950
|
+
/** What the run changed, most attention first, from its handover's `changes.json`. */
|
|
29951
|
+
changes: runChangesSchema.nullable().optional()
|
|
29894
29952
|
}), strictObject({
|
|
29895
29953
|
notes: string$2().trim().min(1).max(CHANGE_REQUEST_MAX_CHARS),
|
|
29896
29954
|
/** Show the revised plan before the run continues (PRO-3164). */
|
|
@@ -30532,7 +30590,23 @@ const issueImportRules = strictObject({
|
|
|
30532
30590
|
states: array(_enum(ISSUE_IMPORT_STATES)).max(ISSUE_IMPORT_STATES.length),
|
|
30533
30591
|
labels: ruleValues
|
|
30534
30592
|
});
|
|
30535
|
-
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({
|
|
30536
30610
|
outcome: _enum(ISSUE_REFRESH_OUTCOMES),
|
|
30537
30611
|
issues: number$1().int().nullable(),
|
|
30538
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",
|