@taiga-ai/mcp-server 0.38.0-dev.1201 → 0.38.0-dev.1203
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 +88 -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
|
|
@@ -30191,6 +30219,19 @@ object({
|
|
|
30191
30219
|
verificationError: string$2().nullable()
|
|
30192
30220
|
});
|
|
30193
30221
|
const uuid = string$2().uuid();
|
|
30222
|
+
/** A place as a source names it: the tracker's id for it, checked against the tracker before it is stored. */
|
|
30223
|
+
const trackerPlaceId = string$2().trim().min(1).max(255);
|
|
30224
|
+
/** A provider-neutral filter field name, such as `component`. */
|
|
30225
|
+
const trackerFilterField = string$2().trim().min(1).max(64).regex(/^[a-z][a-z0-9_]*$/, "That is not a filter field");
|
|
30226
|
+
/**
|
|
30227
|
+
* The one field a source is held to, by the tracker's ids for its values. A
|
|
30228
|
+
* value's name is read from the tracker where the tracker gives values ids of
|
|
30229
|
+
* their own; a free-text value, such as a label, is its own name.
|
|
30230
|
+
*/
|
|
30231
|
+
const ticketSourceFilter = strictObject({
|
|
30232
|
+
field: trackerFilterField,
|
|
30233
|
+
valueIds: array(string$2().trim().min(1).max(255)).min(1).max(50)
|
|
30234
|
+
});
|
|
30194
30235
|
const sha256 = string$2().regex(/^[0-9a-f]{64}$/, "sha256 must be 64 lowercase hex characters");
|
|
30195
30236
|
object({ jobId: string$2() });
|
|
30196
30237
|
/** An upload's grant: a presigned PUT to staging and the headers it signed. */
|
|
@@ -30769,6 +30810,10 @@ strictObject({
|
|
|
30769
30810
|
answer: _enum(SCOPE_ANSWER_VALUES),
|
|
30770
30811
|
note: string$2().trim().max(SCOPE_ANSWER_NOTE_MAX_LENGTH).optional()
|
|
30771
30812
|
}), strictObject({ environments: array(string$2()).default(["development"]) }), object({ id: string$2().uuid() }), strictObject({
|
|
30813
|
+
connectionId: uuid,
|
|
30814
|
+
placeId: trackerPlaceId,
|
|
30815
|
+
filter: ticketSourceFilter.nullable().optional()
|
|
30816
|
+
}), object({ sourceId: uuid }), strictObject({
|
|
30772
30817
|
connection: newCloudConnection,
|
|
30773
30818
|
environment: object({
|
|
30774
30819
|
name: string$2().min(1).max(100),
|
|
@@ -30864,6 +30909,43 @@ const gitlabValidationReport = object({
|
|
|
30864
30909
|
warnings: array(string$2())
|
|
30865
30910
|
});
|
|
30866
30911
|
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");
|
|
30912
|
+
/** The secret half of a tracker credential: an API token, a client secret or an API key. */
|
|
30913
|
+
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");
|
|
30914
|
+
/** The account half, where the provider has one: an email address or a client id. */
|
|
30915
|
+
const trackerAccount = string$2().trim().min(1).max(320);
|
|
30916
|
+
object({
|
|
30917
|
+
status: _enum(TRACKER_CONNECTION_STATUSES),
|
|
30918
|
+
detail: string$2().nullable(),
|
|
30919
|
+
lastValidatedAt: string$2()
|
|
30920
|
+
});
|
|
30921
|
+
strictObject({ filter: ticketSourceFilter.nullable() });
|
|
30922
|
+
strictObject({
|
|
30923
|
+
displayName: string$2().trim().min(1).max(255).optional(),
|
|
30924
|
+
account: trackerAccount.optional(),
|
|
30925
|
+
secret: trackerSecret.optional()
|
|
30926
|
+
}), strictObject({ placeId: trackerPlaceId }), object({ fields: array(object({
|
|
30927
|
+
field: string$2(),
|
|
30928
|
+
label: string$2(),
|
|
30929
|
+
freeText: boolean()
|
|
30930
|
+
})).nullable() }), strictObject({
|
|
30931
|
+
placeId: trackerPlaceId,
|
|
30932
|
+
field: trackerFilterField,
|
|
30933
|
+
search: string$2().trim().max(100).optional()
|
|
30934
|
+
}), object({
|
|
30935
|
+
values: array(object({
|
|
30936
|
+
id: string$2(),
|
|
30937
|
+
name: string$2()
|
|
30938
|
+
})).nullable(),
|
|
30939
|
+
truncated: boolean()
|
|
30940
|
+
}), strictObject({ search: string$2().trim().max(100).optional() }), object({
|
|
30941
|
+
places: array(object({
|
|
30942
|
+
id: string$2(),
|
|
30943
|
+
key: string$2().nullable(),
|
|
30944
|
+
name: string$2(),
|
|
30945
|
+
kind: _enum(TRACKER_PLACE_KINDS)
|
|
30946
|
+
})).nullable(),
|
|
30947
|
+
truncated: boolean()
|
|
30948
|
+
});
|
|
30867
30949
|
strictObject({
|
|
30868
30950
|
displayName: string$2().trim().min(1).max(255).optional(),
|
|
30869
30951
|
token: azureDevopsToken.optional(),
|
|
@@ -31180,6 +31262,12 @@ strictObject({
|
|
|
31180
31262
|
baseUrl: string$2().trim().min(1).max(512),
|
|
31181
31263
|
token: azureDevopsToken,
|
|
31182
31264
|
access: _enum(FORGE_ACCESS).optional()
|
|
31265
|
+
}), object({ connectionId: uuid }), strictObject({
|
|
31266
|
+
provider: _enum(TRACKER_PROVIDERS),
|
|
31267
|
+
displayName: string$2().trim().min(1).max(255),
|
|
31268
|
+
baseUrl: string$2().trim().min(1).max(480).optional(),
|
|
31269
|
+
account: trackerAccount.optional(),
|
|
31270
|
+
secret: trackerSecret
|
|
31183
31271
|
}), object({ connectionId: uuid }), strictObject({
|
|
31184
31272
|
displayName: string$2().min(1).max(255),
|
|
31185
31273
|
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.1203",
|
|
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",
|