@taiga-ai/mcp-server 0.28.0-dev.592 → 0.28.0-dev.594
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 +14 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23159,7 +23159,8 @@ const TURN_EVENT_TRIGGERS = [
|
|
|
23159
23159
|
"archived",
|
|
23160
23160
|
"unarchived",
|
|
23161
23161
|
"changes_requested",
|
|
23162
|
-
"changes_answered"
|
|
23162
|
+
"changes_answered",
|
|
23163
|
+
"run_replanned"
|
|
23163
23164
|
];
|
|
23164
23165
|
/**
|
|
23165
23166
|
* The events the feed reads beside the turn log (PRO-3156): a board move and
|
|
@@ -23436,6 +23437,7 @@ const BUILD_RUN_STATUSES = [
|
|
|
23436
23437
|
"ci_fixing",
|
|
23437
23438
|
"needs_review",
|
|
23438
23439
|
"reviewing",
|
|
23440
|
+
"replanning",
|
|
23439
23441
|
"completed",
|
|
23440
23442
|
"failed",
|
|
23441
23443
|
"stopped",
|
|
@@ -23457,6 +23459,7 @@ const RUN_DISPOSITION = {
|
|
|
23457
23459
|
ci_fixing: "in_flight",
|
|
23458
23460
|
needs_review: "gated",
|
|
23459
23461
|
reviewing: "in_flight",
|
|
23462
|
+
replanning: "in_flight",
|
|
23460
23463
|
completed: "succeeded",
|
|
23461
23464
|
failed: "failed",
|
|
23462
23465
|
stopped: "stopped",
|
|
@@ -23518,6 +23521,7 @@ const BUILD_RUN_ACTIVE_STATUSES = BUILD_RUN_STATUSES.filter((s) => runDispositio
|
|
|
23518
23521
|
* DIFFERENT, narrower concept: transitions a user command may never leave.
|
|
23519
23522
|
*/
|
|
23520
23523
|
const BUILD_RUN_TERMINAL_STATUSES = BUILD_RUN_STATUSES.filter((s) => runDisposition(s) !== "in_flight");
|
|
23524
|
+
[...BUILD_RUN_TERMINAL_STATUSES];
|
|
23521
23525
|
/**
|
|
23522
23526
|
* Why the agent kept a pull request a draft, as recorded in its description
|
|
23523
23527
|
* (PRO-2298). The API reads these markers; the run's escalation carries them.
|
|
@@ -23548,6 +23552,10 @@ const READY_BLOCKERS = [
|
|
|
23548
23552
|
* some of them unfixed (PRO-3126). Each thread says what was tried and what
|
|
23549
23553
|
* stopped it; with nothing pushed, nothing new arrives to review, so without
|
|
23550
23554
|
* this the run sat on "waiting for merge" with the comments unanswered.
|
|
23555
|
+
* - `changes_not_planned`: a person asked for changes at the review gate and
|
|
23556
|
+
* the planner refused or failed to plan them (PRO-3165). The pull request is
|
|
23557
|
+
* unchanged and waits for the person again; auto-merge must not take it
|
|
23558
|
+
* before they decide.
|
|
23551
23559
|
*/
|
|
23552
23560
|
const REVIEW_ESCALATION_REASONS = [
|
|
23553
23561
|
"ci_fix_cap",
|
|
@@ -23557,7 +23565,8 @@ const REVIEW_ESCALATION_REASONS = [
|
|
|
23557
23565
|
"check_weakened",
|
|
23558
23566
|
"review_bot_cap",
|
|
23559
23567
|
"ci_never_settled",
|
|
23560
|
-
"review_fix_stalled"
|
|
23568
|
+
"review_fix_stalled",
|
|
23569
|
+
"changes_not_planned"
|
|
23561
23570
|
];
|
|
23562
23571
|
/** One failing check as stored: the name is required, and the link survives only as http(s). */
|
|
23563
23572
|
const storedFailingCheck = object({
|
|
@@ -27282,7 +27291,8 @@ const RUNNING = {
|
|
|
27282
27291
|
pushing: "pushing the branch",
|
|
27283
27292
|
ci_checking: "waiting for the pull request's CI",
|
|
27284
27293
|
ci_fixing: "fixing what CI found",
|
|
27285
|
-
reviewing: "answering review comments on the pull request"
|
|
27294
|
+
reviewing: "answering review comments on the pull request",
|
|
27295
|
+
replanning: "revising the steps left to build for a request for changes"
|
|
27286
27296
|
};
|
|
27287
27297
|
/** Why the agent handed a run back, in the web's words (apps/web handback), with the checks it names. */
|
|
27288
27298
|
function handbackSaid(escalation) {
|
|
@@ -27299,6 +27309,7 @@ function handbackSaid(escalation) {
|
|
|
27299
27309
|
case "review_bot_cap": return `review bots still have open comments${rounds}`;
|
|
27300
27310
|
case "ci_never_settled": return "CI did not finish in time";
|
|
27301
27311
|
case "review_fix_stalled": return "Taiga could not fix some review comments; its replies say what it tried";
|
|
27312
|
+
case "changes_not_planned": return "the planner did not plan the request for changes, so the pull request is as it was";
|
|
27302
27313
|
case "ready_blocked": return `CI is green, but Taiga kept the pull request a draft${blockers.length ? `: ${blockers.join("; ")}` : ""}`;
|
|
27303
27314
|
case "check_weakened": return `CI went green only after a fix changed ${typeof e.file === "string" ? e.file : "a CI workflow or a test"}`;
|
|
27304
27315
|
default: return typeof e.reason === "string" ? e.reason : null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.28.0-dev.
|
|
3
|
+
"version": "0.28.0-dev.594",
|
|
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",
|