Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
32947eb
feature: stream type analytics enrich (#145)
dor-eitan May 20, 2025
ce55d33
bugfix: speak when textual (#144)
dor-eitan May 21, 2025
b988a88
bump version (#146)
dor-eitan May 21, 2025
c74bc4b
add rtt to report + add freeze to low_conn indicator
benyael15 Jun 9, 2025
a1b64e5
fix build
benyael15 Jun 9, 2025
af6add3
fix CR
benyael15 Jun 10, 2025
84a9fe2
fix CR2
benyael15 Jun 10, 2025
5f138af
format
benyael15 Jun 10, 2025
5485668
bugfix: mixpanel webrtc stats in fluent
dor-eitan Jun 10, 2025
541c5b8
Merge pull request #147 from de-id/low-conn/rtt_stat+connectivity_cal…
benyael15 Jun 10, 2025
8ac2577
Merge pull request #148 from de-id/bugfix/fluent-stream-stats-mixpanel
benyael15 Jun 10, 2025
034c51f
window.crypto
benyael15 Jun 11, 2025
71e6430
Update index.ts
benyael15 Jun 11, 2025
14ec1e6
Merge pull request #149 from de-id/soc/randomness-safty
benyael15 Jun 11, 2025
f90d48a
-
benyael15 Jun 11, 2025
b4f0d8c
Update app.tsx
benyael15 Jun 11, 2025
3e44359
-
benyael15 Jun 11, 2025
1062f0b
Merge pull request #150 from de-id/upgarde-node-types
benyael15 Jun 11, 2025
b33606f
Feature/enrich mixpanel with stream metadata (#153)
osimhi213 Jun 29, 2025
d459364
chore: publish @d-id/client-sdk:v1.1.0-beta.12
osimhi213 Jun 29, 2025
0634212
Feature: interrupt (#152)
dor-eitan Jun 30, 2025
021f1f5
chore: publish sdk v1.1.0-beta.13 (#154)
dor-eitan Jun 30, 2025
1f65d5b
fixed greetings in playground
dariusz-did Jul 2, 2025
8c2a84e
Merge pull request #156 from de-id/fix/greetings-in-playground
dariusz-did Jul 2, 2025
108973e
bump version 1.1.0-beta.14 (#157)
dor-eitan Jul 2, 2025
a7056a1
feature: interrupt type mixpanel event (#155)
dor-eitan Jul 3, 2025
450bceb
bump version 1.1.0-beta.15 (#158)
dor-eitan Jul 3, 2025
a6df5ed
catched limit error
dariusz-did Jul 16, 2025
0055c57
Merge pull request #160 from de-id/fix/catch-limit-error
benyael15 Jul 17, 2025
cc15f01
rename `interruptEnabled` func
dariusz-did Jul 20, 2025
ced7eb1
Merge pull request #162 from de-id/feature/renamed-method
dariusz-did Jul 21, 2025
bbd9b0a
chore: bump 1.1.0-beta.20 (#163)
dor-eitan Jul 21, 2025
583f3cd
feature: interrupt speak (#164)
dor-eitan Jul 21, 2025
0de3964
bugfix: allow to interrupt speak without chat open (#165)
dor-eitan Jul 21, 2025
83c7da1
Merge pull request #166 from de-id/refactor/report-event-on-start
ReutAtias3 Jul 23, 2025
61e9bb0
video id from data channel (#170)
dariusz-did Aug 4, 2025
d649e74
Feature: sdk ci cd (#169)
dor-eitan Aug 5, 2025
5a3840e
chore: bump version to 1.1.1 and update workflow names for clarity (#…
dor-eitan Aug 5, 2025
082d89f
removed queued interrupt logic (#174)
dariusz-did Aug 5, 2025
9238e46
Feature/outer control mode (#173)
benyael15 Aug 5, 2025
1ae25d6
interrupt type extended (#176)
dariusz-did Aug 5, 2025
3b8a878
Update GitHub Actions workflow to use DEVOPS_TOKEN instead of GITHUB_…
dor-eitan Aug 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
106 changes: 106 additions & 0 deletions .github/workflows/manual-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
name: Manual E2E Validation

on:
workflow_dispatch:
inputs:
sdk_branch:
description: 'SDK branch to test'
required: true
default: 'main'
type: string
ui_branch:
description: 'agents-ui branch to test'
required: true
default: 'staging'
type: string

jobs:
e2e-validation:
runs-on: ${{ github.event.inputs.ui_branch == 'prod' && 'ubuntu-latest' || 'aws-medium' }}
timeout-minutes: 30
environment:
name: ${{ github.event.inputs.ui_branch == 'prod' && 'prod' || 'staging' }}
env:
ENV: ${{ github.event.inputs.ui_branch == 'prod' && 'prod' || 'staging' }}

steps:
- name: Checkout SDK branch
uses: actions/checkout@v4
with:
path: agents-sdk
ref: ${{ github.event.inputs.sdk_branch }}

- name: Setup Node.js for SDK
uses: actions/setup-node@v4
with:
node-version: 20
cache-dependency-path: agents-sdk/yarn.lock

- name: Install Yarn
run: npm install -g yarn

- name: Install SDK dependencies
working-directory: agents-sdk
run: yarn install --frozen-lockfile

- name: Build SDK
working-directory: agents-sdk
run: yarn build

- name: Pack SDK for testing
working-directory: agents-sdk
run: |
npm pack
echo "SDK_PACKAGE=$(ls *.tgz)" >> $GITHUB_ENV

- name: Checkout agents-ui branch
uses: actions/checkout@v4
with:
repository: de-id/agents-ui
ref: ${{ github.event.inputs.ui_branch }}
path: agents-ui
token: ${{ secrets.DEVOPS_TOKEN }}

- name: Set github environment variables
uses: rlespinasse/github-slug-action@v4

- name: Setup Node.js for agents-ui
uses: actions/setup-node@v4
with:
node-version: 20

- name: Render .npmrc for agents-ui
working-directory: agents-ui
run: |
if [ -f .npmrc.template ]; then
sed "s/\$NPM_AUTH_TOKEN/${{ secrets.NPM_TOKEN }}/g" .npmrc.template > .npmrc
fi

- name: Install local SDK build in agents-ui
working-directory: agents-ui
run: |
yarn remove @d-id/client-sdk || true
yarn add file:../agents-sdk/${{ env.SDK_PACKAGE }}
yarn install --frozen-lockfile

- name: Install Playwright Chrome
working-directory: agents-ui
run: yarn playwright install chrome

- name: Run E2E tests
working-directory: agents-ui
env:
E2E_USER_APIKEY: ${{ secrets.E2E_USER_APIKEY }}
VITE_CLIENT_KEY: ${{ secrets.VITE_CLIENT_KEY }}
ASSERT_CHAT_RESTART: 'false'
run: yarn test:${{ github.event.inputs.ui_branch == 'prod' && 'prod' || 'staging' }}

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: e2e-test-results-manual-${{ github.event.inputs.sdk_branch }}-${{ github.event.inputs.ui_branch }}
path: |
agents-ui/playwright-report/
agents-ui/test-results/
retention-days: 30
Comment on lines +19 to +106

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 9 months ago

To fix the problem, add a permissions block to the workflow to explicitly restrict the permissions granted to the GITHUB_TOKEN. The best way is to add the block at the root level of the workflow file, so it applies to all jobs unless overridden. For this workflow, the minimal required permission is likely contents: read, as the workflow checks out code and uploads artifacts but does not push changes or create pull requests. Add the following block after the name: and before the on: section:

permissions:
  contents: read

No additional imports, methods, or definitions are needed. Only a single block of YAML needs to be inserted.

Suggested changeset 1
.github/workflows/manual-e2e.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/manual-e2e.yml b/.github/workflows/manual-e2e.yml
--- a/.github/workflows/manual-e2e.yml
+++ b/.github/workflows/manual-e2e.yml
@@ -1,2 +1,4 @@
 name: Manual E2E Validation
+permissions:
+  contents: read
 
EOF
@@ -1,2 +1,4 @@
name: Manual E2E Validation
permissions:
contents: read

Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
101 changes: 101 additions & 0 deletions .github/workflows/pr-main-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
name: UI prod e2e with local sdk build

on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
e2e-validation:
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
name: prod
env:
ENV: prod

steps:
- name: Checkout SDK branch
uses: actions/checkout@v4
with:
path: agents-sdk
ref: ${{ github.head_ref || github.ref_name }}

- name: Setup Node.js for SDK
uses: actions/setup-node@v4
with:
node-version: 20
cache-dependency-path: agents-sdk/yarn.lock

- name: Install Yarn
run: npm install -g yarn

- name: Install SDK dependencies
working-directory: agents-sdk
run: yarn install --frozen-lockfile

- name: Build SDK
working-directory: agents-sdk
run: yarn build

- name: Pack SDK for testing
working-directory: agents-sdk
run: |
npm pack
echo "SDK_PACKAGE=$(ls *.tgz)" >> $GITHUB_ENV

- name: Checkout agents-ui production branch
uses: actions/checkout@v4
with:
repository: de-id/agents-ui
ref: prod
path: agents-ui
token: ${{ secrets.DEVOPS_TOKEN }}

- name: Set github environment variables
uses: rlespinasse/github-slug-action@v4

- name: Setup Node.js for agents-ui
uses: actions/setup-node@v4
with:
node-version: 20

- name: Render .npmrc for agents-ui
working-directory: agents-ui
run: |
if [ -f .npmrc.template ]; then
sed "s/\$NPM_AUTH_TOKEN/${{ secrets.NPM_TOKEN }}/g" .npmrc.template > .npmrc
fi

- name: Install local SDK build in agents-ui
working-directory: agents-ui
run: |
yarn remove @d-id/client-sdk || true
yarn add file:../agents-sdk/${{ env.SDK_PACKAGE }}
yarn install --frozen-lockfile

- name: Install Playwright Chrome
working-directory: agents-ui
run: yarn playwright install chrome

- name: Run E2E tests against production
working-directory: agents-ui
env:
E2E_USER_APIKEY: ${{ secrets.E2E_USER_APIKEY }}
VITE_CLIENT_KEY: ${{ secrets.VITE_CLIENT_KEY }}
ASSERT_CHAT_RESTART: 'false'
run: yarn test:prod

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: e2e-test-results-main-pr-${{ github.event.number }}
path: |
agents-ui/playwright-report/
agents-ui/test-results/
retention-days: 30
Comment on lines +14 to +101

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}

Copilot Autofix

AI 9 months ago

To fix the problem, add a permissions block to the workflow file. This can be done at the root level (applies to all jobs) or at the job level (applies only to the specific job). Since there is only one job in this workflow, either approach is valid, but the root-level block is preferred for clarity and future extensibility. The minimal starting point is contents: read, which allows the workflow to read repository contents but not write to them. If the workflow requires additional permissions (e.g., to upload artifacts, interact with issues, or pull requests), those should be added explicitly. In this case, the workflow uploads artifacts but does not require write access to repository contents, so contents: read is sufficient.

Add the following block after the name: and before the on: section:

permissions:
  contents: read

No additional imports or dependencies are required.

Suggested changeset 1
.github/workflows/pr-main-e2e.yml

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/.github/workflows/pr-main-e2e.yml b/.github/workflows/pr-main-e2e.yml
--- a/.github/workflows/pr-main-e2e.yml
+++ b/.github/workflows/pr-main-e2e.yml
@@ -2,2 +2,5 @@
 
+permissions:
+  contents: read
+
 on:
EOF
@@ -2,2 +2,5 @@

permissions:
contents: read

on:
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
71 changes: 71 additions & 0 deletions .github/workflows/pr-prod-e2e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: UI prod e2e with staging sdk build

on:
pull_request:
branches: [prod]
types: [opened, synchronize, reopened]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
e2e-validation:
runs-on: ubuntu-latest
timeout-minutes: 30
environment:
name: prod
env:
ENV: prod

steps:
- name: Checkout agents-ui production branch
uses: actions/checkout@v4
with:
repository: de-id/agents-ui
ref: prod
path: agents-ui
fetch-depth: 0
lfs: true
token: ${{ secrets.DEVOPS_TOKEN }}

- name: Set github environment variables
uses: rlespinasse/github-slug-action@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: Render .npmrc for agents-ui
working-directory: agents-ui
run: |
if [ -f .npmrc.template ]; then
envsubst < .npmrc.template > .npmrc
fi
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Install staging SDK version
working-directory: agents-ui
run: |
yarn remove @d-id/client-sdk || true
yarn add @d-id/client-sdk@staging
npm install -g yarn && yarn

- name: Run E2E tests against production environment
working-directory: agents-ui
env:
E2E_USER_APIKEY: ${{ secrets.E2E_USER_APIKEY }}
VITE_CLIENT_KEY: ${{ secrets.VITE_CLIENT_KEY }}
run: yarn test:prod

- name: Upload test results
if: always()
uses: actions/upload-artifact@v4
with:
name: e2e-test-results-prod-pr-${{ github.event.number }}
path: |
agents-ui/playwright-report/
agents-ui/test-results/
retention-days: 30
Loading
Loading