@taiga-ai/mcp-server 0.51.0-dev.1296 → 0.51.0-dev.1298
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.
- package/dist/index.js +12 -4
- 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(),
|
|
@@ -56812,7 +56818,7 @@ function registerSetupTools(server, client) {
|
|
|
56812
56818
|
}));
|
|
56813
56819
|
server.registerTool("taiga_preview_product_move", {
|
|
56814
56820
|
title: "Preview moving a product to another factory",
|
|
56815
|
-
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.",
|
|
56816
56822
|
inputSchema: object({
|
|
56817
56823
|
productId,
|
|
56818
56824
|
factoryId: factoryId.describe("The factory to move it to")
|
|
@@ -56834,7 +56840,8 @@ function registerSetupTools(server, client) {
|
|
|
56834
56840
|
inputSchema: object({
|
|
56835
56841
|
productId,
|
|
56836
56842
|
factoryId: factoryId.describe("The factory to move it to"),
|
|
56837
|
-
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")
|
|
56838
56845
|
}),
|
|
56839
56846
|
annotations: OPERATE
|
|
56840
56847
|
}, (params) => runTool(async () => {
|
|
@@ -56842,7 +56849,8 @@ function registerSetupTools(server, client) {
|
|
|
56842
56849
|
try {
|
|
56843
56850
|
moved = await client.moveProduct(params.productId, {
|
|
56844
56851
|
factoryId: params.factoryId,
|
|
56845
|
-
...params.stopLine ? { stopLine: true } : {}
|
|
56852
|
+
...params.stopLine ? { stopLine: true } : {},
|
|
56853
|
+
...params.keepFloorChoices === false ? { keepFloorChoices: false } : {}
|
|
56846
56854
|
});
|
|
56847
56855
|
} catch (error) {
|
|
56848
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.
|
|
3
|
+
"version": "0.51.0-dev.1298",
|
|
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",
|