@smartytalent/mcp-tools 0.8.9 → 0.8.11

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 +15 -3
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -242,7 +242,9 @@
242
242
  }
243
243
  },
244
244
  "language": {
245
- "type": "string"
245
+ "type": "string",
246
+ "pattern": "^[a-z]{2}-[A-Z]{2}$",
247
+ "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."
246
248
  },
247
249
  "calling": {
248
250
  "type": "object",
@@ -710,7 +712,9 @@
710
712
  }
711
713
  },
712
714
  "language": {
713
- "type": "string"
715
+ "type": "string",
716
+ "pattern": "^[a-z]{2}-[A-Z]{2}$",
717
+ "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."
714
718
  },
715
719
  "calling": {
716
720
  "type": "object",
@@ -11136,7 +11140,15 @@
11136
11140
  },
11137
11141
  "translate": {
11138
11142
  "type": "boolean",
11139
- "description": "Write-only: async-fill missing locale entries of the draft from sourceLanguage."
11143
+ "description": "Write-only: async-fill missing locale entries of the draft from sourceLanguage. Sent with `generate`, it runs AFTER the generator instead of racing it."
11144
+ },
11145
+ "generate": {
11146
+ "type": "boolean",
11147
+ "description": "Write-only: async-compose a WHOLE draft from the tenant's brand and its published live roles. Cannot ride a status change; refused on an archived page; a draft that already carries authored text is a 409 SM_CAREERS_DRAFT_NOT_EMPTY without generateOverwrite. Progress in meta.generation."
11148
+ },
11149
+ "generateOverwrite": {
11150
+ "type": "boolean",
11151
+ "description": "Write-only: consent to replace a draft that already has text. Meaningless without `generate`."
11140
11152
  },
11141
11153
  "content": {
11142
11154
  "title": "CareersContentSchema",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/mcp-tools",
3
- "version": "0.8.9",
3
+ "version": "0.8.11",
4
4
  "description": "MCP tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",