@taiga-ai/mcp-server 0.36.0-dev.890 → 0.36.0-dev.893

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 +21 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -25478,6 +25478,7 @@ discriminatedUnion("kind", [
25478
25478
  })).max(20),
25479
25479
  moreFailed: number$1().int().min(0).optional(),
25480
25480
  observedAt: optionalMoment,
25481
+ repository: string$2().min(1).max(255).optional(),
25481
25482
  stepId: optionalUuid
25482
25483
  }),
25483
25484
  object({
@@ -26220,12 +26221,6 @@ function isFixableFinding(finding) {
26220
26221
  if (finding.kind === "vulnerable_dependency" && isMaliciousPackageFinding(finding)) return true;
26221
26222
  return isCodeRemediationKind(finding.kind) || !!finding.recommendedVersion;
26222
26223
  }
26223
- /**
26224
- * Whether moving the base images a finding names to the builds their tags
26225
- * name now removes its advisory (PRO-1728): every base it names moves and the
26226
- * sweep found the advisory gone from each newer build
26227
- * (`data.baseImage.bases[].removed`), as the move itself requires.
26228
- */
26229
26224
  function baseImageMoveRemoves(data) {
26230
26225
  const baseImage = typeof data === "object" && data !== null ? data.baseImage : null;
26231
26226
  const bases = typeof baseImage === "object" && baseImage !== null ? baseImage.bases : null;
@@ -28384,6 +28379,7 @@ const FINDING_ROW_FIELDS = [
28384
28379
  "kevListedAt",
28385
28380
  "malicious",
28386
28381
  "baseMove",
28382
+ "baseImageMove",
28387
28383
  "removal",
28388
28384
  "replaceable",
28389
28385
  "status",
@@ -28688,11 +28684,26 @@ const SWEEP_FIELDS = [
28688
28684
  */
28689
28685
  const BASE_IMAGES_SHOWN = 10;
28690
28686
  function notReadBases(sweep) {
28691
- const notRead = (sweep.baseImages ?? []).filter((b) => b.state === "not_read");
28692
- if (notRead.length === 0) return {};
28687
+ const bases = sweep.baseImages ?? [];
28688
+ const notRead = bases.filter((b) => b.state === "not_read" || b.packages?.state === "not_read");
28689
+ const read = bases.flatMap((b) => b.packages?.state === "read" ? [{
28690
+ image: b.image,
28691
+ path: b.path,
28692
+ os: b.os ?? null,
28693
+ vulnerabilities: b.packages.vulnerabilities,
28694
+ removedByMoving: b.packages.candidate?.removes ?? 0,
28695
+ noDistroFix: b.packages.noDistroFix ?? null,
28696
+ movesTo: b.packages.candidate?.image ?? null
28697
+ }] : []);
28693
28698
  return {
28694
- baseImagesNotRead: notRead.slice(0, BASE_IMAGES_SHOWN),
28695
- ...notRead.length > BASE_IMAGES_SHOWN ? { baseImagesNotReadCount: notRead.length } : {}
28699
+ ...read.length > 0 ? {
28700
+ baseImages: read.slice(0, BASE_IMAGES_SHOWN),
28701
+ ...read.length > BASE_IMAGES_SHOWN ? { baseImagesCount: read.length } : {}
28702
+ } : {},
28703
+ ...notRead.length > 0 ? {
28704
+ baseImagesNotRead: notRead.slice(0, BASE_IMAGES_SHOWN),
28705
+ ...notRead.length > BASE_IMAGES_SHOWN ? { baseImagesNotReadCount: notRead.length } : {}
28706
+ } : {}
28696
28707
  };
28697
28708
  }
28698
28709
  /** A policy violation in a list: what it is, how bad, and what is being done about it. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.890",
3
+ "version": "0.36.0-dev.893",
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",