@taiga-ai/mcp-server 0.37.0-dev.1138 → 0.37.0-dev.1140
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 +26 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -24892,13 +24892,26 @@ function namesOf(entry) {
|
|
|
24892
24892
|
];
|
|
24893
24893
|
return new Set(names.map((name) => name.trim().toLowerCase()).filter((name) => name.length > 0));
|
|
24894
24894
|
}
|
|
24895
|
-
|
|
24895
|
+
/**
|
|
24896
|
+
* What an organization declares: catalogue entries, and technologies the
|
|
24897
|
+
* catalogue does not list, each named in its facet. A "not listed" name is
|
|
24898
|
+
* stated in the policy as declared and never promises a build.
|
|
24899
|
+
*
|
|
24900
|
+
* A framework needs one of its languages: a declaration naming Laravel
|
|
24901
|
+
* without PHP is refused rather than guessed at.
|
|
24902
|
+
*/
|
|
24903
|
+
const stackDeclarationSchema = object({
|
|
24896
24904
|
entries: array(_enum(STACK_ENTRY_IDS)).max(STACK_ENTRY_IDS.length * 2),
|
|
24897
24905
|
notListed: array(object({
|
|
24898
24906
|
facet: _enum(STACK_FACETS),
|
|
24899
|
-
name: string$2().trim().min(1).max(60)
|
|
24907
|
+
name: string$2().trim().min(1).max(60).regex(/^[^\r\n\t|]+$/, { message: "Use one line without |" })
|
|
24900
24908
|
})).max(20).default([])
|
|
24901
24909
|
}).superRefine((declaration, ctx) => {
|
|
24910
|
+
if (declaration.entries.length === 0 && declaration.notListed.length === 0) ctx.addIssue({
|
|
24911
|
+
code: "custom",
|
|
24912
|
+
path: ["entries"],
|
|
24913
|
+
message: "Declare at least one technology"
|
|
24914
|
+
});
|
|
24902
24915
|
const chosen = new Set(declaration.entries);
|
|
24903
24916
|
declaration.entries.forEach((id, index) => {
|
|
24904
24917
|
const entry = BY_ID.get(id);
|
|
@@ -30547,19 +30560,21 @@ strictObject({
|
|
|
30547
30560
|
frameworks: array(_enum(COMPLIANCE_FRAMEWORKS)).max(COMPLIANCE_FRAMEWORKS.length).optional(),
|
|
30548
30561
|
cloudProviders: array(_enum(CLOUD_PROVIDERS)).min(1).optional(),
|
|
30549
30562
|
ecosystems: array(_enum(ECOSYSTEMS)).min(1).optional(),
|
|
30563
|
+
stack: stackDeclarationSchema.nullable().optional(),
|
|
30550
30564
|
productMarkets: strictObject({
|
|
30551
30565
|
productId: uuid,
|
|
30552
30566
|
countries: array(knownCountry).max(ISO_COUNTRIES.length),
|
|
30553
30567
|
notOfferedAtHome: boolean().optional()
|
|
30554
30568
|
}).optional(),
|
|
30555
30569
|
overrides: record(string$2().max(100), array(string$2().max(200)).max(200)).optional()
|
|
30556
|
-
}).refine(({ industries, country, servesEu, frameworks, cloudProviders, ecosystems, productMarkets }) => [
|
|
30570
|
+
}).refine(({ industries, country, servesEu, frameworks, cloudProviders, ecosystems, stack, productMarkets }) => [
|
|
30557
30571
|
industries,
|
|
30558
30572
|
country,
|
|
30559
30573
|
servesEu,
|
|
30560
30574
|
frameworks,
|
|
30561
30575
|
cloudProviders,
|
|
30562
30576
|
ecosystems,
|
|
30577
|
+
stack,
|
|
30563
30578
|
productMarkets
|
|
30564
30579
|
].some((x) => x !== void 0), { message: "Provide at least one context field to change" });
|
|
30565
30580
|
object({
|
|
@@ -30570,7 +30585,14 @@ object({
|
|
|
30570
30585
|
marketCountries: array(string$2()),
|
|
30571
30586
|
frameworks: array(string$2()),
|
|
30572
30587
|
cloudProviders: array(_enum(CLOUD_PROVIDERS)),
|
|
30573
|
-
ecosystems: array(_enum(ECOSYSTEMS))
|
|
30588
|
+
ecosystems: array(_enum(ECOSYSTEMS)),
|
|
30589
|
+
stack: object({
|
|
30590
|
+
entries: array(_enum(STACK_ENTRY_IDS)),
|
|
30591
|
+
notListed: array(object({
|
|
30592
|
+
facet: _enum(STACK_FACETS),
|
|
30593
|
+
name: string$2()
|
|
30594
|
+
}))
|
|
30595
|
+
}).nullable()
|
|
30574
30596
|
}),
|
|
30575
30597
|
documents: array(object({
|
|
30576
30598
|
type: string$2(),
|
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.1140",
|
|
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",
|