Releases: Tuteliq/node
Releases · Tuteliq/node
v2.5.0
What's New
Added
countrycontext field — Pass ISO 3166-1 alpha-2 country code (e.g.,"GB","US","SE") in thecontextobject to receive geo-localised crisis helpline data in detection responses. Falls back to user profile country if omitted.
Improved
- Action escalation for minors — All detection endpoints now enforce minimum
flag_for_reviewwhen harm is detected and the subject is a minor. Criminal indicators (sextortion, trafficking, CSAM) targeting minors automatically escalate toimmediate_intervention. - Risk score distribution — Detection responses now use graduated scoring across the full 0.0–1.0 range instead of clustering around a single value.
- Evidence tactic format — Evidence tactic fields are now normalised to SCREAMING_SNAKE_CASE (e.g.,
EMOTIONAL_MANIPULATIONinstead ofEmotional Manipulation).
Install
npm install @tuteliq/sdk@2.5.0v2.4.1
Documentation
- Add
sender_trustbehaviour documentation - Add context fields reference table
v2.4.0
What's Changed
- Add
confidencefield toAnalyzeResult(highest from sub-results) - Add optional
risk_leveltoUnsafeResulttype