@taiga-ai/mcp-server 0.36.0-dev.903 → 0.36.0-dev.905

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 +45 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26118,6 +26118,19 @@ const REGISTRY_VENDORS = [
26118
26118
  /** An IAM role ARN, as the CodeArtifact credential takes it. */
26119
26119
  const AWS_ROLE_ARN_PATTERN = /^arn:aws:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$/;
26120
26120
  //#endregion
26121
+ //#region ../../packages/types/dist/gitlab.js
26122
+ /**
26123
+ * GitLab connections (PRO-3096, P-PRO-150): the shared request/response
26124
+ * contract of `/v1/gitlab/connections`. A connection is one GitLab host
26125
+ * (GitLab.com, a self-managed instance or GitLab Dedicated) with a bot token
26126
+ * the tenant pasted. The token is write-only and appears in no response.
26127
+ */
26128
+ const GITLAB_CONNECTION_STATUSES = [
26129
+ "valid",
26130
+ "auth_failed",
26131
+ "unreachable"
26132
+ ];
26133
+ //#endregion
26121
26134
  //#region ../../packages/types/dist/environments.js
26122
26135
  const ENVIRONMENT_TYPES = [
26123
26136
  "development",
@@ -27351,6 +27364,24 @@ strictObject({
27351
27364
  credential: registryCredential.optional(),
27352
27365
  testPackage: registryTestPackage.nullable().optional()
27353
27366
  });
27367
+ /** A GitLab bot token, as the route takes one. */
27368
+ const gitlabToken = string$2().trim().min(20, "That does not look like a GitLab access token").max(1024).regex(/^[A-Za-z0-9_.-]+$/, "That does not look like a GitLab access token");
27369
+ /** A private CA as PEM certificates; the service parses it. */
27370
+ const gitlabCaBundle = string$2().min(1).max(65536);
27371
+ /** What a connect or a token change learned, beyond the connection's record. */
27372
+ const gitlabValidationReport = object({
27373
+ pushableProjectCount: number$1().int().nullable(),
27374
+ warnings: array(string$2())
27375
+ });
27376
+ strictObject({
27377
+ displayName: string$2().trim().min(1).max(255).optional(),
27378
+ token: gitlabToken.optional(),
27379
+ caBundlePem: gitlabCaBundle.nullable().optional()
27380
+ }), gitlabValidationReport.optional(), object({
27381
+ status: _enum(GITLAB_CONNECTION_STATUSES),
27382
+ lastValidatedAt: string$2(),
27383
+ detail: string$2().nullable()
27384
+ }), object({ finished: boolean() });
27354
27385
  object({
27355
27386
  outcome: _enum([
27356
27387
  "uninstalled",
@@ -27360,6 +27391,14 @@ object({
27360
27391
  manageUrl: string$2().nullable()
27361
27392
  });
27362
27393
  strictObject({
27394
+ displayName: string$2().trim().min(1).max(255),
27395
+ baseUrl: string$2().trim().min(1).max(480),
27396
+ token: gitlabToken,
27397
+ caBundlePem: gitlabCaBundle.nullable().optional()
27398
+ }), object({
27399
+ connectionId: uuid,
27400
+ validation: gitlabValidationReport
27401
+ }), strictObject({
27363
27402
  displayName: string$2().min(1).max(255),
27364
27403
  ecosystem: _enum(REGISTRY_ECOSYSTEMS).optional(),
27365
27404
  vendor: _enum(REGISTRY_VENDORS),
@@ -27427,6 +27466,12 @@ strictObject({
27427
27466
  strictObject({ kind: _enum(["sbom", "notices"]) }), object({
27428
27467
  url: string$2().url().nullable(),
27429
27468
  expiresAt: string$2().nullable()
27469
+ }), object({
27470
+ branches: array(object({
27471
+ name: string$2(),
27472
+ protected: boolean()
27473
+ })).nullable(),
27474
+ truncated: boolean()
27430
27475
  });
27431
27476
  strictObject({
27432
27477
  ignoreReason: _enum(MAINTENANCE_IGNORE_REASONS),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.903",
3
+ "version": "0.36.0-dev.905",
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",