@taiga-ai/mcp-server 0.37.0-dev.1107 → 0.37.0-dev.1109

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 +42 -3
  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,
@@ -29607,7 +29609,44 @@ const tenantMonthStatementSchema = object({
29607
29609
  payment: _enum(["card", "invoice"]),
29608
29610
  paymentDays: number$1().int().nullable()
29609
29611
  });
29610
- strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29612
+ object({
29613
+ url: string$2(),
29614
+ expiresAt: string$2()
29615
+ });
29616
+ /** What narrows the organization's audit trail, as `GET /audit-events` takes it (PRO-3675). */
29617
+ const auditEventFilters = {
29618
+ actorId: uuid.optional(),
29619
+ /** A prefix of the dot-notation action, e.g. `role.`. */
29620
+ action: string$2().min(1).max(100).regex(/^[a-z0-9_.]+$/).optional(),
29621
+ resourceType: string$2().min(1).max(50).regex(/^[a-z0-9_]+$/).optional(),
29622
+ from: isoInstant.optional(),
29623
+ to: isoInstant.optional()
29624
+ };
29625
+ /** One row of the audit trail, as `GET /audit-events` answers it (PRO-3675). */
29626
+ const auditEventAnswer = object({
29627
+ id: string$2(),
29628
+ action: string$2(),
29629
+ actorId: string$2(),
29630
+ actorType: string$2(),
29631
+ actorName: string$2().nullable(),
29632
+ actorEmail: string$2().nullable(),
29633
+ resourceType: string$2(),
29634
+ resourceId: string$2(),
29635
+ changes: record(string$2(), unknown$1()).nullable(),
29636
+ createdAt: string$2()
29637
+ });
29638
+ strictObject({
29639
+ ...auditEventFilters,
29640
+ cursor: string$2().max(512).optional(),
29641
+ limit: number$1().int().min(1).max(100).optional()
29642
+ }), object({
29643
+ data: array(auditEventAnswer),
29644
+ nextCursor: string$2().nullable(),
29645
+ totalCount: number$1().int().optional()
29646
+ }), strictObject({
29647
+ ...auditEventFilters,
29648
+ format: _enum(["csv", "json"])
29649
+ }), object({ body: string$2() }), strictObject({ regulationId }), strictObject({ regulationId }), strictObject({
29611
29650
  documentType: string$2().min(1).max(100),
29612
29651
  sections: record(string$2(), unknown$1())
29613
29652
  }), object({ jobId: uuid }), settledBilling(tenantBillingSchema), strictObject({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.37.0-dev.1107",
3
+ "version": "0.37.0-dev.1109",
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",