@taiga-ai/mcp-server 0.36.0-dev.803 → 0.36.0-dev.805

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 +3 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -24065,7 +24065,7 @@ var TaigaClient = class {
24065
24065
  async refreshRealityDocuments(productId, docTypes) {
24066
24066
  return this.request("POST", `/products/${seg(productId)}/documents/refresh-reality`, docTypes ? { docTypes } : void 0);
24067
24067
  }
24068
- /** What still blocks finishing setup: required documents unpublished, required checks unstamped (PRO-2800). */
24068
+ /** What still blocks finishing setup: the required documents unpublished (PRO-2800). */
24069
24069
  async getProductSetupBlockers(productId) {
24070
24070
  return this.request("GET", `/products/${seg(productId)}/setup`);
24071
24071
  }
@@ -27491,7 +27491,6 @@ function setupNextStep(product) {
27491
27491
  if (product.discoveryStep === void 0) return null;
27492
27492
  switch (product.discoveryStep) {
27493
27493
  case "documents": return `The specification is done; the other documents are generated from it (taiga_generate_product_documents starts the ones still missing). Once every required one is published, ${FINISH_DISCOVERY}`;
27494
- case "checks": return `The documents are published; the checks are stamped in the web, then ${FINISH_DISCOVERY}`;
27495
27494
  default: return `Discovery is a conversation held in the web: the person describes the product there and the specification comes out of it. The other documents follow, then ${FINISH_DISCOVERY}`;
27496
27495
  }
27497
27496
  }
@@ -28957,20 +28956,17 @@ async function setupReadiness(client, product, links) {
28957
28956
  const settings = product["settings"] ?? {};
28958
28957
  const importState = imported ? IMPORT_STATE[String(settings.importStatus)] ?? "not started" : void 0;
28959
28958
  const missing = blockers ? blockers.missingDocuments : null;
28960
- const openChecks = blockers ? blockers.openChecks.map((check) => check.criterion) : null;
28961
28959
  return {
28962
- ready: blockers ? missing.length === 0 && openChecks.length === 0 : null,
28960
+ ready: blockers ? missing.length === 0 : null,
28963
28961
  repository,
28964
28962
  ...imported ? { import: typeof settings.importStatus === "string" ? settings.importStatus : "pending" } : {},
28965
28963
  ...imported ? {} : { discoveryStep: full["discoveryStep"] ?? null },
28966
28964
  missingDocuments: missing,
28967
- openChecks,
28968
28965
  nextStep: nextStepFor({
28969
28966
  imported,
28970
28967
  importState,
28971
28968
  linked: repository?.linked ?? null,
28972
28969
  missing,
28973
- openChecks,
28974
28970
  product: full
28975
28971
  })
28976
28972
  };
@@ -28992,7 +28988,6 @@ function nextStepFor(state) {
28992
28988
  if (!state.missing) return setupNextStep(state.product);
28993
28989
  if (state.missing.includes("specification")) return "The specification comes from the Discovery conversation, held in the web: the person describes the product there. The other documents follow from it." + (state.linked === false ? " Linking a repository (taiga_link_repository) can wait until before the first build." : "");
28994
28990
  if (state.missing.length > 0) return `Still to publish: ${named(state.missing)}. taiga_generate_product_documents generates the missing ones (paid agent work: ask first); a draft is published with taiga_publish_product_document.`;
28995
- if (state.openChecks && state.openChecks.length > 0) return `The documents are published; the checks are stamped in the web, then ${finish}`;
28996
28991
  return `Every required document is published: ${finish}`;
28997
28992
  }
28998
28993
  //#endregion
@@ -48897,7 +48892,7 @@ function registerSetupTools(server, client) {
48897
48892
  }, (params) => runTool(async () => toolResult((await client.refreshRealityDocuments(params.productId, params.docTypes)).data)));
48898
48893
  server.registerTool("taiga_finish_discovery", {
48899
48894
  title: "Finish Discovery",
48900
- description: "Finish a product's setup: lock its documents and start planning its first initiatives. Refused while documents are missing (the refusal lists them) or a check is not stamped in the web.",
48895
+ description: "Finish a product's setup: lock its documents and start planning its first initiatives. Refused while documents are missing (the refusal lists them).",
48901
48896
  inputSchema: object({ productId }),
48902
48897
  annotations: OPERATE
48903
48898
  }, (params) => runTool(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.36.0-dev.803",
3
+ "version": "0.36.0-dev.805",
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",