@taiga-ai/mcp-server 0.31.0-dev.668 → 0.31.0-dev.670
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 +8 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24555,6 +24555,8 @@ const MAINTENANCE_IGNORE_REASONS = [
|
|
|
24555
24555
|
function lockfileScope(path, groups) {
|
|
24556
24556
|
const name = path.slice(path.lastIndexOf("/") + 1);
|
|
24557
24557
|
const set = new Set(groups.map((g) => g.trim().toLowerCase()).filter((g) => g !== ""));
|
|
24558
|
+
if (set.has("taiga:runtime")) return "runtime";
|
|
24559
|
+
if (set.has("taiga:dev")) return "dev";
|
|
24558
24560
|
switch (name) {
|
|
24559
24561
|
case "package-lock.json":
|
|
24560
24562
|
case "npm-shrinkwrap.json": {
|
|
@@ -25207,8 +25209,7 @@ const ORIGIN_MEANING = {
|
|
|
25207
25209
|
* same settings key the API reads, so the two cannot disagree.
|
|
25208
25210
|
*/
|
|
25209
25211
|
function isImportedProduct(product) {
|
|
25210
|
-
|
|
25211
|
-
return typeof settings === "object" && settings !== null && settings.projectType === "brownfield";
|
|
25212
|
+
return product?.settings?.projectType === "brownfield";
|
|
25212
25213
|
}
|
|
25213
25214
|
/**
|
|
25214
25215
|
* The document types no derivation ever writes: a person records or writes
|
|
@@ -25230,9 +25231,7 @@ function defaultOriginFor(product, type) {
|
|
|
25230
25231
|
* read as "not known", never as a promise.
|
|
25231
25232
|
*/
|
|
25232
25233
|
function importStatusOf(product) {
|
|
25233
|
-
const
|
|
25234
|
-
if (typeof settings !== "object" || settings === null) return null;
|
|
25235
|
-
const status = settings.importStatus;
|
|
25234
|
+
const status = product?.settings?.importStatus;
|
|
25236
25235
|
return typeof status === "string" ? status : null;
|
|
25237
25236
|
}
|
|
25238
25237
|
/** Why a side of the timeline is empty, for a list or a miss that shows one. */
|
|
@@ -25771,6 +25770,9 @@ const PACKAGE_ROW_FIELDS = [
|
|
|
25771
25770
|
"firstParty",
|
|
25772
25771
|
"otherPlatformsOnly",
|
|
25773
25772
|
"licenseSource",
|
|
25773
|
+
"licenseGap",
|
|
25774
|
+
"scopeReason",
|
|
25775
|
+
"parentReason",
|
|
25774
25776
|
"sourcePath",
|
|
25775
25777
|
"productRepositoryId",
|
|
25776
25778
|
"detectedAt"
|
|
@@ -26708,7 +26710,7 @@ function productView(product) {
|
|
|
26708
26710
|
return {
|
|
26709
26711
|
...row,
|
|
26710
26712
|
projectType: isImportedProduct(product) ? "brownfield" : "greenfield",
|
|
26711
|
-
...typeof settings
|
|
26713
|
+
...typeof settings.importStatus === "string" ? { importStatus: settings.importStatus } : {},
|
|
26712
26714
|
linePaused: stoppedAt ? { since: stoppedAt } : false,
|
|
26713
26715
|
unsetMeans: UNSET_MEANS
|
|
26714
26716
|
};
|
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.670",
|
|
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",
|