@gymmymac/bob-widget 3.2.17 → 3.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,11 +5,21 @@ All notable changes to the `@gymmymac/bob-widget` package will be documented in
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
- ## [v3.2.17] - 2026-03-21
8
+ ## [v3.2.18] - 2026-03-26
9
+
10
+ ### Fixed
11
+
12
+ - **iOS TTS now works on ALL iOS browsers (Safari, Chrome, Firefox)** — Replaced the silent-WAV `HTMLAudioElement` unlock with a shared **Web Audio API `AudioContext`** singleton. The context is `.resume()`'d on the first user gesture and stays unlocked for the page lifetime. All TTS playback now routes through `decodeAudioData()` → `AudioBufferSourceNode`, which succeeds even after async `fetch()` calls. This fixes the root cause: iOS WebKit does not transfer an audio "unlock" between different `Audio` elements.
13
+
14
+ ---
15
+
16
+ ## [v3.2.17] - 2026-03-26
9
17
 
10
18
  ### Fixed
11
19
 
12
20
  - **`identifiedVehicle` now persisted in session** — Previously, navigating away and returning restored messages and conversation state but lost the identified vehicle. This caused `vehicleContext` to be `null` in subsequent requests, breaking `add_to_cart` and other vehicle-dependent tools. The vehicle is now saved/restored alongside all other session data.
21
+ - **Long-press on PTT no longer selects images on mobile** — Added scoped `user-select: none` and `-webkit-touch-callout: none` to the widget root and layout containers. Text selection is re-enabled on `<input>` and `<textarea>` elements. Product tiles, variant cards, and host-page elements remain fully interactive and selectable.
22
+ - **iOS audio playback (TTS) now works** — Added a silent-audio unlock mechanism that triggers on the first user touch within the widget. This satisfies iOS Safari's autoplay policy so that subsequent `Audio.play()` calls from Bob's TTS succeed without requiring each one to originate from a direct gesture.
13
23
 
14
24
  ---
15
25