Skip to content

Releases: Tuteliq/node

v2.5.0

15 Mar 08:21

Choose a tag to compare

What's New

Added

  • country context field — Pass ISO 3166-1 alpha-2 country code (e.g., "GB", "US", "SE") in the context object 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_review when harm is detected and the subject is a minor. Criminal indicators (sextortion, trafficking, CSAM) targeting minors automatically escalate to immediate_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_MANIPULATION instead of Emotional Manipulation).

Install

npm install @tuteliq/sdk@2.5.0

v2.4.1

14 Mar 07:00

Choose a tag to compare

Documentation

  • Add sender_trust behaviour documentation
  • Add context fields reference table

v2.4.0

13 Mar 20:15

Choose a tag to compare

What's Changed

  • Add confidence field to AnalyzeResult (highest from sub-results)
  • Add optional risk_level to UnsafeResult type