@taiga-ai/mcp-server 0.32.0-dev.673 → 0.32.0-dev.675

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 +15 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -25861,12 +25861,24 @@ const PACKAGE_ROW_FIELDS = [
25861
25861
  "otherPlatformsOnly",
25862
25862
  "licenseSource",
25863
25863
  "licenseGap",
25864
+ "licenseNotes",
25864
25865
  "scopeReason",
25865
25866
  "parentReason",
25866
25867
  "sourcePath",
25867
25868
  "productRepositoryId",
25868
25869
  "detectedAt"
25869
25870
  ];
25871
+ /**
25872
+ * The organization's own package (milestone 2j) reads as its own code: no
25873
+ * licence to decide, so not the licence a public package of that name has.
25874
+ */
25875
+ function ownCode(row) {
25876
+ return row["firstParty"] === true ? {
25877
+ ...row,
25878
+ licenses: [],
25879
+ ownCode: true
25880
+ } : row;
25881
+ }
25870
25882
  const FINDING_ROW_FIELDS = [
25871
25883
  "id",
25872
25884
  "kind",
@@ -26225,7 +26237,7 @@ function registerMaintenanceTools(server, client) {
26225
26237
  }));
26226
26238
  server.registerTool("taiga_list_packages", {
26227
26239
  title: "List the package inventory",
26228
- 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. The first page summarizes licenses against the allowed list. Filter by license, name or repository. NOT_FOUND where the licenses feature is off.",
26240
+ 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. The first page summarizes licenses against the allowed list. Filter by license, name or repository. NOT_FOUND where the licenses feature is off.",
26229
26241
  inputSchema: object({
26230
26242
  productId,
26231
26243
  license: string$2().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX).optional().describe("Only packages carrying exactly this SPDX string"),
@@ -26242,7 +26254,7 @@ function registerMaintenanceTools(server, client) {
26242
26254
  }), params.cursor === void 0 ? client.getLicenseSummary(id) : Promise.resolve(null)]);
26243
26255
  return toolResult({
26244
26256
  ...summary ? { licenses: summary.data } : {},
26245
- ...page(pickFields(result.data, PACKAGE_ROW_FIELDS), result.nextCursor),
26257
+ ...page(pickFields(result.data, PACKAGE_ROW_FIELDS).map(ownCode), result.nextCursor),
26246
26258
  ...typeof result.totalCount === "number" ? { totalCount: result.totalCount } : {}
26247
26259
  });
26248
26260
  }));
@@ -28026,7 +28038,7 @@ function registerBuildTools(server, client) {
28026
28038
  if (!client.hasCapability("products:write")) return;
28027
28039
  server.registerTool("taiga_request_changes", {
28028
28040
  title: "Request changes on a run",
28029
- description: "Tell Taiga what should change in a run, while it builds or once its pull request waits for review, a draft included, such as one Taiga handed back with CI failing or its tests red. The run stops after the step it is building (at once when it is not building one), the planner revises the steps still to build on top of the committed work (adding, editing, dropping, or reverting committed steps exactly), and the run continues with the revised steps; never a new initiative. A request while the run hardens, checks CI or is already being re-planned waits and joins the next re-plan. reviewPlan holds the run until a person has looked at the revised plan (taiga_review_plan approves it or comments to revise it again). A request the planner will not plan, a policy conflict, hands the run back with the reason, still on its original plan. The answer says what happened to it (steer). For a plan that waits for its build to be approved, comment on the plan with taiga_review_plan instead.",
28041
+ description: "Tell Taiga what should change in a run, while it builds or once its pull request waits for review, a draft included, such as one Taiga handed back with CI failing or its tests red. The run stops after the step it is building (at once when it is not building one), the planner revises the steps still to build on top of the committed work (adding, editing, dropping, or reverting committed steps exactly), and the run continues with the revised steps; never a new initiative. A request while the run hardens, checks CI or is already being re-planned waits and joins the next re-plan. reviewPlan holds the run until a person has looked at the revised plan (taiga_review_plan approves it or comments to revise it again). A request the planner will not plan, a policy conflict, hands the run back with the reason, still on its original plan. The answer says what happened to it (steer). A run that fixes a finding, or one over several repositories, is not re-planned: it takes a request only once its pull request waits for review, as a review of that pull request. For a plan that waits for its build to be approved, comment on the plan with taiga_review_plan instead.",
28030
28042
  inputSchema: object({
28031
28043
  runId,
28032
28044
  notes: string$2().trim().min(1).max(CHANGE_REQUEST_MAX_CHARS).describe("What should change, in markdown: a list of changes, questions, or both"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.32.0-dev.673",
3
+ "version": "0.32.0-dev.675",
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",