feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268)

* feat: add headless widget for deployment

* feat: call callbacks at the right time

* feat: add onCallConnected & onCallDisconnected callback

* feat: add a button with text for floating widget

* feat: add headless widget for deployment

* feat: call callbacks at the right time

* feat: add onCallConnected & onCallDisconnected callback

* feat: add a button with text for floating widget

* docs: web widget

* fix: format issue in pre-pr drift check

* fix: fix CD to rely on pipecat dev dependey

* chore: update message

---------

Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
This commit is contained in:
Sabiha Khan 2026-05-07 12:23:41 +05:30 committed by GitHub
parent 31e2c135b0
commit d2a119c38a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
75 changed files with 803 additions and 485 deletions

View file

@ -4,13 +4,13 @@ on:
pull_request:
branches: [main]
paths:
- 'api/**'
- 'ui/**'
- 'pipecat/**'
- 'scripts/dump_docs_openapi.py'
- 'scripts/format.sh'
- 'docs/api-reference/openapi.json'
- '.github/workflows/pre-pr-drift-check.yml'
- "api/**"
- "ui/**"
- "pipecat/**"
- "scripts/dump_docs_openapi.py"
- "scripts/format.sh"
- "docs/api-reference/openapi.json"
- ".github/workflows/pre-pr-drift-check.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -30,7 +30,7 @@ jobs:
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: "3.12"
cache: pip
cache-dependency-path: |
api/requirements.txt
@ -40,15 +40,12 @@ jobs:
- name: Set up Node 22
uses: actions/setup-node@v4
with:
node-version: '22'
node-version: "22"
cache: npm
cache-dependency-path: ui/package-lock.json
- name: Install api dependencies
run: |
pip install -r api/requirements.txt
pip install -r api/requirements.dev.txt
pip install './pipecat[cartesia,deepgram,openai,elevenlabs,groq,google,azure,sarvam,soundfile,silero,webrtc,speechmatics,openrouter,camb]'
- name: Install api and pipecat dependencies
run: ./scripts/setup_requirements.sh --dev
- name: Install ui dependencies
working-directory: ui