@taiga-ai/mcp-server 0.34.0-dev.721 → 0.34.0-dev.723
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 +9 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27770,9 +27770,12 @@ function forgeOf(row) {
|
|
|
27770
27770
|
}
|
|
27771
27771
|
/** A run's change request in its forge's words: `PR #12`, `MR !12`, or the noun when it has no number. */
|
|
27772
27772
|
function changeRequestOf(row) {
|
|
27773
|
-
|
|
27774
|
-
|
|
27775
|
-
|
|
27773
|
+
return typeof row["prNumber"] === "number" ? changeRequestRef(row["provider"], row["prNumber"]) : `its ${FORGE_TERMS[forgeOf(row) ?? "github"].changeRequest}`;
|
|
27774
|
+
}
|
|
27775
|
+
/** A change request's number in its forge's words: `PR #12`, `MR !12`; a row without a forge reads as GitHub. */
|
|
27776
|
+
function changeRequestRef(provider, number) {
|
|
27777
|
+
const forge = forgeOf({ provider }) ?? "github";
|
|
27778
|
+
return `${FORGE_TERMS[forge].changeRequestShort} ${formatChangeRequestRef(forge, number)}`;
|
|
27776
27779
|
}
|
|
27777
27780
|
/** What a person does about a handback, by its reason, as the web's handback detail says it, on the run's forge. */
|
|
27778
27781
|
function handbackNextStep(escalation, provider = null) {
|
|
@@ -28588,7 +28591,7 @@ function situationOf(item) {
|
|
|
28588
28591
|
if (stalled) stage = requeued ? "Queued" : offTheLine ? "Off the line" : column === null ? "Its build stopped" : "On the line, but its build stopped";
|
|
28589
28592
|
const build = life.latestBuild;
|
|
28590
28593
|
if (build && typeof build.status === "string" && life.stage !== "done" && life.stage !== "canceled") {
|
|
28591
|
-
const pr = typeof build.prNumber === "number" ? ` (
|
|
28594
|
+
const pr = typeof build.prNumber === "number" ? ` (${changeRequestRef(build.provider, build.prNumber)})` : "";
|
|
28592
28595
|
const said = BUILD_RUN_STATUSES.includes(build.status) ? RUN_STANDS[landedDisposition(build.status, build.prMerged === true)] : build.status;
|
|
28593
28596
|
stage += `; its latest run ${said}${pr}`;
|
|
28594
28597
|
const handback = handbackSaid(build.reviewEscalation);
|
|
@@ -28623,7 +28626,8 @@ function endingSaid(item) {
|
|
|
28623
28626
|
const ending = item["ending"];
|
|
28624
28627
|
const merged = typeof ending?.landedPr?.number === "number" ? ending.landedPr.number : null;
|
|
28625
28628
|
const said = [];
|
|
28626
|
-
|
|
28629
|
+
const lifecycle = item["lifecycle"];
|
|
28630
|
+
if (merged !== null) said.push(`: ${changeRequestRef(lifecycle?.latestBuild?.provider, merged)} merged`);
|
|
28627
28631
|
else if (ending && (ending.via === "moved" || ending.via === "off_the_line")) {
|
|
28628
28632
|
const who = typeof ending.by?.name === "string" ? ending.by.name : ending.by?.type === "system" ? "Taiga" : "someone";
|
|
28629
28633
|
const when = typeof ending.at === "string" ? ` on ${ending.at.slice(0, 10)}` : "";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.34.0-dev.
|
|
3
|
+
"version": "0.34.0-dev.723",
|
|
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",
|