Skip to content

Add VAPI agent#254

Merged
roznawsk merged 4 commits intomainfrom
FCE-3025-add-vapi-agent
Apr 8, 2026
Merged

Add VAPI agent#254
roznawsk merged 4 commits intomainfrom
FCE-3025-add-vapi-agent

Conversation

@roznawsk
Copy link
Copy Markdown
Member

@roznawsk roznawsk commented Apr 3, 2026

Description

Motivation and Context

Why is this change required? What problem does it solve? If it fixes an open
issue, please link to the issue here.

Documentation impact

  • Documentation update required
  • Documentation updated in another PR
  • No documentation update required

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)

@roznawsk roznawsk requested a review from Copilot April 3, 2026 16:12
@linear
Copy link
Copy Markdown

linear bot commented Apr 3, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Fishjam JS server SDK and generated client/proto types to support a new VAPI peer type and align with the newer Fishjam OpenAPI/protobuf schemas.

Changes:

  • Add createVAPIAgent to the JS server SDK client and update SDK exports accordingly.
  • Regenerate/upgrade fishjam-openapi client types to OpenAPI doc version 0.26.1 (new peer options/types, token shape changes, track forwarding API/types).
  • Regenerate/upgrade fishjam-proto server notifications (new peer type VAPI, plus track forwarding + VAD notification messages), and update example app usage.

Reviewed changes

Copilot reviewed 5 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
packages/js-server-sdk/src/index.ts Adjusts SDK public re-exports from fishjam-openapi.
packages/js-server-sdk/src/client.ts Adds createVAPIAgent and consumes new OpenAPI peer options type.
packages/fishjam-proto/src/fishjam/server_notifications.ts Updates server notification message types/enum to include VAPI + new notifications.
packages/fishjam-openapi/src/generated/index.ts Bumps generated OpenAPI doc version header to 0.26.1.
packages/fishjam-openapi/src/generated/configuration.ts Bumps generated OpenAPI doc version header to 0.26.1.
packages/fishjam-openapi/src/generated/common.ts Bumps generated OpenAPI doc version header to 0.26.1.
packages/fishjam-openapi/src/generated/base.ts Bumps generated OpenAPI doc version header to 0.26.1.
packages/fishjam-openapi/src/generated/api.ts Introduces new VAPI peer options/types and track-forwarding API/types; adjusts several response/type shapes.
examples/room-manager/src/plugins/fishjam.ts Updates example to reflect viewer/streamer token type changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 11 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@czerwiukk czerwiukk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the vapi part is simple and to be approved, but whats the reason for the other small api changes?

isPublic?: boolean
) => Promise<PeerAccessData>;
getLivestreamViewerToken: (roomName: string) => Promise<ViewerToken>;
getLivestreamViewerToken: (roomName: string) => Promise<string>;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: what happened that we need to change that in this PR?

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 10 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@roznawsk roznawsk merged commit 3328d55 into main Apr 8, 2026
5 checks passed
@roznawsk roznawsk deleted the FCE-3025-add-vapi-agent branch April 8, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants