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

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 +36 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26852,12 +26852,12 @@ strictObject({ type: productDocumentType }), object({
26852
26852
  enforcementLevel: string$2().nullable()
26853
26853
  }).nullable()
26854
26854
  }), strictObject({
26855
- license: string$2().trim().min(1).max(200),
26855
+ license: string$2().trim().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX),
26856
26856
  ignoreReason: _enum(MAINTENANCE_IGNORE_REASONS),
26857
26857
  ignoreNote,
26858
26858
  ignoreExpiresAt
26859
26859
  }).refine((args) => expiresInFuture(args.ignoreExpiresAt), EXPIRY_IN_FUTURE), strictObject({
26860
- license: string$2().trim().min(1).max(200),
26860
+ license: string$2().trim().min(1).max(MAINTENANCE_LICENSE_FILTER_MAX),
26861
26861
  findingIds: array(uuid).min(1).optional()
26862
26862
  }), 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({
26863
26863
  type: _enum(AGENT_JOB_TYPES),
@@ -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.801",
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",