@taiga-ai/mcp-server 0.36.0-dev.816 → 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 +30 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24414,14 +24414,26 @@ const EU_COUNTRIES = [
24414
24414
  }
24415
24415
  ];
24416
24416
  /**
24417
- * EEA countries outside the EU. Norway only: Iceland and Liechtenstein have
24418
- * no overlay and no customer asking for one.
24419
- */
24420
- const EEA_COUNTRIES = [{
24421
- code: "NO",
24422
- name: "Norway"
24423
- }];
24424
- [...EU_COUNTRIES, ...EEA_COUNTRIES];
24417
+ * EEA countries outside the EU, all three, so {@link COUNTRIES} covers the
24418
+ * whole EU and EEA (PRO-3791). Only Norway has a country layer; Iceland and
24419
+ * Liechtenstein get the `eea` region layer alone, and neither is offered as a
24420
+ * Taiga tenant country ({@link offeredCountries}).
24421
+ */
24422
+ const EEA_COUNTRIES = [
24423
+ {
24424
+ code: "NO",
24425
+ name: "Norway"
24426
+ },
24427
+ {
24428
+ code: "IS",
24429
+ name: "Iceland"
24430
+ },
24431
+ {
24432
+ code: "LI",
24433
+ name: "Liechtenstein"
24434
+ }
24435
+ ];
24436
+ [...EU_COUNTRIES, ...EEA_COUNTRIES].map((c) => c.code);
24425
24437
  /** Countries available during closed beta. Expand as we open new markets. */
24426
24438
  const BETA_COUNTRIES = ["FI"];
24427
24439
  EU_COUNTRIES.filter((c) => BETA_COUNTRIES.includes(c.code));
@@ -27030,6 +27042,9 @@ strictObject({ type: productDocumentType }), object({
27030
27042
  }).refine((args) => expiresInFuture(args.ignoreExpiresAt), EXPIRY_IN_FUTURE), strictObject({
27031
27043
  license: string$2().trim().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX),
27032
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()
27033
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({
27034
27049
  type: _enum(AGENT_JOB_TYPES),
27035
27050
  documentType: string$2().max(30).optional(),
@@ -28199,6 +28214,7 @@ const FINDING_ROW_FIELDS = [
28199
28214
  "kevListedAt",
28200
28215
  "malicious",
28201
28216
  "removal",
28217
+ "replaceable",
28202
28218
  "status",
28203
28219
  "title",
28204
28220
  "ecosystem",
@@ -28327,6 +28343,11 @@ function withFixability(row) {
28327
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."
28328
28344
  };
28329
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
+ };
28330
28351
  if (row["kind"] === "license_violation") return {
28331
28352
  ...row,
28332
28353
  fixable: false,
@@ -28816,7 +28837,7 @@ function registerMaintenanceTools(server, client) {
28816
28837
  }));
28817
28838
  server.registerTool("taiga_fix_finding", {
28818
28839
  title: "Fix a finding",
28819
- 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).",
28820
28841
  inputSchema: object({
28821
28842
  productId,
28822
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.816",
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",