Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/require-manage-agent-session-grant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@livekit/agents': patch
---

Require the `can_manage_agent_session` grant for remote session participants. `RoomSessionTransport` now authorizes inbound and outbound session messages based on each remote participant's permission rather than a single linked identity, and responses are routed back to the originating sender. Ported from livekit/agents#5487.
2 changes: 1 addition & 1 deletion agents/src/voice/agent_session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export class AgentSession<

this._roomIO.start();

const transport = new RoomSessionTransport(room, this._roomIO);
const transport = new RoomSessionTransport(room);
this.sessionHost = new SessionHost(transport);
this.sessionHost.registerSession(this);
if (inputOptions?.textEnabled !== false) {
Expand Down
Loading
Loading