@smartytalent/mcp-tools 0.9.39 → 0.9.41

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/tools.json +19 -9
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -297,7 +297,7 @@
297
297
  "language": {
298
298
  "type": "string",
299
299
  "pattern": "^[a-z]{2}-[A-Z]{2}$",
300
- "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL.\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale, careers `sourceLanguage` at\ncreate, and the translation target of the file/talent/\npersona/timeline/report AI paths. Onboarding seeds every new\nuser's Cognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). NOTE: the server does not yet enforce this\npattern on write - consumers validate defensively and fall\nback to en-US."
300
+ "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale),\nar-AE (Modern Standard Arabic).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale and careers `sourceLanguage`\nat create; NOT the translation target of the entity AI paths\n(file / talent / persona / timeline / report translate into the\npair's extra language). Onboarding seeds every new user's\nCognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). CHECKED on write (PLAN_TENANT_LANGUAGES,\n2026-09-25): a platform locale that is one of the tenant's\n`activeLanguages`, else a 400; missing at create = en-US.\nChanging it does NOT change `activeLanguages`. The entity AI\npipelines translate into the pair's extra language, not into\nthis default."
301
301
  },
302
302
  "calling": {
303
303
  "type": "object",
@@ -468,6 +468,7 @@
468
468
  },
469
469
  "activeLanguages": {
470
470
  "type": "array",
471
+ "description": "The tenant's SUPPORTED-LANGUAGE PAIR: the system language en-US plus AT MOST ONE more - [en-US] or [en-US, X], X one of pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB, ar-AE (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE). Set when the organisation is created (omitted = [en-US] plus settings.language when that is not en-US); afterwards only a system owner may change it - any other role may re-send the same pair (any order) and gets a 400 for a different one. settings.language (the default) must be one of these; the entity AI pipelines translate into X. Checked by the server, not by schema constraints: a generated client must still read a legacy row (e.g. [] or ['pl']) until the data fix reaches it. A TOP-LEVEL tenant attribute - never inside settings.",
471
472
  "items": {
472
473
  "type": "string",
473
474
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -873,7 +874,7 @@
873
874
  "language": {
874
875
  "type": "string",
875
876
  "pattern": "^[a-z]{2}-[A-Z]{2}$",
876
- "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL.\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale, careers `sourceLanguage` at\ncreate, and the translation target of the file/talent/\npersona/timeline/report AI paths. Onboarding seeds every new\nuser's Cognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). NOTE: the server does not yet enforce this\npattern on write - consumers validate defensively and fall\nback to en-US."
877
+ "description": "THE ORGANISATION'S OWN LANGUAGE - the tenant-level default\nevery surface falls back to when nothing more specific says\notherwise. BCP-47 (`pl-PL`, not `pl`). Supported today:\nen-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB\n(British English; en-US stays the canonical storage locale),\nar-AE (Modern Standard Arabic).\n\nDistinct from `activeLanguages`, which is an UNORDERED SET of\nthe locales a tenant publishes in and carries no notion of a\nprimary one - never read `activeLanguages[0]` as the default.\nAlso distinct from a user's Cognito `locale`, which is one\nrecruiter's interface language.\n\nRead by the outbound-email locale chain, conversation\nlanguage, meeting lobby locale and careers `sourceLanguage`\nat create; NOT the translation target of the entity AI paths\n(file / talent / persona / timeline / report translate into the\npair's extra language). Onboarding seeds every new user's\nCognito locale from it.\n\nClient-writable through tenant create/PATCH (settings merge\nis shallow, so sending only `language` preserves the other\nsettings keys). CHECKED on write (PLAN_TENANT_LANGUAGES,\n2026-09-25): a platform locale that is one of the tenant's\n`activeLanguages`, else a 400; missing at create = en-US.\nChanging it does NOT change `activeLanguages`. The entity AI\npipelines translate into the pair's extra language, not into\nthis default."
877
878
  },
878
879
  "calling": {
879
880
  "type": "object",
@@ -1044,6 +1045,7 @@
1044
1045
  },
1045
1046
  "activeLanguages": {
1046
1047
  "type": "array",
1048
+ "description": "The tenant's SUPPORTED-LANGUAGE PAIR: the system language en-US plus AT MOST ONE more - [en-US] or [en-US, X], X one of pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB, ar-AE (PLAN_TENANT_LANGUAGES, 2026-09-25; ar-AE since PLAN_LANGUAGE_AR_AE). Set when the organisation is created (omitted = [en-US] plus settings.language when that is not en-US); afterwards only a system owner may change it - any other role may re-send the same pair (any order) and gets a 400 for a different one. settings.language (the default) must be one of these; the entity AI pipelines translate into X. Checked by the server, not by schema constraints: a generated client must still read a legacy row (e.g. [] or ['pl']) until the data fix reaches it. A TOP-LEVEL tenant attribute - never inside settings.",
1047
1049
  "items": {
1048
1050
  "type": "string",
1049
1051
  "pattern": "^[a-z]{2}-[A-Z]{2}$"
@@ -1813,7 +1815,8 @@
1813
1815
  "type": "string"
1814
1816
  },
1815
1817
  "locale": {
1816
- "type": "string"
1818
+ "type": "string",
1819
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE` - every variant is its own language, `ar-SA` is not ar-AE; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`)."
1817
1820
  },
1818
1821
  "phone": {
1819
1822
  "type": "string"
@@ -2161,7 +2164,8 @@
2161
2164
  "type": "string"
2162
2165
  },
2163
2166
  "locale": {
2164
- "type": "string"
2167
+ "type": "string",
2168
+ "description": "The user's language as a BCP-47 tag (the Cognito `locale`). British English is stored as the full `en-GB`, Arabic (Modern Standard, UAE) as `ar-AE` - every variant is its own language, `ar-SA` is not ar-AE; legacy 2-letter values (`en`, `pl`, ...) exist and mean the base locale (`en` = en-US). Clients derive their URL segment from it (`en-GB` -> `en-gb`, `ar-AE` -> `ar`, `he-IL` -> `he`)."
2165
2169
  },
2166
2170
  "phone": {
2167
2171
  "type": "string"
@@ -4392,7 +4396,9 @@
4392
4396
  "it-IT",
4393
4397
  "he-IL",
4394
4398
  "fr-FR",
4395
- "cs-CZ"
4399
+ "cs-CZ",
4400
+ "en-GB",
4401
+ "ar-AE"
4396
4402
  ]
4397
4403
  }
4398
4404
  }
