@taiga-ai/mcp-server 0.37.0-dev.1142 → 0.37.0-dev.1143

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28799,9 +28799,19 @@ const MAINTENANCE_FINDING_KINDS = [
28799
28799
  "secret",
28800
28800
  "sast",
28801
28801
  "iac_misconfig",
28802
- "engineering"
28802
+ "ci",
28803
+ "code_health"
28803
28804
  ];
28804
28805
  /**
28806
+ * Kinds a finding was once recorded under, by the kind it is now: a Factory on
28807
+ * an older contract still names a CI problem `engineering` (PRO-4697).
28808
+ */
28809
+ const LEGACY_FINDING_KINDS = { engineering: "ci" };
28810
+ /** The kind a finding of `kind` is recorded under: its own, or the one a legacy kind became. */
28811
+ function currentFindingKind(kind) {
28812
+ return LEGACY_FINDING_KINDS[kind] ?? kind;
28813
+ }
28814
+ /**
28805
28815
  * The kinds whose remediation is a CODE change rather than a version bump
28806
28816
  * (PRO-1384).
28807
28817
  *
@@ -28819,11 +28829,12 @@ const CODE_REMEDIATION_KINDS = [
28819
28829
  "secret",
28820
28830
  "sast",
28821
28831
  "iac_misconfig",
28822
- "engineering"
28832
+ "ci",
28833
+ "code_health"
28823
28834
  ];
28824
28835
  /** True when the fix is a code change, so no fixed version is required. */
28825
28836
  function isCodeRemediationKind(kind) {
28826
- return CODE_REMEDIATION_KINDS.includes(kind);
28837
+ return CODE_REMEDIATION_KINDS.includes(currentFindingKind(kind));
28827
28838
  }
28828
28839
  /**
28829
28840
  * Whether a remediation build IN THIS REPOSITORY may act on the finding.
@@ -29124,7 +29135,7 @@ const MAINTENANCE_JUDGED_SOURCES = [
29124
29135
  "base_os",
29125
29136
  "base_image",
29126
29137
  "dockerfile_install",
29127
- ...["ci_analysis"]
29138
+ ...["ci_analysis", "code_health"]
29128
29139
  ];
29129
29140
  [...MAINTENANCE_SCANNERS, ...MAINTENANCE_JUDGED_SOURCES];
29130
29141
  new Set(MAINTENANCE_SCANNERS);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1142",
3
+ "version": "0.37.0-dev.1143",
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",