@taiga-ai/mcp-server 0.31.0-dev.668 → 0.31.0-dev.669
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 +3 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25207,8 +25207,7 @@ const ORIGIN_MEANING = {
|
|
|
25207
25207
|
* same settings key the API reads, so the two cannot disagree.
|
|
25208
25208
|
*/
|
|
25209
25209
|
function isImportedProduct(product) {
|
|
25210
|
-
|
|
25211
|
-
return typeof settings === "object" && settings !== null && settings.projectType === "brownfield";
|
|
25210
|
+
return product?.settings?.projectType === "brownfield";
|
|
25212
25211
|
}
|
|
25213
25212
|
/**
|
|
25214
25213
|
* The document types no derivation ever writes: a person records or writes
|
|
@@ -25230,9 +25229,7 @@ function defaultOriginFor(product, type) {
|
|
|
25230
25229
|
* read as "not known", never as a promise.
|
|
25231
25230
|
*/
|
|
25232
25231
|
function importStatusOf(product) {
|
|
25233
|
-
const
|
|
25234
|
-
if (typeof settings !== "object" || settings === null) return null;
|
|
25235
|
-
const status = settings.importStatus;
|
|
25232
|
+
const status = product?.settings?.importStatus;
|
|
25236
25233
|
return typeof status === "string" ? status : null;
|
|
25237
25234
|
}
|
|
25238
25235
|
/** Why a side of the timeline is empty, for a list or a miss that shows one. */
|
|
@@ -26708,7 +26705,7 @@ function productView(product) {
|
|
|
26708
26705
|
return {
|
|
26709
26706
|
...row,
|
|
26710
26707
|
projectType: isImportedProduct(product) ? "brownfield" : "greenfield",
|
|
26711
|
-
...typeof settings
|
|
26708
|
+
...typeof settings.importStatus === "string" ? { importStatus: settings.importStatus } : {},
|
|
26712
26709
|
linePaused: stoppedAt ? { since: stoppedAt } : false,
|
|
26713
26710
|
unsetMeans: UNSET_MEANS
|
|
26714
26711
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taiga-ai/mcp-server",
|
|
3
|
-
"version": "0.31.0-dev.
|
|
3
|
+
"version": "0.31.0-dev.669",
|
|
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",
|