@@ -5998,7 +6004,9 @@
5998
6004
  "it-IT",
5999
6005
  "he-IL",
6000
6006
  "fr-FR",
6001
- "cs-CZ"
6007
+ "cs-CZ",
6008
+ "en-GB",
6009
+ "ar-AE"
6002
6010
  ]
6003
6011
  }
6004
6012
  }
@@ -7428,7 +7436,9 @@
7428
7436
  "it-IT",
7429
7437
  "he-IL",
7430
7438
  "fr-FR",
7431
- "cs-CZ"
7439
+ "cs-CZ",
7440
+ "en-GB",
7441
+ "ar-AE"
7432
7442
  ]
7433
7443
  }
7434
7444
  }
@@ -10943,7 +10953,7 @@
10943
10953
  "additionalProperties": {
10944
10954
  "type": "string"
10945
10955
  },
10946
- "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by locale prefix with en-US fallback."
10956
+ "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render the exact tag, then en-US, then the first available - never by the bare 2-letter prefix (en-US and en-GB share `en`)."
10947
10957
  },
10948
10958
  "questions": {
10949
10959
  "type": "array",
@@ -11155,7 +11165,7 @@
11155
11165
  "additionalProperties": {
11156
11166
  "type": "string"
11157
11167
  },
11158
- "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render by locale prefix with en-US fallback."
11168
+ "description": "Locale map, e.g. {\"en-US\": \"Your application experience\", \"pl-PL\": \"...\"}. en-US is required to publish; clients render the exact tag, then en-US, then the first available - never by the bare 2-letter prefix (en-US and en-GB share `en`)."
11159
11169
  },
11160
11170
  "questions": {
11161
11171
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.9.39",
3
+ "version": "0.9.41",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",