@taiga-ai/mcp-server 0.36.0-dev.798 → 0.36.0-dev.799

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 +34 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -27220,6 +27220,39 @@ const TOOLSET_OF = {
27220
27220
  taiga_retry_knowledge: "documents"
27221
27221
  };
27222
27222
  /**
27223
+ * Deliver & Operate's tools (PRO-3834): initiatives, plans, runs and the line, fixes, environments, deployments,
27224
+ * monitoring and delivery metrics. An organization whose plan refuses delivery work does not see them, as its web app
27225
+ * shows none of their views; the API says which (`deliveryIncluded` at introspection), so the plan, not the key,
27226
+ * decides. Fixing a finding plans and builds, so it goes with them.
27227
+ */
27228
+ const DELIVERY_TOOLS = /* @__PURE__ */ new Set([
27229
+ "taiga_list_initiatives",
27230
+ "taiga_get_initiative",
27231
+ "taiga_get_plan",
27232
+ "taiga_list_runs",
27233
+ "taiga_get_run",
27234
+ "taiga_get_line",
27235
+ "taiga_queue_initiative",
27236
+ "taiga_move_initiative",
27237
+ "taiga_review_plan",
27238
+ "taiga_plan_again",
27239
+ "taiga_resume_initiative",
27240
+ "taiga_stop_run",
27241
+ "taiga_request_changes",
27242
+ "taiga_request_initiatives",
27243
+ "taiga_fix_finding",
27244
+ "taiga_fix_policy_violation",
27245
+ "taiga_set_auto_build",
27246
+ "taiga_set_auto_merge",
27247
+ "taiga_pause_line",
27248
+ "taiga_create_environment",
27249
+ "taiga_update_environment",
27250
+ "taiga_get_deployments",
27251
+ "taiga_get_monitoring",
27252
+ "taiga_get_delivery_metrics",
27253
+ "taiga_sync_design_tokens"
27254
+ ]);
27255
+ /**
27223
27256
  * TAIGA_TOOLSETS as written: comma-separated names, or "all"; a name it does not know is said, not ignored, and so
27224
27257
  * is a value that names none.
27225
27258
  */
@@ -48908,6 +48941,7 @@ function withStrictInputs(server, client, registered, toolsets, left) {
48908
48941
  const inputs = /* @__PURE__ */ new Map();
48909
48942
  const register = server.registerTool.bind(server);
48910
48943
  server.registerTool = ((name, config, callback) => {
48944
+ if (DELIVERY_TOOLS.has(name) && client.getIntrospection()?.deliveryIncluded === false) return void 0;
48911
48945
  const toolset = TOOLSET_OF[name];
48912
48946
  if (name !== "taiga_whoami") {
48913
48947
  if (!toolset) throw new Error(`Tool ${name}: no toolset in toolsets.ts`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.798",
3
+ "version": "0.36.0-dev.799",
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",