@taiga-ai/mcp-server 0.36.0-dev.828 → 0.36.0-dev.830

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 +13 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -26076,6 +26076,8 @@ const REQUEST_EXITS = [
26076
26076
  "dismiss",
26077
26077
  "reviewed"
26078
26078
  ];
26079
+ /** The most ids an answer's `seen` carries; a longer list is not sent, and the review is not checked. */
26080
+ const REVIEW_SEEN_MAX = 1e4;
26079
26081
  //#endregion
26080
26082
  //#region ../../packages/types/dist/maintenance.js
26081
26083
  /**
@@ -26868,6 +26870,7 @@ const uploadGrant = object({
26868
26870
  expiresAt: string$2()
26869
26871
  });
26870
26872
  object({ version: number$1().int().min(1) });
26873
+ object({ documentId: string$2().uuid() });
26871
26874
  /** The uploads a product's move could not re-file, named while they fit the answer (PRO-3497). */
26872
26875
  const failedDocuments = array(object({
26873
26876
  id: string$2(),
@@ -26999,13 +27002,17 @@ strictObject({
26999
27002
  strictObject({
27000
27003
  exit: _enum(REQUEST_EXITS),
27001
27004
  comment: string$2().trim().min(1).max(PLAN_REJECTION_COMMENT_MAX_CHARS).optional(),
27002
- force: boolean().optional()
27005
+ force: boolean().optional(),
27006
+ seen: array(string$2().uuid()).max(REVIEW_SEEN_MAX).optional()
27003
27007
  }).refine((answer) => answer.exit === "reject" === (answer.comment !== void 0), {
27004
27008
  message: "A rejection takes a comment for the planner, and no other answer takes one.",
27005
27009
  path: ["comment"]
27006
27010
  }).refine((answer) => answer.exit === "replan" || answer.force === void 0, {
27007
27011
  message: "Only Plan again can plan anyway.",
27008
27012
  path: ["force"]
27013
+ }).refine((answer) => answer.exit === "reviewed" || answer.seen === void 0, {
27014
+ message: "Only Mark reviewed says what was shown.",
27015
+ path: ["seen"]
27009
27016
  });
27010
27017
  strictObject({ type: productDocumentType }), object({
27011
27018
  version: number$1().int().min(1),
@@ -27013,7 +27020,7 @@ strictObject({ type: productDocumentType }), object({
27013
27020
  shown: array(string$2()),
27014
27021
  count: number$1().int().min(0)
27015
27022
  })
27016
- }), strictObject({ type: productDocumentType }), strictObject({ type: productDocumentType }), object({ documentId: string$2().uuid() }), strictObject({
27023
+ }), strictObject({ type: productDocumentType }), strictObject({ type: productDocumentType }), strictObject({
27017
27024
  githubRepositoryId: uuid.optional(),
27018
27025
  /** A GitLab project, by the connection whose bot reaches it and GitLab's numeric id (P-PRO-150). */
27019
27026
  gitlabConnectionId: uuid.optional(),
@@ -27110,8 +27117,10 @@ object({
27110
27117
  /** The retry itself threw; absent when it went through. */
27111
27118
  error: string$2().optional()
27112
27119
  });
27113
- strictObject({ type: _enum([...FACTORY_DOCUMENT_TYPES, LEGACY_FACTORY_INSTRUCTIONS_TYPE]).transform((type) => type === "team_instructions" ? FACTORY_INSTRUCTIONS_TYPE : type) });
27114
- strictObject({ type: _enum(TENANT_DOCUMENT_TYPES) }), strictObject({
27120
+ /** A factory document type, its legacy name read as the current one. */
27121
+ const factoryDocumentType = _enum([...FACTORY_DOCUMENT_TYPES, LEGACY_FACTORY_INSTRUCTIONS_TYPE]).transform((type) => type === "team_instructions" ? FACTORY_INSTRUCTIONS_TYPE : type);
27122
+ strictObject({ type: factoryDocumentType }), strictObject({ type: factoryDocumentType });
27123
+ strictObject({ type: _enum(TENANT_DOCUMENT_TYPES) }), strictObject({ type: _enum(TENANT_DOCUMENT_TYPES).refine((type) => type !== "design_standards", { message: "The design standards draft is not made through sync" }) }), strictObject({
27115
27124
  name: string$2().min(1).max(50),
27116
27125
  action: _enum(["accept", "decline"])
27117
27126
  }), object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.828",
3
+ "version": "0.36.0-dev.830",
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",