LumiPath Widget — Embed Demo

Parent ↔ Widget postMessage bridge

1. Simulate Editing a Protocol

Paste or edit text below. Use the buttons to push context / selection into the widget as if from a Luminari editor.

2. Widget → Parent Messages

Messages received from the widget appear below. Click an agent response's "Insert into doc" button in the widget to see it come through.

// waiting for widget to load...

3. Integration into Luminari-Frontend

Drop-in React component is in static/js/LumiPathFloatingBar.jsx.txt. See SUGGESTIONS.md for the full 6-step integration playbook.

  1. Copy component to src/components/common/LumiPathFloatingBar.js
  2. Mount in App.js inside <AppLayout>
  3. Set REACT_APP_LUMIPATH_URL env var
  4. Listen for lumipath:insert events in your rich-text editors