@taiga-ai/mcp-server 0.36.0-dev.937 → 0.36.0-dev.939

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 +25 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26236,6 +26236,22 @@ Object.freeze({
26236
26236
  gracePeriodDays: 0,
26237
26237
  requiredSince: null
26238
26238
  });
26239
+ //#endregion
26240
+ //#region ../../packages/types/dist/notifications.js
26241
+ /**
26242
+ * What the contact is FOR, in the AWS alternate-contacts sense.
26243
+ *
26244
+ * Only `default` is populated today. The column exists from day one anyway,
26245
+ * because retrofitting a type onto rows already in the wild means guessing what
26246
+ * each one was for. `security`, `operations` and `billing` become meaningful
26247
+ * once there are event classes to route to them.
26248
+ */
26249
+ const NOTIFICATION_CONTACT_TYPES = [
26250
+ "default",
26251
+ "security",
26252
+ "operations",
26253
+ "billing"
26254
+ ];
26239
26255
  [...TURN_EVENT_TRIGGERS];
26240
26256
  /** Longest request for changes from Taiga (PRO-3035): about four pages of prose. */
26241
26257
  const CHANGE_REQUEST_MAX_CHARS = 1e4;
@@ -27194,6 +27210,14 @@ function isSharedHostingDomain(host) {
27194
27210
  return SHARED_HOSTING_DOMAINS.includes(host);
27195
27211
  }
27196
27212
  strictObject({});
27213
+ strictObject({
27214
+ address: string$2().trim().toLowerCase().email("Enter a valid email address").max(320),
27215
+ contactType: _enum(NOTIFICATION_CONTACT_TYPES).optional()
27216
+ });
27217
+ object({
27218
+ verificationSent: boolean(),
27219
+ verificationError: string$2().nullable()
27220
+ });
27197
27221
  const uuid = string$2().uuid();
27198
27222
  const sha256 = string$2().regex(/^[0-9a-f]{64}$/, "sha256 must be 64 lowercase hex characters");
27199
27223
  object({ jobId: string$2() });
@@ -28406,7 +28430,7 @@ function inProductWords(value) {
28406
28430
  }
28407
28431
  /** The API's 404 sentence in the product's words: "Backlog item not found" is an initiative not found. */
28408
28432
  function inProductWording(said) {
28409
- return said.replace(/^Backlog item not found/i, "Initiative not found").replace(/^Build run step not found/i, "Run step not found").replace(/^Build run not found/i, "Run not found").replace(/^Custom document not found/i, "Knowledge file not found").replace(/^(Branch "[^"]*" does not exist in \S+?)\.?$/i, "$1. taiga_list_repository_branches lists the branches it has.").replace(/^This product already has a repository\. Change it instead of linking another\./i, "This product already has a repository. Pass replacesLinkId to swap it in one step, or taiga_unlink_repository first (taiga_list_product_repositories gives its ID).");
28433
+ return said.replace(/^Backlog item not found/i, "Initiative not found").replace(/^Build run step not found/i, "Run step not found").replace(/^Build run not found/i, "Run not found").replace(/^Custom document not found/i, "Knowledge file not found").replace(/^(Branch "[^"]*" does not exist in \S+?)\.?$/i, "$1. taiga_list_repository_branches lists the branches it has.");
28410
28434
  }
28411
28435
  /**
28412
28436
  * A float without its binary noise: six significant digits. Delivery metrics
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.937",
3
+ "version": "0.36.0-dev.939",
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",