Spaces:
Running
Running
Commit History
4 days ago
-
Open a tool directly with ?tool= (linked from Take the Scenic Route) Running
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>f546c12
-
Drop temperature param, unsupported on claude-sonnet-5
The live API rejected every request with "temperature is deprecated for this model" once the model was updated to claude-sonnet-5. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>359e104 -
Update to claude-sonnet-5, the retired model was breaking every reply
claude-sonnet-4-20250514 has been retired by Anthropic (confirmed via a live 404 not_found_error from the API), which is why every ARI tool and partner-chat call was failing. Point both endpoints at the current Sonnet model. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>2a385b7 -
Fix broken error handling in streaming endpoints
Raising HTTPException from inside a StreamingResponse's generator doesn't work: by the time the generator runs, Starlette has already committed the 200 status and headers to the client, so an upstream error just aborts the connection instead of surfacing a proper error (this is what live users were hitting as "Connection error." / ERR_HTTP2_PROTOCOL_ERROR after the streaming change went out). Now the Anthropic request is opened and its status checked before the StreamingResponse is constructed, so upstream errors still return a normal HTTPException with the real status/detail, and only a confirmed success proceeds to stream. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>7e3a82b -
Improve perceived and actual response latency
- Reuse a single httpx.AsyncClient across requests (FastAPI lifespan) instead of opening a fresh connection to api.anthropic.com on every message, avoiding a repeated TCP+TLS handshake per turn. - Stream Claude's reply to the browser as plain text (Anthropic SSE parsed server-side) instead of waiting for the full completion, so ARI tool replies and partner messages render incrementally. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>e6f8bce
-
Shorten GROUND opener
Just "Look around. Name 5 things you can see." - no lecture. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>b15f737 -
Add GROUND tool + reorder categories + fix rainbow cascade
Categories now: Express → Regulate → Understand → Reconnect 12 tools with cascading rainbow (red → purple top to bottom): - Express: SEND (red), TEND (orange-red), NVC (orange) - Regulate: SOMA (amber), LOVE (yellow), GROUND (lime) - Understand: FEEL (green), NEED (teal), STORY (cyan) - Reconnect: REPAIR (blue), APPRECIATE (indigo), WISDOM (violet) GROUND = 5-4-3-2-1 sensory grounding (external senses) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>32ae7d4 -
Cascading rainbow top to bottom
Colors now flow red → purple from top to bottom: - Regulate: SOMA (red), LOVE (orange-red) - Understand: FEEL (orange), NEED (yellow), STORY (lime) - Express: SEND (green), TEND (teal), NVC (cyan) - Reconnect: REPAIR (blue), APPRECIATE (indigo), WISDOM (violet) Both sidebar and button rows match the same cascade. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>97f041d -
Reorganize tools into categories + add APPRECIATE
Categories with rainbow colors: - Regulate: SOMA (orange), LOVE (pink) - Understand: FEEL (yellow), NEED (green), STORY (cyan) - Express: SEND (red), TEND (orange-red), PRACTICE NVC (teal) - Reconnect: REPAIR (blue), APPRECIATE (violet), WISDOM (indigo) APPRECIATE tool (Gottman's 5:1): - Helps catch the good stuff - Finds genuine appreciation even in hard moments - "Thank you for telling me where you're at" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>9a43c4b -
Add STORY tool (Brené Brown's "the story I'm making up")
- Surfaces assumptions before they become accusations - Owns narrative as interpretation, not fact - Opens curiosity instead of certainty - Great for anxious/avoidant dynamics Button order: SEND, TEND, SOMA, FEEL, NEED, PRACTICE NVC, STORY, REPAIR, WISDOM, LOVE Color: Sky blue (#0ea5e9) between teal and blue Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>c23c3fa -
WISDOM tool: choice between conversation context or custom
User can now choose: - "Use my conversation" - pulls from chat history (default) - "I'll write context" - shows textarea for custom situation/question Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>d47699c -
Make SOMA more concise + trauma-informed
- 2-4 sentences max, one question at a time - Acknowledges some can't access body sensations - Offers LOVE button as alternative if body check-in is hard Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>865acef -
Swap feelings order: NOT met first, then ARE met
More intuitive for difficult conversations - unmet needs feelings shown first Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1a97a14 -
Context-aware SOMA + Update README to show ARI = TEND toolkit
SOMA now pulls body/sensation words from user input: - "it makes me sick" → "Where do you feel this 'sick' in your body?" - Scans for 40+ body terms (tight, numb, chest, etc.) - Falls back to generic check-in if no body words found README updated: - Title: "Tend & Send - The ARI Toolkit" - Clarifies ARI is the suite built around TEND - Tools listed in rainbow order - Added WISDOM, removed LISTEN Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>0c0c388 -
Rainbow colors for sidebar in same order as buttons
Order: SEND, TEND, SOMA, FEEL, NEED, PRACTICE NVC, REPAIR, WISDOM, LOVE Each tool description has matching rainbow color from red to purple Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>ec391a4 -
Remove NVC reference from TEND description
Makes description more accessible to users unfamiliar with NVC Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>6410ffd -
Add rainbow colors to tool buttons (red → purple)
SEND: Red (#ef4444) TEND: Orange-red (#f97316) SOMA: Orange (#f59e0b) FEEL: Yellow (#eab308) NEED: Green (#22c55e) PRACTICE NVC: Teal (#14b8a6) REPAIR: Blue (#3b82f6) WISDOM: Indigo (#6366f1) LOVE: Purple (#a855f7) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>e2eb37c -
Reorder tool buttons
New order: SEND, TEND, SOMA, FEEL, NEED, PRACTICE NVC, REPAIR, WISDOM, LOVE Renamed NVC button to PRACTICE NVC Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>d0a6e1f -
Make partner bot improv-like, not therapist-like
Rewrote all PARTNER_PROMPTS to emphasize real human reactions: - Never validate feelings professionally - Never be "curious" like a therapist - React authentically based on attachment style - Make it messy, real, human - like improv - Secure = regulated, not saintly Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>6f7d981 -
Remove countdown timer from LOVE breathing
Square breathing now shows just phase text (Breathe in..., Hold..., etc.) without countdown numbers for a calmer, less distracting experience. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>b2f1592 -
Remove LISTEN/Receive Mode tool
75d18fd -
Make FEEL/NEED reflections brief and natural
- 3-5 sentences max, no headers or bullet points - Embed wisdom naturally without explicit citations - Focus on building emotional intelligence - Warm, conversational tone Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>2fe5e9d -
Enhanced FEEL/NEED tools + proper square breathing
FEEL/NEED improvements: - Expanded NVC vocabulary from Marshall Rosenberg's complete lists - Added psychoeducation from Brené Brown, Tara Brach, Sarah Peyton - Feelings reflection connects to needs and includes insights - Needs reflection includes request suggestions LOVE breathing fix: - Proper square breathing: 5s in, 4s hold, 5s out, 4s hold - Visual countdown during each phase - Circle animates to match breath phase Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>0b56fd7 -
Add WISDOM tool with sacred text traditions
- New WISDOM tool: Choose from Torah/Talmud, Jesus Following, Quran, Buddhist Texts, Rumi, or Brené Brown - Analyzes conversation themes and provides relevant wisdom quotes - Added backend prompt for wisdom/sacred texts - Golden styling for WISDOM button - Interactive tradition selection like FEEL and NEED tools Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>7d4dcb0 -
Add interactive FEEL and NEED tools + update HF description
- FEEL tool: Clickable feelings list organized by needs met/unmet - NEED tool: Clickable needs list organized by NVC categories - Users can self-identify feelings/needs, then get AI reflection - Updated README.md with correct "Tend & Send ARI Prototype" title - Purple/indigo branding colors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>ae87306 -
Complete 3-panel layout rebuild with tool buttons
- LEFT: Tool descriptions with explanations - CENTER: Conversation + tool button row (TEND, SEND, NVC, FEEL, NEED, LISTEN, REPAIR, SOMA, LOVE) - RIGHT: Tool workspace panel (opens when tools are used) - Added LOVE tool (breathing/slow down overlay) - Cleaner, more focused UI - Partner prompts still realistic (NOT therapist) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>0eda47f -
Make partner bot more realistic - NOT a therapist
- Updated all partner prompts to emphasize real human reactions - Partner should react authentically (shocked, hurt, defensive, scared) - Explicitly instructed NOT to be supportive/validating like a therapist - Real people don't validate when told "I want a divorce" - they react Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>06d9faf -
Add 3-panel layout, verbosity toggle, and improved Receive Mode
- Added right tool panel for tool conversations (separate from main chat) - Tools now open in dedicated side panel instead of mixing with conversation - Added "Detailed Mode" toggle for more/less explanation from tools - Improved Receive Mode with clearer output format - Cleaned up old workspace mode code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>df3f4f9 -
Move setup to main area, keep ARI tools in sidebar, add reset button
f6bfe81 -
Fix: No first-person from ARI, clear workspace mode for Guided NVC, better intensity check
6164981 -
Support both ANTHROPIC_API_KEY and anthropic_key secret names
e44e9d6 -
Update to Tend & Send ARI Prototype with toolkit sidebar
424a54a
-
Trigger rebuild
46862a0
-
Add scene setup: relationship, name, context
b6a8769 -
Force 1-5 word cold responses in stretch mode
c639ec8 -
Make stretch mode friction much stronger
37e52fe -
Increase relational friction and longer delays
1867e69 -
Move End Session button, add longer pauses
4a6e944
-
Add occasional longer stretch pauses (10-20s)
6de8392
-
Add starter message and mobile tabs for iOS
2d28d59 -
Use anthropic_key secret name
f33abb4 -
Tolerate Space Lab - initial commit
48edd44