@taiga-ai/mcp-server 0.36.0-dev.819 → 0.36.0-dev.820

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 +10 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -27042,6 +27042,9 @@ strictObject({ type: productDocumentType }), object({
27042
27042
  }).refine((args) => expiresInFuture(args.ignoreExpiresAt), EXPIRY_IN_FUTURE), strictObject({
27043
27043
  license: string$2().trim().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX),
27044
27044
  findingIds: array(uuid).min(1).optional()
27045
+ }), strictObject({ license: string$2().trim().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX) }), object({
27046
+ backlogItemIds: array(string$2()),
27047
+ findingCount: number$1()
27045
27048
  }), strictObject({ host: string$2().trim().toLowerCase().refine(isProductNetworkHost, { message: "A host is one exact DNS name, such as api.example.com: no wildcard, scheme, port or path" }).refine((host) => !isSharedHostingDomain(host), { message: "Anyone can host content on this domain, so it cannot be listed whole; list the one host you need under it" }) }), strictObject({
27046
27049
  type: _enum(AGENT_JOB_TYPES),
27047
27050
  documentType: string$2().max(30).optional(),
@@ -28211,6 +28214,7 @@ const FINDING_ROW_FIELDS = [
28211
28214
  "kevListedAt",
28212
28215
  "malicious",
28213
28216
  "removal",
28217
+ "replaceable",
28214
28218
  "status",
28215
28219
  "title",
28216
28220
  "ecosystem",
@@ -28339,6 +28343,11 @@ function withFixability(row) {
28339
28343
  fixNote: reason === "not_shipped" ? "No longer applies: the package is only a build for platforms the repository does not deploy to. Nothing to do." : reason === "license_approved" ? "No longer applies: its license is on the organization's approved list. Nothing to do." : reason === "license_undecided" ? "No longer applies: its license can no longer be judged against the list (some of what it can stand for is approved). Nothing to do." : reason === "superseded" ? "Replaced by the repository's finding of its license, which lists every package under it. Nothing to do here." : "Resolved: the sweep no longer reports it. Nothing to do."
28340
28344
  };
28341
28345
  }
28346
+ if (row["kind"] === "license_violation" && row["replaceable"] === true) return {
28347
+ ...row,
28348
+ fixable: true,
28349
+ fixNote: "taiga_fix_finding raises an initiative that replaces the packages under this license with ones whose license, and their own dependencies' licenses, are on the approved list. It never approves the license: that is taiga_change_license, or ignoring the finding."
28350
+ };
28342
28351
  if (row["kind"] === "license_violation") return {
28343
28352
  ...row,
28344
28353
  fixable: false,
@@ -28828,7 +28837,7 @@ function registerMaintenanceTools(server, client) {
28828
28837
  }));
28829
28838
  server.registerTool("taiga_fix_finding", {
28830
28839
  title: "Fix a finding",
28831
- description: "Raise an initiative that fixes a finding; it ends in a pull request, which merges on its own only where the product's auto-merge allows it. wholeGroup: true fixes, in that repository, every open advisory on that package version in one bump, or every place the rule flagged. A malicious package is removed, with every advisory on that version, whatever wholeGroup says. A language runtime moves every file declaring it together, in a container image only to a tag the image has published. Refused when there is no version to move to (fixable: false; for a runtime, also while its image has not published the fix), the code is in a submodule, or a secret is only in history (rotate it outside Taiga).",
28840
+ description: "Raise an initiative that fixes a finding; it ends in a pull request, which merges on its own only where the product's auto-merge allows it. wholeGroup: true fixes, in that repository, every open advisory on that package version in one bump, or every place the rule flagged. A malicious package is removed, with every advisory on that version, whatever wholeGroup says. A license finding the row marks fixable has its packages replaced by ones on the approved list. A language runtime moves every file declaring it together, in a container image only to a tag the image has published. Refused when there is no version to move to (fixable: false; for a runtime, also while its image has not published the fix), the code is in a submodule, or a secret is only in history (rotate it outside Taiga).",
28832
28841
  inputSchema: object({
28833
28842
  productId,
28834
28843
  findingId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.819",
3
+ "version": "0.36.0-dev.820",
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",