Files
element-call/src
Lotus CIandClaude Opus 5.5 6beebd3ea7 feat(lotus): layout, settings and reactions over the widget API (cinny #43)
The Lotus host drove these by clicking EC's hidden controls in our DOM and
read screenshare/layout state from it, which only works while the frame is
same-origin and breaks whenever a data-testid changes. New actions:

- toWidget io.lotus.set_layout { layout: "grid" | "spotlight" } → the layout
  switch view model's setLayout.
- toWidget io.lotus.open_settings { open?: boolean } → setSettingsOpen
  (toggle when `open` is omitted).
- toWidget io.lotus.toggle_reactions → a window event the reactions button
  listens for.
- fromWidget io.lotus.controls_state { screensharing, layout } on change; its
  arrival tells the host the fork supports the actions above.

Screensharing stays host-driven for now: getDisplayMedia needs the user's
click to reach this frame (Capability Delegation), which a widget message
doesn't carry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
2026-09-24 22:16:24 -04:00
..
2026-03-30 18:26:38 +02:00
2025-03-31 14:18:45 +02:00
2026-07-07 19:05:10 +02:00
2025-06-23 23:06:33 -04:00
2025-10-22 12:53:22 +02:00
2026-03-30 18:26:38 +02:00
2025-03-13 18:00:24 -04:00
2026-08-28 15:50:48 +02:00
2025-09-16 11:46:25 +02:00
2026-09-12 11:35:57 -04:00
2026-06-23 09:42:57 +02:00
2026-06-22 11:59:16 +02:00
2026-03-26 19:39:02 +01:00
2026-03-26 18:14:51 +01:00
2026-03-12 22:18:38 -05:00
2025-03-13 17:51:41 -04:00
2026-04-30 13:32:27 +02:00
2025-03-13 17:51:41 -04:00
2026-04-03 17:48:42 +02:00
2026-05-04 18:25:04 +02:00
2025-02-24 18:18:15 +07:00
2025-06-24 08:28:15 -04:00
2025-03-13 17:51:41 -04:00
2025-03-13 17:51:41 -04:00
2026-07-02 08:35:59 +02:00