@taiga-ai/mcp-server 0.37.0-dev.1005 → 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.
Files changed (2) hide show
  1. package/dist/index.js +50 -0
  2. 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),
@@ -28064,6 +28088,32 @@ strictObject({
28064
28088
  }).nullable() }), object({
28065
28089
  byComponent: record(string$2(), number$1()),
28066
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)
28067
28117
  }), strictObject({ components: array(strictObject({
28068
28118
  name: string$2().min(2).max(50),
28069
28119
  source: string$2().min(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1005",
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",