@taiga-ai/mcp-server 0.36.0-dev.834 → 0.36.0-dev.835
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 +10 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28593,6 +28593,7 @@ function controlCoverageList(controls) {
|
|
|
28593
28593
|
return [{
|
|
28594
28594
|
controlId: control["controlId"],
|
|
28595
28595
|
state: control["state"],
|
|
28596
|
+
planned: plannedFor(coverage),
|
|
28596
28597
|
uncovered: coverage["uncovered"] === true,
|
|
28597
28598
|
...initiatives.length > 0 ? { initiatives: initiatives.map((item) => ({
|
|
28598
28599
|
id: item["id"],
|
|
@@ -28602,6 +28603,14 @@ function controlCoverageList(controls) {
|
|
|
28602
28603
|
}];
|
|
28603
28604
|
});
|
|
28604
28605
|
}
|
|
28606
|
+
/**
|
|
28607
|
+
* Whether the backlog plans a control: yes when a live initiative builds it, later when it deferred it with a
|
|
28608
|
+
* reason, no otherwise. A deferred control reads "planned later" rather than only "not assessed" (PRO-3860).
|
|
28609
|
+
*/
|
|
28610
|
+
function plannedFor(coverage) {
|
|
28611
|
+
if (Array.isArray(coverage["initiatives"]) && coverage["initiatives"].length > 0) return "yes";
|
|
28612
|
+
return coverage["deferredReason"] ? "later" : "no";
|
|
28613
|
+
}
|
|
28605
28614
|
/** The coverage, when the backlog answered for any control, for the default and full answers. */
|
|
28606
28615
|
function controlCoveragePart(controls) {
|
|
28607
28616
|
const coverage = controlCoverageList(controls);
|
|
@@ -28798,7 +28807,7 @@ function registerMaintenanceTools(server, client) {
|
|
|
28798
28807
|
const own = violations.filter((violation) => String(violation["controlId"]).toUpperCase() === wanted);
|
|
28799
28808
|
return toolResult({
|
|
28800
28809
|
...control,
|
|
28801
|
-
...control.state === "no_evidence" ? { meaning: "Not assessed: no finding or violation is recorded against it, and the documents were not found to show it met. That is no evidence either way, not a pass." } : {},
|
|
28810
|
+
...control.state === "no_evidence" ? { meaning: (control.coverage && plannedFor(control.coverage) === "later" ? `Planned later: the backlog deferred it (${control.coverage.deferredReason}). ` : "") + "Not assessed: no finding or violation is recorded against it, and the documents were not found to show it met. That is no evidence either way, not a pass." } : {},
|
|
28802
28811
|
...control.coverage ? { coverageNote: "coverage is how the backlog plans for it: the live initiatives that build it, or why it is deferred. It says what is planned, not that the control is met." } : {},
|
|
28803
28812
|
...control.assessment == null && (control.state === "breached" || control.state === "diverged") ? { assessmentNote: "No met or not-applicable verdict is shown: an open finding or violation against the control outranks one." } : {},
|
|
28804
28813
|
...Number(control.findingCount ?? 0) > 0 ? { findingsNote: `${String(control.findingCount)} open scanner finding${control.findingCount === 1 ? "" : "s"} breach it; taiga_list_findings (productId) lists them with the controls each breaches. violations below are the documents' only.` } : {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.36.0-dev.
|
|
3
|
+
"version": "0.36.0-dev.835",
|
|
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",
|