@taiga-ai/mcp-server 0.37.0-dev.1106 → 0.37.0-dev.1108

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 +40 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -23505,7 +23505,9 @@ const SERVER_VERSION = createRequire(import.meta.url)("../package.json").version
23505
23505
  //#endregion
23506
23506
  //#region src/client.ts
23507
23507
  /**
23508
- * The same value without any `tenantId`, at any depth. Build run and step
23508
+ * The same value without any `tenantId` or `prTitle`, at any depth. A pull
23509
+ * request's title is text anyone with write access on the forge can set, so no
23510
+ * model reads it through this server. Build run and step
23509
23511
  * rows carry one; the key is scoped to one tenant already, so the id is
23510
23512
  * never something the model acts on. Applied to every response here, once,
23511
23513
  * so no tool, resource or prompt can hand it over by forgetting to; only
@@ -23535,7 +23537,7 @@ function withoutTenant(value) {
23535
23537
  });
23536
23538
  } else if (source !== null && typeof source === "object") {
23537
23539
  copy = {};
23538
- const entries = Object.entries(source).filter(([inner]) => inner !== "tenantId");
23540
+ const entries = Object.entries(source).filter(([inner]) => inner !== "tenantId" && inner !== "prTitle");
23539
23541
  for (let index = entries.length - 1; index >= 0; index -= 1) pending.push({
23540
23542
  source: entries[index][1],
23541
23543
  target: copy,
@@ -29577,6 +29579,36 @@ const deriveSource = discriminatedUnion("kind", [
29577
29579
  uploadId: uuid
29578
29580
  })
29579
29581
  ]);
29582
+ /** The file types a derivation reads, as the derive routes take them. */
29583
+ const DERIVE_SOURCE_MIME_TYPES = [
29584
+ "application/pdf",
29585
+ "text/csv",
29586
+ "application/msword",
29587
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
29588
+ "application/vnd.ms-excel",
29589
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
29590
+ "text/html",
29591
+ "text/plain",
29592
+ "text/markdown"
29593
+ ];
29594
+ /** This month so far, as the statement will read it (PRO-4479). */
29595
+ const tenantMonthStatementSchema = object({
29596
+ periodStart: string$2(),
29597
+ repositoryLimit: number$1().int().nullable(),
29598
+ repositoryAmount: number$1().int().nullable(),
29599
+ aurorasCommitted: number$1().int(),
29600
+ committedAmount: number$1().int(),
29601
+ aurorasDrawn: number$1(),
29602
+ aurorasBeyond: number$1(),
29603
+ overageRate: number$1().int(),
29604
+ overageAmount: number$1().int(),
29605
+ discountPercent: number$1().nullable(),
29606
+ discountAmount: number$1().int(),
29607
+ totalAmount: number$1().int(),
29608
+ netAmount: number$1().int(),
29609
+ payment: _enum(["card", "invoice"]),
29610
+ paymentDays: number$1().int().nullable()
29611
+ });
29580
29612
  strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29581
29613
  documentType: string$2().min(1).max(100),
29582
29614
  sections: record(string$2(), unknown$1())
@@ -29598,7 +29630,11 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29598
29630
  add: number$1().int().positive(),
29599
29631
  monthlyMax: number$1().int().positive().max(AUTO_TOP_UP_LIMITS.maxMonthly),
29600
29632
  termsVersion: string$2().min(1).max(100).optional()
29601
- }), settledBilling(object({ done: literal(true) })), strictObject({ returnPath: billingReturnPath }), settledBilling(billingRedirect), strictObject({
29633
+ }), settledBilling(object({ done: literal(true) })), tenantMonthStatementSchema.nullable(), strictObject({ percent: union([
29634
+ literal(100),
29635
+ literal(150),
29636
+ literal(200)
29637
+ ]).nullable() }), strictObject({ returnPath: billingReturnPath }), settledBilling(billingRedirect), strictObject({
29602
29638
  sessionId: billingSessionId,
29603
29639
  turnOn: strictObject({ termsVersion: string$2().min(1).max(100) }).optional()
29604
29640
  }), settledBilling(object({ done: literal(true) })), strictObject({
@@ -29719,17 +29755,7 @@ strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29719
29755
  artifactsReferencingAny: number$1()
29720
29756
  }), strictObject({
29721
29757
  fileName: string$2().trim().min(1).max(200),
29722
- mimeType: _enum([
29723
- "application/pdf",
29724
- "text/csv",
29725
- "application/msword",
29726
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
29727
- "application/vnd.ms-excel",
29728
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
29729
- "text/html",
29730
- "text/plain",
29731
- "text/markdown"
29732
- ]),
29758
+ mimeType: _enum(DERIVE_SOURCE_MIME_TYPES),
29733
29759
  sizeBytes: number$1().int().positive(),
29734
29760
  sha256
29735
29761
  }), object({ upload: uploadGrant }), strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1106",
3
+ "version": "0.37.0-dev.1108",
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",