@smartytalent/mcp-tools 0.1.33-dev.50 → 0.1.33-dev.52
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/tools.json +129 -0
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -6047,6 +6047,10 @@
|
|
|
6047
6047
|
],
|
|
6048
6048
|
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
6049
6049
|
},
|
|
6050
|
+
"detectedLanguage": {
|
|
6051
|
+
"type": "string",
|
|
6052
|
+
"description": "BCP-47 code for the source content's primary language,\ndetected during AI extraction. Transcript language for\nvideo/audio, document body language for PDF/image.\nStable per-file. Drives the translation pipeline:\nAI extraction outputs canonical en-US, then the file AI\nLambda translates `summary` (and any future fields in\nFile.TRANSLATION_FIELDS) into the tenant's target locale.\nSource content (transcript / rawText) stays verbatim in\nthis language - we only translate AI-derived synthesis text."
|
|
6053
|
+
},
|
|
6050
6054
|
"sizeBytes": {
|
|
6051
6055
|
"type": "integer",
|
|
6052
6056
|
"description": "File size in bytes. Stable post-upload."
|
|
@@ -6230,6 +6234,10 @@
|
|
|
6230
6234
|
],
|
|
6231
6235
|
"description": "Renderer hint derived from contentType + conversion outputs.\nSet by the file service after conversion. `unknown` for\ncontent types with no preview pipeline."
|
|
6232
6236
|
},
|
|
6237
|
+
"detectedLanguage": {
|
|
6238
|
+
"type": "string",
|
|
6239
|
+
"description": "BCP-47 code for the source content's primary language,\ndetected during AI extraction. Transcript language for\nvideo/audio, document body language for PDF/image.\nStable per-file. Drives the translation pipeline:\nAI extraction outputs canonical en-US, then the file AI\nLambda translates `summary` (and any future fields in\nFile.TRANSLATION_FIELDS) into the tenant's target locale.\nSource content (transcript / rawText) stays verbatim in\nthis language - we only translate AI-derived synthesis text."
|
|
6240
|
+
},
|
|
6233
6241
|
"sizeBytes": {
|
|
6234
6242
|
"type": "integer",
|
|
6235
6243
|
"description": "File size in bytes. Stable post-upload."
|
|
@@ -17908,6 +17916,121 @@
|
|
|
17908
17916
|
}
|
|
17909
17917
|
}
|
|
17910
17918
|
},
|
|
17919
|
+
"relationships": {
|
|
17920
|
+
"title": "AttemptRelationshipsSchema",
|
|
17921
|
+
"type": "object",
|
|
17922
|
+
"properties": {
|
|
17923
|
+
"assessment": {
|
|
17924
|
+
"title": "AttemptRelationshipsAssessmentSchema",
|
|
17925
|
+
"type": "object",
|
|
17926
|
+
"properties": {
|
|
17927
|
+
"data": {
|
|
17928
|
+
"title": "AttemptRelationshipsAssessmentDataSchema",
|
|
17929
|
+
"type": "object",
|
|
17930
|
+
"properties": {
|
|
17931
|
+
"type": {
|
|
17932
|
+
"type": "string",
|
|
17933
|
+
"enum": [
|
|
17934
|
+
"assessments"
|
|
17935
|
+
]
|
|
17936
|
+
},
|
|
17937
|
+
"id": {
|
|
17938
|
+
"type": "string"
|
|
17939
|
+
}
|
|
17940
|
+
}
|
|
17941
|
+
}
|
|
17942
|
+
},
|
|
17943
|
+
"description": "FK to the template this attempt is a run of."
|
|
17944
|
+
},
|
|
17945
|
+
"candidate": {
|
|
17946
|
+
"title": "AttemptRelationshipsCandidateSchema",
|
|
17947
|
+
"type": "object",
|
|
17948
|
+
"properties": {
|
|
17949
|
+
"data": {
|
|
17950
|
+
"title": "AttemptRelationshipsCandidateDataSchema",
|
|
17951
|
+
"type": "object",
|
|
17952
|
+
"properties": {
|
|
17953
|
+
"type": {
|
|
17954
|
+
"type": "string",
|
|
17955
|
+
"enum": [
|
|
17956
|
+
"candidates"
|
|
17957
|
+
]
|
|
17958
|
+
},
|
|
17959
|
+
"id": {
|
|
17960
|
+
"type": "string"
|
|
17961
|
+
}
|
|
17962
|
+
}
|
|
17963
|
+
}
|
|
17964
|
+
}
|
|
17965
|
+
},
|
|
17966
|
+
"job": {
|
|
17967
|
+
"title": "AttemptRelationshipsJobSchema",
|
|
17968
|
+
"type": "object",
|
|
17969
|
+
"properties": {
|
|
17970
|
+
"data": {
|
|
17971
|
+
"title": "AttemptRelationshipsJobDataSchema",
|
|
17972
|
+
"type": "object",
|
|
17973
|
+
"properties": {
|
|
17974
|
+
"type": {
|
|
17975
|
+
"type": "string",
|
|
17976
|
+
"enum": [
|
|
17977
|
+
"jobs"
|
|
17978
|
+
]
|
|
17979
|
+
},
|
|
17980
|
+
"id": {
|
|
17981
|
+
"type": "string"
|
|
17982
|
+
}
|
|
17983
|
+
}
|
|
17984
|
+
}
|
|
17985
|
+
},
|
|
17986
|
+
"description": "Denormalised from the assessment template - the role this attempt is screening for."
|
|
17987
|
+
},
|
|
17988
|
+
"report": {
|
|
17989
|
+
"title": "AttemptRelationshipsReportSchema",
|
|
17990
|
+
"type": "object",
|
|
17991
|
+
"properties": {
|
|
17992
|
+
"data": {
|
|
17993
|
+
"title": "AttemptRelationshipsReportDataSchema",
|
|
17994
|
+
"type": "object",
|
|
17995
|
+
"properties": {
|
|
17996
|
+
"type": {
|
|
17997
|
+
"type": "string",
|
|
17998
|
+
"enum": [
|
|
17999
|
+
"files"
|
|
18000
|
+
]
|
|
18001
|
+
},
|
|
18002
|
+
"id": {
|
|
18003
|
+
"type": "string"
|
|
18004
|
+
}
|
|
18005
|
+
}
|
|
18006
|
+
}
|
|
18007
|
+
},
|
|
18008
|
+
"description": "Generated PDF report for this attempt's evaluation. Populated post-evaluation."
|
|
18009
|
+
},
|
|
18010
|
+
"files": {
|
|
18011
|
+
"title": "AttemptRelationshipsFilesSchema",
|
|
18012
|
+
"type": "object",
|
|
18013
|
+
"description": "FileResources attached to this attempt - one per file the\ncandidate uploaded as a `file-upload` or `video-recording`\nanswer. Populated by the workflow's `trigger_evaluation`\nstep after `process_attachments` registers each file with\nthe file service. Use `?include=files` on `showAttempt` /\n`showGuestAttempt` to sideload the FileResources in\n`included[]` (single round-trip preview).\nThe answer-to-file mapping lives on `FileResource.meta.questionId`\n(set at `file:process` time), not on AnswerFileSchema -\nrelated-resource IDs in attributes would violate JSON:API.",
|
|
18014
|
+
"properties": {
|
|
18015
|
+
"data": {
|
|
18016
|
+
"type": "array",
|
|
18017
|
+
"items": {
|
|
18018
|
+
"title": "AttemptRelationshipsFilesDataSchema",
|
|
18019
|
+
"type": "object",
|
|
18020
|
+
"properties": {
|
|
18021
|
+
"type": {
|
|
18022
|
+
"type": "string"
|
|
18023
|
+
},
|
|
18024
|
+
"id": {
|
|
18025
|
+
"type": "string"
|
|
18026
|
+
}
|
|
18027
|
+
}
|
|
18028
|
+
}
|
|
18029
|
+
}
|
|
18030
|
+
}
|
|
18031
|
+
}
|
|
18032
|
+
}
|
|
18033
|
+
},
|
|
17911
18034
|
"meta": {
|
|
17912
18035
|
"type": "object",
|
|
17913
18036
|
"description": "Free-form metadata. The assessment workflow uses\nmeta.runContext to stash the runId/shardId of the\nparking long-running step so the eventbus resumer\ncan wake the workflow on ATTEMPT_SUBMITTED.",
|
|
@@ -18019,6 +18142,12 @@
|
|
|
18019
18142
|
"questionId": {
|
|
18020
18143
|
"type": "string",
|
|
18021
18144
|
"description": "Optional question id this upload is for. Used for S3 key partitioning + downstream join hint; not auth-relevant."
|
|
18145
|
+
},
|
|
18146
|
+
"durationMs": {
|
|
18147
|
+
"type": "integer",
|
|
18148
|
+
"format": "int64",
|
|
18149
|
+
"minimum": 0,
|
|
18150
|
+
"description": "Optional client-measured recording duration in milliseconds.\nSet by the candidate FE for video-recording / audio-recording\nquestions where MediaRecorder doesn't finalize the container's\nDuration element. Used as a fallback when ffprobe / re-mux\ncan't derive duration from the file alone. Backend persists\nit to attempt.meta.pendingUploads[fileKey] and surfaces it\nvia attempt:show -> fileRefs so the workflow's process_attachments\nstep forwards it to file:process; the file row then carries\nattributes.durationSeconds + meta.durationSource='client'\nuntil ffmpeg re-mux overwrites with a more reliable value."
|
|
18022
18151
|
}
|
|
18023
18152
|
}
|
|
18024
18153
|
},
|