@taiga-ai/mcp-server 0.51.0-dev.1295 → 0.51.0-dev.1297

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 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -33470,7 +33470,13 @@ const OUTPUT_SCHEMAS = {
33470
33470
  targetFactoryId: string$2().nullable().optional(),
33471
33471
  loses: array(unknown$1()).nullable().optional(),
33472
33472
  gains: array(unknown$1()).nullable().optional(),
33473
- kept: array(unknown$1()).nullable().optional()
33473
+ kept: array(unknown$1()).nullable().optional(),
33474
+ /** What the move does to the frameworks the product follows (PRO-5058); absent where products hold none of their own. */
33475
+ requirements: object({
33476
+ fromFloor: array(unknown$1()).nullable().optional(),
33477
+ kept: unknown$1().optional(),
33478
+ cleared: unknown$1().optional()
33479
+ }).loose().nullable().optional()
33474
33480
  }).loose(),
33475
33481
  taiga_publish_factory_document: object({
33476
33482
  id: string$2().nullable().optional(),
@@ -35123,8 +35129,7 @@ function startedByAdvisories(sweep) {
35123
35129
  /**
35124
35130
  * The images a sweep's shipped images build on that it could not read, and
35125
35131
  * why (PRO-4073): a base nobody read is no clean base. Only where the API
35126
- * returns the list (null with the containerImages flag off, or from a sweep
35127
- * that listed none).
35132
+ * returns the list (null from a sweep that listed none).
35128
35133
  */
35129
35134
  const BASE_IMAGES_SHOWN = 10;
35130
35135
  function notReadBases(sweep) {
@@ -56813,7 +56818,7 @@ function registerSetupTools(server, client) {
56813
56818
  }));
56814
56819
  server.registerTool("taiga_preview_product_move", {
56815
56820
  title: "Preview moving a product to another factory",
56816
- description: "Show who gains and who loses access if a product moves to another factory, before taiga_move_product.",
56821
+ description: "Show who gains and who loses access if a product moves to another factory, before taiga_move_product. Where products hold their own requirements, also what the move does to the frameworks it follows: what the new factory's floor adds and raises, and what leaves if what the old factory required is left behind.",
56817
56822
  inputSchema: object({
56818
56823
  productId,
56819
56824
  factoryId: factoryId.describe("The factory to move it to")
@@ -56835,7 +56840,8 @@ function registerSetupTools(server, client) {
56835
56840
  inputSchema: object({
56836
56841
  productId,
56837
56842
  factoryId: factoryId.describe("The factory to move it to"),
56838
- stopLine: boolean().optional().describe("Stop the line first, interrupting the plan or build in flight; only when the person says so")
56843
+ stopLine: boolean().optional().describe("Stop the line first, interrupting the plan or build in flight; only when the person says so"),
56844
+ keepFloorChoices: boolean().optional().describe("false leaves behind the frameworks the factory it leaves had required of it (taiga_preview_product_move names them); kept as its own choices otherwise. Only when the person says so")
56839
56845
  }),
56840
56846
  annotations: OPERATE
56841
56847
  }, (params) => runTool(async () => {
@@ -56843,7 +56849,8 @@ function registerSetupTools(server, client) {
56843
56849
  try {
56844
56850
  moved = await client.moveProduct(params.productId, {
56845
56851
  factoryId: params.factoryId,
56846
- ...params.stopLine ? { stopLine: true } : {}
56852
+ ...params.stopLine ? { stopLine: true } : {},
56853
+ ...params.keepFloorChoices === false ? { keepFloorChoices: false } : {}
56847
56854
  });
56848
56855
  } catch (error) {
56849
56856
  if (error instanceof TaigaApiError && error.code === "WORK_IN_FLIGHT") return toolError("WORK_IN_FLIGHT", `${withStop((error.apiMessage ?? "Work is in flight on this product").split(/(?<=[.!?])\s/)[0])} Moving it now means stopping the line, which interrupts that work: ask the person, and pass stopLine: true only if they say so.`, error.details);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.51.0-dev.1295",
3
+ "version": "0.51.0-dev.1297",
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",