🎛 Interactions Protocol Playground—major improvements

July 24, 2025

We’ve shipped a big update to the Interactions Protocol Playground—making it more reliable, insightful, and user-friendly across the board.

đź§  Context Box Enhancements

  • Switched to the correct properties.context format (was properties.text) for full API compliance
  • Added a toggle for append vs overwrite context modes—now controlled via clean radio buttons with dynamic updates

📊 Event Logging Overhaul

  • Upgraded from utterance-only logs to full coverage of (almost all) Tavus event types
  • Introduced a structured table view: timestamps, event types, direction, role, text, inference IDs
  • Includes color-coded entries, CSV export, interactive legend, and a cleaner UI

📞 Call Management Updates

  • Added a smart Leave button that appears only when actively connected
  • Includes visual feedback and proper cleanup on exit

đź§Ż Smarter Error Handling

  • Implemented detection for duplicate DailyIframe instances
  • If detected, users now see a polished error modal with options to refresh or dismiss, helping prevent Daily.js conflicts

‍