@taiga-ai/mcp-server 0.37.0-dev.1004 → 0.37.0-dev.1006
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 +83 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27956,6 +27956,30 @@ object({
|
|
|
27956
27956
|
})).optional()
|
|
27957
27957
|
}))
|
|
27958
27958
|
});
|
|
27959
|
+
/**
|
|
27960
|
+
* A derivation's source (PRO-1077, PRO-3680), as the derive routes take one,
|
|
27961
|
+
* except that a file arrives as a staged upload (`beginDeriveSourceUpload`)
|
|
27962
|
+
* rather than inline: the push carries at most 1 MiB.
|
|
27963
|
+
*/
|
|
27964
|
+
const deriveSource = discriminatedUnion("kind", [
|
|
27965
|
+
strictObject({
|
|
27966
|
+
kind: literal("text"),
|
|
27967
|
+
name: string$2().min(1).max(200),
|
|
27968
|
+
content: string$2().min(1).max(5e4)
|
|
27969
|
+
}),
|
|
27970
|
+
strictObject({
|
|
27971
|
+
kind: literal("tenant_document"),
|
|
27972
|
+
tenantDocumentId: uuid
|
|
27973
|
+
}),
|
|
27974
|
+
strictObject({
|
|
27975
|
+
kind: literal("custom_document"),
|
|
27976
|
+
customDocumentId: uuid
|
|
27977
|
+
}),
|
|
27978
|
+
strictObject({
|
|
27979
|
+
kind: literal("upload"),
|
|
27980
|
+
uploadId: uuid
|
|
27981
|
+
})
|
|
27982
|
+
]);
|
|
27959
27983
|
strictObject({
|
|
27960
27984
|
displayName: string$2().trim().min(1).max(255),
|
|
27961
27985
|
baseUrl: string$2().trim().min(1).max(480),
|
|
@@ -28047,7 +28071,65 @@ strictObject({
|
|
|
28047
28071
|
mfaRequired: boolean().optional(),
|
|
28048
28072
|
mfaGracePeriodDays: number$1().int().min(0).max(90).optional(),
|
|
28049
28073
|
sessionTimeoutMinutes: number$1().int().min(60).max(10080).nullable().optional()
|
|
28050
|
-
}).refine((change) => Object.keys(change).length > 0, { message: "At least one field must be provided" }), strictObject({ azureTenantId: uuid }), strictObject({ enforced: boolean() }), strictObject({ domain: string$2().trim().toLowerCase().min(1).max(253).regex(/^(?=.{1,253}$)(?!-)[a-z0-9-]{1,63}(?<!-)(\.(?!-)[a-z0-9-]{1,63}(?<!-))+$/, "Enter a valid domain, e.g. acme.com") }), object({ domainId: string$2() })
|
|
28074
|
+
}).refine((change) => Object.keys(change).length > 0, { message: "At least one field must be provided" }), strictObject({ azureTenantId: uuid }), strictObject({ enforced: boolean() }), strictObject({ domain: string$2().trim().toLowerCase().min(1).max(253).regex(/^(?=.{1,253}$)(?!-)[a-z0-9-]{1,63}(?<!-)(\.(?!-)[a-z0-9-]{1,63}(?<!-))+$/, "Enter a valid domain, e.g. acme.com") }), object({ domainId: string$2() }), strictObject({
|
|
28075
|
+
repositoryId: uuid.optional(),
|
|
28076
|
+
branch: string$2().max(255).optional()
|
|
28077
|
+
}), object({ packages: array(string$2()) }), object({ snapshot: object({
|
|
28078
|
+
source: string$2(),
|
|
28079
|
+
sourceVersion: string$2().nullable(),
|
|
28080
|
+
sourceLabel: string$2().nullable(),
|
|
28081
|
+
syncedAt: string$2(),
|
|
28082
|
+
variables: object({
|
|
28083
|
+
light: record(string$2(), string$2()),
|
|
28084
|
+
dark: record(string$2(), string$2())
|
|
28085
|
+
}),
|
|
28086
|
+
filesRead: array(string$2()).optional(),
|
|
28087
|
+
unavailableReason: string$2().optional()
|
|
28088
|
+
}).nullable() }), object({
|
|
28089
|
+
byComponent: record(string$2(), number$1()),
|
|
28090
|
+
artifactsReferencingAny: number$1()
|
|
28091
|
+
}), strictObject({
|
|
28092
|
+
fileName: string$2().trim().min(1).max(200),
|
|
28093
|
+
mimeType: _enum([
|
|
28094
|
+
"application/pdf",
|
|
28095
|
+
"text/csv",
|
|
28096
|
+
"application/msword",
|
|
28097
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
28098
|
+
"application/vnd.ms-excel",
|
|
28099
|
+
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
28100
|
+
"text/html",
|
|
28101
|
+
"text/plain",
|
|
28102
|
+
"text/markdown"
|
|
28103
|
+
]),
|
|
28104
|
+
sizeBytes: number$1().int().positive(),
|
|
28105
|
+
sha256
|
|
28106
|
+
}), object({ upload: uploadGrant }), strictObject({
|
|
28107
|
+
policyType: _enum(TENANT_DOCUMENT_TYPES).refine((type) => type.startsWith("policy_"), "Not a policy"),
|
|
28108
|
+
instruction: string$2().min(1).max(2e3),
|
|
28109
|
+
sourceDocuments: array(deriveSource).min(1).max(10),
|
|
28110
|
+
targetSectionKeys: array(string$2().min(1)).optional()
|
|
28111
|
+
}), strictObject({
|
|
28112
|
+
instruction: string$2().min(1).max(2e3),
|
|
28113
|
+
sourceDocuments: array(deriveSource).min(1).max(10)
|
|
28114
|
+
}), strictObject({
|
|
28115
|
+
name: string$2().min(2).max(50),
|
|
28116
|
+
description: string$2().min(1).max(2e3)
|
|
28117
|
+
}), strictObject({ components: array(strictObject({
|
|
28118
|
+
name: string$2().min(2).max(50),
|
|
28119
|
+
source: string$2().min(1)
|
|
28120
|
+
})).min(1).max(24) }), object({ results: array(discriminatedUnion("ok", [object({
|
|
28121
|
+
name: string$2(),
|
|
28122
|
+
ok: literal(true),
|
|
28123
|
+
code: string$2()
|
|
28124
|
+
}), object({
|
|
28125
|
+
name: string$2(),
|
|
28126
|
+
ok: literal(false),
|
|
28127
|
+
errors: array(object({
|
|
28128
|
+
message: string$2(),
|
|
28129
|
+
line: number$1().int().nullable(),
|
|
28130
|
+
column: number$1().int().nullable()
|
|
28131
|
+
}))
|
|
28132
|
+
})])) });
|
|
28051
28133
|
object({ record: object({
|
|
28052
28134
|
name: string$2(),
|
|
28053
28135
|
value: string$2()
|
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.1006",
|
|
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",
|