@smartytalent/mcp-tools 0.9.38 → 0.9.40

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 +16 -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).\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."
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 locales the tenant publishes in (an unordered set, BCP-47, e.g. [en-US, en-GB]). A TOP-LEVEL tenant attribute - never inside settings. Supported: en-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB.",
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).\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
878
  },
878
879
  "calling": {
879
880
  "type": "object",
@@ -1044,6 +1045,7 @@
1044
1045
  },
1045
1046
  "activeLanguages": {
1046
1047
  "type": "array",
1048
+ "description": "The locales the tenant publishes in (an unordered set, BCP-47, e.g. [en-US, en-GB]). A TOP-LEVEL tenant attribute - never inside settings. Supported: en-US, pl-PL, de-DE, it-IT, fr-FR, cs-CZ, he-IL, en-GB.",
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`; 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`)."
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`; 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`)."
2165
2169
  },
2166
2170
  "phone": {
2167
2171
  "type": "string"
@@ -4392,7 +4396,8 @@
4392
4396
  "it-IT",
4393
4397
  "he-IL",
4394
4398
  "fr-FR",
4395
- "cs-CZ"
4399
+ "cs-CZ",
4400
+ "en-GB"
4396
4401
  ]
4397
4402
  }
4398
4403
  }
@@ -5998,7 +6003,8 @@
5998
6003
  "it-IT",
5999
6004
  "he-IL",
6000
6005
  "fr-FR",
6001
- "cs-CZ"
6006
+ "cs-CZ",
6007
+ "en-GB"
6002
6008
  ]
6003
6009
  }
6004
6010
  }
@@ -7428,7 +7434,8 @@
7428
7434
  "it-IT",
7429
7435
  "he-IL",
7430
7436
  "fr-FR",
7431
- "cs-CZ"
7437
+ "cs-CZ",
7438
+ "en-GB"
7432
7439
  ]
7433
7440
  }
7434
7441
  }
@@ -10943,7 +10950,7 @@
10943
10950
  "additionalProperties": {
10944
10951
  "type": "string"
10945
10952
  },
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."
10953
+ "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
10954
  },
10948
10955
  "questions": {
10949
10956
  "type": "array",
@@ -11155,7 +11162,7 @@
11155
11162
  "additionalProperties": {
11156
11163
  "type": "string"
11157
11164
  },
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."
11165
+ "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
11166
  },
11160
11167
  "questions": {
11161
11168
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.9.38",
3
+ "version": "0.9.40",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",