@taiga-ai/mcp-server 0.37.0-dev.1151 → 0.37.0-dev.1153
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 +17 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -39199,6 +39199,21 @@ async function policyColumn(client, row) {
|
|
|
39199
39199
|
throw error;
|
|
39200
39200
|
}
|
|
39201
39201
|
}
|
|
39202
|
+
/**
|
|
39203
|
+
* Whether agent work is on for the product, and if not, why, in one line for
|
|
39204
|
+
* the assistant to pass on. The standing is the server's (`agentWork` on the
|
|
39205
|
+
* product read); absent, from an older API, reads as on.
|
|
39206
|
+
*/
|
|
39207
|
+
function agentWorkLine(product) {
|
|
39208
|
+
switch (product.agentWork ?? "on") {
|
|
39209
|
+
case "on": return "Agent work: on";
|
|
39210
|
+
case "factory_off": return `Agent work: off - Auroras are turned off for ${product.agentWorkFactoryName ? `the factory "${product.agentWorkFactoryName}"` : "this product's factory"}. Someone who can change that factory's settings can turn them back on.`;
|
|
39211
|
+
case "product_off": return "Agent work: off - Auroras are turned off for this product. Someone who can change its settings can turn them back on.";
|
|
39212
|
+
case "off": return "Agent work: off for the organization.";
|
|
39213
|
+
case "no_auroras": return "Agent work: off - the organization has no Auroras.";
|
|
39214
|
+
case "no_repository": return "Agent work: off - the organization's plan pays for no repository.";
|
|
39215
|
+
}
|
|
39216
|
+
}
|
|
39202
39217
|
function productView(product) {
|
|
39203
39218
|
const row = pickFields([product], PRODUCT_VIEW_FIELDS)[0];
|
|
39204
39219
|
const settings = product.settings ?? {};
|
|
@@ -39210,6 +39225,7 @@ function productView(product) {
|
|
|
39210
39225
|
linePaused: stoppedAt ? { since: stoppedAt } : false,
|
|
39211
39226
|
...product.effectiveSignalAutonomy ? { signalAutonomy: product.effectiveSignalAutonomy } : {},
|
|
39212
39227
|
...dailyFixLimitOf(product) ? { dailyFixLimit: dailyFixLimitOf(product) } : {},
|
|
39228
|
+
agentWork: agentWorkLine(product),
|
|
39213
39229
|
unsetMeans: UNSET_MEANS
|
|
39214
39230
|
};
|
|
39215
39231
|
}
|
|
@@ -39533,7 +39549,7 @@ function registerProductTools(server, client) {
|
|
|
39533
39549
|
}));
|
|
39534
39550
|
server.registerTool("taiga_get_product", {
|
|
39535
39551
|
title: "Get product",
|
|
39536
|
-
description: "Read a product's settings: kind, autonomy, what Taiga builds for it, network access, and, in setup, what it still needs (readiness, nextStep). By ID, slug or git remote URL. For where its work stands, use taiga_get_product_context.",
|
|
39552
|
+
description: "Read a product's settings: kind, autonomy, what Taiga builds for it, network access, whether agent work is on for it (and where it was switched off), and, in setup, what it still needs (readiness, nextStep). By ID, slug or git remote URL. For where its work stands, use taiga_get_product_context.",
|
|
39537
39553
|
inputSchema: object({
|
|
39538
39554
|
productId: productId.optional(),
|
|
39539
39555
|
slug: slug.optional(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.37.0-dev.
|
|
3
|
+
"version": "0.37.0-dev.1153",
|
|
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",
|