@taiga-ai/mcp-server 0.37.0-dev.944 → 0.37.0-dev.946
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.
- package/dist/index.js +42 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1075,7 +1075,7 @@ function nanoidOfLength(length) {
|
|
|
1075
1075
|
/** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
|
|
1076
1076
|
const duration = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/;
|
|
1077
1077
|
/** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
|
|
1078
|
-
const guid = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
|
|
1078
|
+
const guid$1 = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/;
|
|
1079
1079
|
/** Returns a regex for validating an RFC 9562/4122 UUID.
|
|
1080
1080
|
*
|
|
1081
1081
|
* @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
|
|
@@ -1603,7 +1603,7 @@ const $ZodStringFormat = /*@__PURE__*/ $constructor("$ZodStringFormat", (inst, d
|
|
|
1603
1603
|
$ZodString.init(inst, def);
|
|
1604
1604
|
});
|
|
1605
1605
|
const $ZodGUID = /*@__PURE__*/ $constructor("$ZodGUID", (inst, def) => {
|
|
1606
|
-
def.pattern ?? (def.pattern = guid);
|
|
1606
|
+
def.pattern ?? (def.pattern = guid$1);
|
|
1607
1607
|
$ZodStringFormat.init(inst, def);
|
|
1608
1608
|
});
|
|
1609
1609
|
const $ZodUUID = /*@__PURE__*/ $constructor("$ZodUUID", (inst, def) => {
|
|
@@ -5400,6 +5400,9 @@ const ZodGUID = /*@__PURE__*/ $constructor("ZodGUID", (inst, def) => {
|
|
|
5400
5400
|
$ZodGUID.init(inst, def);
|
|
5401
5401
|
ZodStringFormat.init(inst, def);
|
|
5402
5402
|
});
|
|
5403
|
+
function guid(params) {
|
|
5404
|
+
return /* @__PURE__ */ _guid(ZodGUID, params);
|
|
5405
|
+
}
|
|
5403
5406
|
const ZodUUID = /*@__PURE__*/ $constructor("ZodUUID", (inst, def) => {
|
|
5404
5407
|
$ZodUUID.init(inst, def);
|
|
5405
5408
|
ZodStringFormat.init(inst, def);
|
|
@@ -24486,7 +24489,8 @@ const LEGACY_FACTORY_INSTRUCTIONS_TYPE = "team_instructions";
|
|
|
24486
24489
|
const FORGE_PROVIDERS = [
|
|
24487
24490
|
"github",
|
|
24488
24491
|
"gitlab",
|
|
24489
|
-
"bitbucket"
|
|
24492
|
+
"bitbucket",
|
|
24493
|
+
"azure_devops"
|
|
24490
24494
|
];
|
|
24491
24495
|
/**
|
|
24492
24496
|
* What each forge's adapter can do (PRO-3220): the abilities it declares, in
|
|
@@ -24529,7 +24533,23 @@ const FORGE_SUPPORT = {
|
|
|
24529
24533
|
"repository.content.read",
|
|
24530
24534
|
"ci.commit_status"
|
|
24531
24535
|
],
|
|
24532
|
-
bitbucket: []
|
|
24536
|
+
bitbucket: [],
|
|
24537
|
+
azure_devops: [
|
|
24538
|
+
"change_request.read",
|
|
24539
|
+
"change_request.open",
|
|
24540
|
+
"change_request.close",
|
|
24541
|
+
"change_request.mark_ready",
|
|
24542
|
+
"change_request.comment",
|
|
24543
|
+
"change_request.merge",
|
|
24544
|
+
"review.read",
|
|
24545
|
+
"review.respond",
|
|
24546
|
+
"repository.branches.list",
|
|
24547
|
+
"repository.branches.read",
|
|
24548
|
+
"repository.history",
|
|
24549
|
+
"repository.compare",
|
|
24550
|
+
"repository.content.read",
|
|
24551
|
+
"ci.commit_status"
|
|
24552
|
+
]
|
|
24533
24553
|
};
|
|
24534
24554
|
/**
|
|
24535
24555
|
* Whether a repository link under this forge may name a GitHub App
|
|
@@ -24541,6 +24561,15 @@ function linksGitHubAppRepositories(provider) {
|
|
|
24541
24561
|
return provider === "github";
|
|
24542
24562
|
}
|
|
24543
24563
|
const FORGE_TERMS = {
|
|
24564
|
+
azure_devops: {
|
|
24565
|
+
name: "Azure DevOps",
|
|
24566
|
+
changeRequest: "pull request",
|
|
24567
|
+
changeRequests: "pull requests",
|
|
24568
|
+
changeRequestShort: "PR",
|
|
24569
|
+
refSigil: "#",
|
|
24570
|
+
ciName: "Azure Pipelines",
|
|
24571
|
+
ciSecretStore: "pipeline variables"
|
|
24572
|
+
},
|
|
24544
24573
|
github: {
|
|
24545
24574
|
name: "GitHub",
|
|
24546
24575
|
changeRequest: "pull request",
|
|
@@ -25297,6 +25326,7 @@ const REVIEW_ESCALATION_REASONS = [
|
|
|
25297
25326
|
"review_bot_cap",
|
|
25298
25327
|
"ci_never_settled",
|
|
25299
25328
|
"review_fix_stalled",
|
|
25329
|
+
"review_input_unavailable",
|
|
25300
25330
|
"changes_not_planned"
|
|
25301
25331
|
];
|
|
25302
25332
|
/** One failing check as stored: the name is required, and the link survives only as http(s). */
|
|
@@ -27432,13 +27462,20 @@ strictObject({ type: productDocumentType }), object({
|
|
|
27432
27462
|
/** A GitLab project, by the connection whose bot reaches it and GitLab's numeric id (P-PRO-150). */
|
|
27433
27463
|
gitlabConnectionId: uuid.optional(),
|
|
27434
27464
|
gitlabProjectId: number$1().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
|
|
27465
|
+
azureDevopsConnectionId: uuid.optional(),
|
|
27466
|
+
azureDevopsProjectId: guid().optional(),
|
|
27467
|
+
azureDevopsRepositoryId: guid().optional(),
|
|
27435
27468
|
provider: _enum(VCS_PROVIDERS).optional().default("github"),
|
|
27436
27469
|
repositoryName: string$2().min(1).max(512).optional(),
|
|
27437
27470
|
repositoryUrl: string$2().url().max(2048).optional(),
|
|
27438
27471
|
repositoryDefaultBranch: string$2().max(255).optional().default("main"),
|
|
27439
27472
|
/** The link this one replaces, retired in the same transaction (PRO-2522). */
|
|
27440
27473
|
replacesRepositoryId: uuid.optional()
|
|
27441
|
-
}).refine((b) => b.gitlabConnectionId === void 0 === (b.gitlabProjectId === void 0), { message: "gitlabConnectionId and gitlabProjectId go together" }).refine((b) =>
|
|
27474
|
+
}).refine((b) => b.gitlabConnectionId === void 0 === (b.gitlabProjectId === void 0), { message: "gitlabConnectionId and gitlabProjectId go together" }).refine((b) => [
|
|
27475
|
+
b.azureDevopsConnectionId,
|
|
27476
|
+
b.azureDevopsProjectId,
|
|
27477
|
+
b.azureDevopsRepositoryId
|
|
27478
|
+
].filter(Boolean).length % 3 === 0, { message: "Azure DevOps requires a connection, project and repository ID" }).refine((b) => !b.azureDevopsConnectionId || !b.gitlabConnectionId && !b.githubRepositoryId, { message: "Choose one repository provider" }).refine((b) => b.provider !== "azure_devops" || !!b.azureDevopsConnectionId, { message: "Choose an Azure repository through a connection" }).refine((b) => b.gitlabConnectionId === void 0 || b.githubRepositoryId === void 0, { message: "A link is to a GitHub repository or a GitLab project, not both" }).refine((b) => b.githubRepositoryId === void 0 || linksGitHubAppRepositories(b.provider), { message: "githubRepositoryId is a GitHub repository; provider must be github" }), strictObject({
|
|
27442
27479
|
repositoryId: uuid,
|
|
27443
27480
|
baseBranch: string$2().trim().min(1).max(255).nullable()
|
|
27444
27481
|
}), object({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.37.0-dev.
|
|
3
|
+
"version": "0.37.0-dev.946",
|
|
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",
|