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

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