From 1fc853664420cec85645c9249b683f8a409b9980 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Thu, 16 Apr 2026 01:52:06 +0000 Subject: [PATCH] feat: add edge crisis detection (#102) --- edge/crisis_resources.json | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 edge/crisis_resources.json diff --git a/edge/crisis_resources.json b/edge/crisis_resources.json new file mode 100644 index 00000000..8b482770 --- /dev/null +++ b/edge/crisis_resources.json @@ -0,0 +1,62 @@ +{ + "version": "1.0.0", + "last_updated": "2026-04-15", + "national": [ + { + "name": "988 Suicide & Crisis Lifeline", + "phone": "988", + "sms": "988", + "description": "Call or text 988 for free, confidential support 24/7", + "available": "24/7" + }, + { + "name": "Crisis Text Line", + "sms": "741741", + "keyword": "HELLO", + "description": "Text HOME to 741741 for crisis counseling", + "available": "24/7" + }, + { + "name": "SAMHSA National Helpline", + "phone": "1-800-662-4357", + "description": "Free referral service for substance abuse and mental health", + "available": "24/7" + }, + { + "name": "Veterans Crisis Line", + "phone": "988", + "sms": "838255", + "description": "Press 1 after dialing 988 for Veterans-specific support", + "available": "24/7" + } + ], + "international": [ + { + "name": "International Association for Suicide Prevention", + "url": "https://www.iasp.info/resources/Crisis_Centres/", + "description": "Directory of crisis centers worldwide" + } + ], + "self_help": [ + { + "name": "Grounding Technique (5-4-3-2-1)", + "steps": [ + "Name 5 things you can SEE", + "Name 4 things you can TOUCH", + "Name 3 things you can HEAR", + "Name 2 things you can SMELL", + "Name 1 thing you can TASTE" + ] + }, + { + "name": "Box Breathing", + "steps": [ + "Breathe IN for 4 seconds", + "HOLD for 4 seconds", + "Breathe OUT for 4 seconds", + "HOLD for 4 seconds", + "Repeat 4 times" + ] + } + ] +}