@taiga-ai/mcp-server 0.37.0-dev.954 → 0.37.0-dev.957

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 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -35035,10 +35035,11 @@ function registerMaintenanceTools(server, client) {
35035
35035
  }));
35036
35036
  server.registerTool("taiga_list_packages", {
35037
35037
  title: "List the package inventory",
35038
- description: "List every package a product's code uses, with version, license, whether it is direct or dev only, and what pulls a transitive one in; ownCode marks the organization's own packages, approved as its own code. allowed says a person allowed the package in this product, and fix how its own replacement stands. The first page summarizes licenses against the allowed list. Filter by license, name or repository. NOT_FOUND where the licenses feature is off.",
35038
+ description: "List every package a product's code uses, with version, license, whether it is direct or dev only, and what pulls a transitive one in; ownCode marks the organization's own packages, approved as its own code. allowed says a person allowed the package in this product, and fix how its own replacement stands. The first page summarizes licenses against the allowed list. Filter by license (licensePage for every string a license decision holds), name or repository. NOT_FOUND where the licenses feature is off.",
35039
35039
  inputSchema: object({
35040
35040
  productId,
35041
35041
  license: string$2().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX).optional().describe("Only packages carrying exactly this SPDX string"),
35042
+ licensePage: string$2().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX).optional().describe("Only the packages of this license as a decision names it: every string decided on it, as MPL-2.0 holds MIT AND MPL-2.0. The packages taiga_replace_license_package and taiga_allow_license_package act on under it"),
35042
35043
  search: string$2().min(1).max(255).optional().describe("Case-insensitive substring of the package name"),
35043
35044
  linkId: idInput("repository link", "taiga_list_product_repositories gives it", "only this repository").optional(),
35044
35045
  ...pagination
@@ -36751,13 +36752,14 @@ function changeRequestRef(provider, number) {
36751
36752
  }
36752
36753
  /** What a person does about a handback, by its reason, as the web's handback detail says it, on the run's forge. */
36753
36754
  function handbackNextStep(escalation, provider = null) {
36754
- const terms = FORGE_TERMS[forgeOf({ provider }) ?? "github"];
36755
- const where = terms.name;
36755
+ const forge = forgeOf({ provider });
36756
+ const terms = FORGE_TERMS[forge ?? "github"];
36757
+ const where = forge ? ` on ${terms.name}` : "";
36756
36758
  const changeRequest = terms.changeRequest;
36757
36759
  const reason = escalation && typeof escalation === "object" ? escalation.reason : null;
36758
- if (reason === "check_weakened") return `review that change on ${where} before merging`;
36759
- if (reason === "ci_never_settled") return `look at what is still running or queued in CI on ${where}, then review the ${changeRequest}`;
36760
- return `fix it by hand, or review the ${changeRequest} on ${where}, which hands it back to the agent`;
36760
+ if (reason === "check_weakened") return `review that change${where} before merging`;
36761
+ if (reason === "ci_never_settled") return `look at what is still running or queued in CI${where}, then review the ${changeRequest}`;
36762
+ return `fix it by hand, or review the ${changeRequest}${where}, which hands it back to the agent`;
36761
36763
  }
36762
36764
  /** The web's words for why Taiga keeps a pull request a draft. */
36763
36765
  const READY_BLOCKER_SAID = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.954",
3
+ "version": "0.37.0-dev.957",
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",