@taiga-ai/mcp-server 0.38.0-dev.1201 → 0.38.0-dev.1202
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 +56 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30110,6 +30110,34 @@ object({
|
|
|
30110
30110
|
const EXCEL_MAX_COLUMN = 16384;
|
|
30111
30111
|
const EXCEL_MAX_ROW = 1048576;
|
|
30112
30112
|
//#endregion
|
|
30113
|
+
//#region ../../packages/types/dist/trackers.js
|
|
30114
|
+
/**
|
|
30115
|
+
* Ticket trackers (PRO-4954): the systems outside Taiga where an organization
|
|
30116
|
+
* keeps its requests, and what Taiga reads from and writes to them.
|
|
30117
|
+
*
|
|
30118
|
+
* A tracker is reached through one port with an adapter per provider, as a
|
|
30119
|
+
* forge is (`forge.ts`). This file is the part both ends share: the providers,
|
|
30120
|
+
* what each can do, and the one shape a ticket takes whichever tracker it
|
|
30121
|
+
* came from.
|
|
30122
|
+
*/
|
|
30123
|
+
const TRACKER_PROVIDERS = [
|
|
30124
|
+
"jira",
|
|
30125
|
+
"servicenow",
|
|
30126
|
+
"linear"
|
|
30127
|
+
];
|
|
30128
|
+
/** What a connection's last check found. `auth_failed` stops further calls until it is checked again. */
|
|
30129
|
+
const TRACKER_CONNECTION_STATUSES = [
|
|
30130
|
+
"valid",
|
|
30131
|
+
"auth_failed",
|
|
30132
|
+
"unreachable"
|
|
30133
|
+
];
|
|
30134
|
+
/** What kind of place a provider files tickets in, in its own word. */
|
|
30135
|
+
const TRACKER_PLACE_KINDS = [
|
|
30136
|
+
"project",
|
|
30137
|
+
"table",
|
|
30138
|
+
"team"
|
|
30139
|
+
];
|
|
30140
|
+
//#endregion
|
|
30113
30141
|
//#region ../../packages/types/dist/product-network.js
|
|
30114
30142
|
/**
|
|
30115
30143
|
* Where an engineer build's sandbox may connect to (PRO-2793, part of
|
|
@@ -30864,6 +30892,28 @@ const gitlabValidationReport = object({
|
|
|
30864
30892
|
warnings: array(string$2())
|
|
30865
30893
|
});
|
|
30866
30894
|
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");
|
|
30895
|
+
/** The secret half of a tracker credential: an API token, a client secret or an API key. */
|
|
30896
|
+
const trackerSecret = string$2().trim().min(8, "That does not look like a tracker credential").max(2048).regex(/^[\x21-\x7e]+$/, "That does not look like a tracker credential");
|
|
30897
|
+
/** The account half, where the provider has one: an email address or a client id. */
|
|
30898
|
+
const trackerAccount = string$2().trim().min(1).max(320);
|
|
30899
|
+
object({
|
|
30900
|
+
status: _enum(TRACKER_CONNECTION_STATUSES),
|
|
30901
|
+
detail: string$2().nullable(),
|
|
30902
|
+
lastValidatedAt: string$2()
|
|
30903
|
+
});
|
|
30904
|
+
strictObject({
|
|
30905
|
+
displayName: string$2().trim().min(1).max(255).optional(),
|
|
30906
|
+
account: trackerAccount.optional(),
|
|
30907
|
+
secret: trackerSecret.optional()
|
|
30908
|
+
}), strictObject({ search: string$2().trim().max(100).optional() }), object({
|
|
30909
|
+
places: array(object({
|
|
30910
|
+
id: string$2(),
|
|
30911
|
+
key: string$2().nullable(),
|
|
30912
|
+
name: string$2(),
|
|
30913
|
+
kind: _enum(TRACKER_PLACE_KINDS)
|
|
30914
|
+
})).nullable(),
|
|
30915
|
+
truncated: boolean()
|
|
30916
|
+
});
|
|
30867
30917
|
strictObject({
|
|
30868
30918
|
displayName: string$2().trim().min(1).max(255).optional(),
|
|
30869
30919
|
token: azureDevopsToken.optional(),
|
|
@@ -31180,6 +31230,12 @@ strictObject({
|
|
|
31180
31230
|
baseUrl: string$2().trim().min(1).max(512),
|
|
31181
31231
|
token: azureDevopsToken,
|
|
31182
31232
|
access: _enum(FORGE_ACCESS).optional()
|
|
31233
|
+
}), object({ connectionId: uuid }), strictObject({
|
|
31234
|
+
provider: _enum(TRACKER_PROVIDERS),
|
|
31235
|
+
displayName: string$2().trim().min(1).max(255),
|
|
31236
|
+
baseUrl: string$2().trim().min(1).max(480).optional(),
|
|
31237
|
+
account: trackerAccount.optional(),
|
|
31238
|
+
secret: trackerSecret
|
|
31183
31239
|
}), object({ connectionId: uuid }), strictObject({
|
|
31184
31240
|
displayName: string$2().min(1).max(255),
|
|
31185
31241
|
ecosystem: _enum(REGISTRY_ECOSYSTEMS).optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.38.0-dev.
|
|
3
|
+
"version": "0.38.0-dev.1202",
|
|
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",
|