@taiga-ai/mcp-server 0.39.0-dev.1235 → 0.39.0-dev.1236

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.
Files changed (2) hide show
  1. package/dist/index.js +23 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -30040,7 +30040,8 @@ function frameworkFloorProblem(floor, definitions = FRAMEWORK_DEFINITIONS) {
30040
30040
  }
30041
30041
  const frameworkId = string$2().min(1).max(40);
30042
30042
  const levelId = string$2().min(1).max(20);
30043
- array(strictObject({
30043
+ /** A product's chosen frameworks, checked against the definitions on offer. */
30044
+ const frameworkChoicesSchema = array(strictObject({
30044
30045
  framework: frameworkId,
30045
30046
  level: levelId.optional()
30046
30047
  })).max(FRAMEWORK_DEFINITIONS.length).superRefine((choices, ctx) => {
@@ -30050,7 +30051,8 @@ array(strictObject({
30050
30051
  message: problem
30051
30052
  });
30052
30053
  });
30053
- array(strictObject({
30054
+ /** A factory's floor, checked the same way. */
30055
+ const frameworkFloorSchema = array(strictObject({
30054
30056
  framework: frameworkId,
30055
30057
  minLevel: levelId.optional()
30056
30058
  })).max(FRAMEWORK_DEFINITIONS.length).superRefine((floor, ctx) => {
@@ -30060,8 +30062,10 @@ array(strictObject({
30060
30062
  message: problem
30061
30063
  });
30062
30064
  });
30065
+ /** A product's industry: one of the industries on offer. */
30066
+ const productIndustrySchema = _enum(SUPPORTED_INDUSTRIES);
30063
30067
  strictObject({
30064
- industry: _enum(SUPPORTED_INDUSTRIES).optional(),
30068
+ industry: productIndustrySchema.optional(),
30065
30069
  marketCountries: array(string$2().length(2).refine((code) => ISO_COUNTRIES.some((country) => country.code === code), "Not an ISO 3166 country code")).max(ISO_COUNTRIES.length).refine((codes) => new Set(codes).size === codes.length, "A country is listed twice").optional(),
30066
30070
  scopeAnswers: partialRecord(_enum(SCOPE_TRIGGERS), _enum(SCOPE_ANSWER_VALUES)).optional()
30067
30071
  });
@@ -30870,6 +30874,17 @@ strictObject({
30870
30874
  description: string$2().max(2e3).optional(),
30871
30875
  target: uiConceptPick.optional()
30872
30876
  });
30877
+ object({
30878
+ industry: _enum(SUPPORTED_INDUSTRIES).nullable(),
30879
+ frameworks: array(object({
30880
+ framework: string$2(),
30881
+ level: string$2().optional()
30882
+ }))
30883
+ });
30884
+ object({ floor: array(object({
30885
+ framework: string$2(),
30886
+ minLevel: string$2().optional()
30887
+ })) });
30873
30888
  strictObject({
30874
30889
  screen: string$2().min(1).max(2e3),
30875
30890
  variantCount: number$1().int().min(1).max(3),
@@ -30886,7 +30901,10 @@ strictObject({
30886
30901
  "empty_states",
30887
30902
  "forms"
30888
30903
  ]).nullish()
30889
- }), strictObject({ source: string$2().min(1).max(102400) }), strictObject({ linkId: string$2().uuid().optional() }), strictObject({
30904
+ }), strictObject({ source: string$2().min(1).max(102400) }), strictObject({
30905
+ industry: productIndustrySchema.nullable().optional(),
30906
+ frameworks: frameworkChoicesSchema.optional()
30907
+ }).refine(({ industry, frameworks }) => industry !== void 0 || frameworks !== void 0, { message: "Provide the industry or the frameworks to change" }), strictObject({ linkId: string$2().uuid().optional() }), strictObject({
30890
30908
  kind: _enum(ACCESS_REQUEST_KINDS),
30891
30909
  linkId: string$2().uuid().optional()
30892
30910
  }), object({ sent: boolean() }), strictObject({ type: productDocumentType }), object({
@@ -31061,7 +31079,7 @@ object({
31061
31079
  });
31062
31080
  /** A factory document type, its legacy name read as the current one. */
31063
31081
  const factoryDocumentType = _enum([...FACTORY_DOCUMENT_TYPES, LEGACY_FACTORY_INSTRUCTIONS_TYPE]).transform((type) => type === "team_instructions" ? FACTORY_INSTRUCTIONS_TYPE : type);
31064
- strictObject({ type: factoryDocumentType }), strictObject({ type: factoryDocumentType });
31082
+ strictObject({ floor: frameworkFloorSchema }), strictObject({ type: factoryDocumentType }), strictObject({ type: factoryDocumentType });
31065
31083
  /**
31066
31084
  * A registry scope: an npm scope ("@acme") or a Go module path prefix
31067
31085
  * ("github.com/acme"), as `POST /registries` takes one (PRO-3670). Which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.39.0-dev.1235",
3
+ "version": "0.39.0-dev.1236",
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",