agello 0.4.4 → 0.4.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agello",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "Talk to a coding agent in a herdr pane from the browser: chat, live status, and a shared browser screen.",
5
5
  "keywords": [
6
6
  "herdr",
@@ -1027,6 +1027,9 @@ class AgentBridge extends HTMLElement {
1027
1027
  this.#sound = null;
1028
1028
  } else {
1029
1029
  if (this.#sound) return;
1030
+ // iOS Safari mutes Web Audio with the ring/silent switch unless the
1031
+ // page's audio session is "playback" (Safari 16.4+).
1032
+ try { if (navigator.audioSession) navigator.audioSession.type = "playback"; } catch {}
1030
1033
  const ctx = new AudioContext();
1031
1034
  ctx.resume().catch(() => {});
1032
1035
  const es = new EventSource(`${this.server}/screen/audio`);