Skip to content
Merged
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
12 changes: 12 additions & 0 deletions .changeset/mighty-steaks-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"github.com/livekit/protocol": patch
---

Integrate feedback on the agents protocol:

- Rename JobDescription to AgentDispatch
- Remove participant_identity entry in the dispatch
- Deprecate namespace
- Add an agent_name field to specify what agent workers a job should be dispatched to

Also allow setting a room configuration in the token.
2 changes: 2 additions & 0 deletions auth/grants.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ type VideoGrant struct {
RoomAdmin bool `json:"roomAdmin,omitempty"`
RoomJoin bool `json:"roomJoin,omitempty"`
Room string `json:"room,omitempty"`
// Name of the room configuration to apply to the room if created
RoomConfiguration string `json:"room_configuration,omitempty"`

// permissions within a room, if none of the permissions are set explicitly
// it will be granted with all publish and subscribe permissions
Expand Down
Loading