@taiga-ai/mcp-server 0.31.0-dev.654 → 0.31.0-dev.658
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 +20 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -22857,8 +22857,14 @@ function policyNamedByControl(controlId) {
|
|
|
22857
22857
|
* the row that holds it (PRO-1499): a control one side can name must be one
|
|
22858
22858
|
* the other can find, and two hand-copied literals would only agree until the
|
|
22859
22859
|
* next overlay.
|
|
22860
|
+
*
|
|
22861
|
+
* A segment starts with a letter and may carry digits after it, because a
|
|
22862
|
+
* regulation's own name can: `NIS2-1.1` is the EU overlay's NIS2 family, which
|
|
22863
|
+
* an all-letters segment silently dropped from every tenant's held controls
|
|
22864
|
+
* (PRO-3420). The numbering still follows the last hyphen, so a segment never
|
|
22865
|
+
* swallows it.
|
|
22860
22866
|
*/
|
|
22861
|
-
const CONTROL_ID_SOURCE = "[A-Z]{
|
|
22867
|
+
const CONTROL_ID_SOURCE = "[A-Z][A-Z0-9]{1,5}(?:-[A-Z][A-Z0-9]{1,5})*-\\d+(?:\\.\\d+)*";
|
|
22862
22868
|
/** True when `text` is exactly one control id. */
|
|
22863
22869
|
function isControlId(text) {
|
|
22864
22870
|
return new RegExp(`^${CONTROL_ID_SOURCE}$`).test(text);
|
|
@@ -22973,10 +22979,19 @@ const EU_COUNTRIES = [
|
|
|
22973
22979
|
name: "Sweden"
|
|
22974
22980
|
}
|
|
22975
22981
|
];
|
|
22982
|
+
/**
|
|
22983
|
+
* EEA countries outside the EU. Norway only: Iceland and Liechtenstein have
|
|
22984
|
+
* no overlay and no customer asking for one.
|
|
22985
|
+
*/
|
|
22986
|
+
const EEA_COUNTRIES = [{
|
|
22987
|
+
code: "NO",
|
|
22988
|
+
name: "Norway"
|
|
22989
|
+
}];
|
|
22990
|
+
[...EU_COUNTRIES, ...EEA_COUNTRIES];
|
|
22976
22991
|
/** Countries available during closed beta. Expand as we open new markets. */
|
|
22977
22992
|
const BETA_COUNTRIES = ["FI"];
|
|
22978
22993
|
EU_COUNTRIES.filter((c) => BETA_COUNTRIES.includes(c.code));
|
|
22979
|
-
Object.fromEntries(EU_COUNTRIES.map((c) => [c.code, "eu"]));
|
|
22994
|
+
Object.fromEntries([...EU_COUNTRIES.map((c) => [c.code, "eu"]), ...EEA_COUNTRIES.map((c) => [c.code, "eea"])]);
|
|
22980
22995
|
//#endregion
|
|
22981
22996
|
//#region ../../packages/types/dist/factories.js
|
|
22982
22997
|
const FACTORY_DOCUMENT_TYPES = ["factory_instructions"];
|
|
@@ -24465,6 +24480,9 @@ function lockfileScope(path, groups) {
|
|
|
24465
24480
|
case "packages.lock.json":
|
|
24466
24481
|
if (set.has("prod")) return "runtime";
|
|
24467
24482
|
return set.size === 1 && set.has("dev") ? "dev" : "unknown";
|
|
24483
|
+
case "pom.xml":
|
|
24484
|
+
if (set.has("prod") || set.has("compile") || set.has("runtime")) return "runtime";
|
|
24485
|
+
return set.size > 0 && [...set].every((g) => g === "test" || g === "dev") ? "dev" : "unknown";
|
|
24468
24486
|
case "poetry.lock":
|
|
24469
24487
|
if (set.has("taiga:prod")) return "runtime";
|
|
24470
24488
|
return set.size > 0 && !set.has("optional") && !set.has("main") ? "dev" : "unknown";
|
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.658",
|
|
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",
|