@taiga-ai/mcp-server 0.26.0-dev.523 → 0.26.0-dev.525

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 +8 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2151,6 +2151,13 @@ z.object({
2151
2151
  historyOnly: d.in_tree === false,
2152
2152
  commit: d.commit
2153
2153
  }));
2154
+ /**
2155
+ * The longest licence string the package list filters by (PRO-2920). The
2156
+ * inventory keeps every expression whole whatever its length; this bounds only
2157
+ * the query string, far above any expression seen. A longer one is listed in
2158
+ * the summary and the SBOM, and cannot be opened as a filter.
2159
+ */
2160
+ const MAINTENANCE_LICENSE_FILTER_MAX = 4096;
2154
2161
  //#endregion
2155
2162
  //#region ../../packages/types/dist/design-tokens.js
2156
2163
  /**
@@ -5776,7 +5783,7 @@ function registerMaintenanceTools(server, client) {
5776
5783
  description: "Every package a product's repositories resolve, vulnerable or not, as the latest sweep read it: name, version, ecosystem, SPDX licenses, scope (dev / runtime / unknown), relation (direct / transitive / unknown) and the lockfile. The first page opens with licenses: each license string across the inventory, how many packages carry it and its standing against the allowlist (allowed, not_allowed, unknown), plus the allowlist and when each repository was last inventoried. Filter by one license string (UNKNOWN for the ones the data source could not name), a name substring or a repository. A license outside the allowlist is also a license_violation finding in taiga_list_findings. Where the licenses feature is not enabled the product answers NOT_FOUND. taiga_get_sbom downloads one repository as CycloneDX.",
5777
5784
  inputSchema: z.object({
5778
5785
  productId,
5779
- license: z.string().min(1).max(4096).optional().describe("Only packages carrying exactly this SPDX string"),
5786
+ license: z.string().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX).optional().describe("Only packages carrying exactly this SPDX string"),
5780
5787
  search: z.string().min(1).max(255).optional().describe("Case-insensitive substring of the package name"),
5781
5788
  linkId: idInput("repository link", "taiga_list_product_repositories gives it", "only this repository").optional(),
5782
5789
  ...pagination
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.26.0-dev.523",
3
+ "version": "0.26.0-dev.525",
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
  "type": "module",