@taiga-ai/mcp-server 0.37.0-dev.1104 → 0.37.0-dev.1106

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 +38 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -25878,6 +25878,13 @@ const FORGE_PROVIDERS = [
25878
25878
  "azure_devops"
25879
25879
  ];
25880
25880
  /**
25881
+ * What a caller does to a repository (PRO-4257): reads it, or changes it.
25882
+ * A connection is granted one of them (a read-only GitHub App installation, a
25883
+ * read-scoped GitLab token) and a session is opened for one, so a plan that
25884
+ * only analyses code can be reached through a connection that cannot write.
25885
+ */
25886
+ const FORGE_ACCESS = ["read", "write"];
25887
+ /**
25881
25888
  * What each forge's adapter can do (PRO-3220): the abilities it declares, in
25882
25889
  * one place, so the API's adapters and every reader of a forge (the shared
25883
25890
  * lifecycle, the web) answer "can Taiga do this here" the same way. An
@@ -27529,12 +27536,6 @@ const REGISTRY_VENDORS = [
27529
27536
  const AWS_ROLE_ARN_PATTERN = /^arn:aws:iam::\d{12}:role\/[\w+=,.@/-]{1,512}$/;
27530
27537
  //#endregion
27531
27538
  //#region ../../packages/types/dist/gitlab.js
27532
- /**
27533
- * GitLab connections (PRO-3096, P-PRO-150): the shared request/response
27534
- * contract of `/v1/gitlab/connections`. A connection is one GitLab host
27535
- * (GitLab.com, a self-managed instance or GitLab Dedicated) with a bot token
27536
- * the tenant pasted. The token is write-only and appears in no response.
27537
- */
27538
27539
  const GITLAB_CONNECTION_STATUSES = [
27539
27540
  "valid",
27540
27541
  "auth_failed",
@@ -29423,6 +29424,32 @@ const gitlabValidationReport = object({
29423
29424
  pushableProjectCount: number$1().int().nullable(),
29424
29425
  warnings: array(string$2())
29425
29426
  });
29427
+ const azureDevopsToken = string$2().trim().min(20, "That does not look like an Azure DevOps personal access token").max(1024).regex(/^[A-Za-z0-9_.-]+$/, "That does not look like an Azure DevOps personal access token");
29428
+ strictObject({
29429
+ displayName: string$2().trim().min(1).max(255).optional(),
29430
+ token: azureDevopsToken.optional(),
29431
+ access: _enum(FORGE_ACCESS).optional()
29432
+ }), object({
29433
+ status: _enum([
29434
+ "valid",
29435
+ "auth_failed",
29436
+ "unreachable"
29437
+ ]),
29438
+ detail: string$2().nullable(),
29439
+ lastValidatedAt: string$2()
29440
+ }), strictObject({
29441
+ search: string$2().trim().max(100).optional(),
29442
+ cursor: string$2().regex(/^\d{1,7}$/).optional()
29443
+ }), object({
29444
+ repositories: array(object({
29445
+ id: guid(),
29446
+ projectId: guid(),
29447
+ fullName: string$2(),
29448
+ webUrl: string$2(),
29449
+ defaultBranch: string$2().nullable()
29450
+ })).nullable(),
29451
+ nextCursor: string$2().nullable()
29452
+ });
29426
29453
  strictObject({
29427
29454
  displayName: string$2().trim().min(1).max(255).optional(),
29428
29455
  token: gitlabToken.optional(),
@@ -29586,6 +29613,11 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29586
29613
  connectionId: uuid,
29587
29614
  validation: gitlabValidationReport
29588
29615
  }), strictObject({
29616
+ displayName: string$2().trim().min(1).max(255),
29617
+ baseUrl: string$2().trim().min(1).max(512),
29618
+ token: azureDevopsToken,
29619
+ access: _enum(FORGE_ACCESS).optional()
29620
+ }), object({ connectionId: uuid }), strictObject({
29589
29621
  displayName: string$2().min(1).max(255),
29590
29622
  ecosystem: _enum(REGISTRY_ECOSYSTEMS).optional(),
29591
29623
  vendor: _enum(REGISTRY_VENDORS),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1104",
3
+ "version": "0.37.0-dev.1106",
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",