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
5 changes: 5 additions & 0 deletions .changeset/loud-flowers-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@livekit/protocol": patch
---

redact metadata in agent protos
17 changes: 9 additions & 8 deletions livekit/livekit_agent_dispatch.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 31 additions & 29 deletions livekit/livekit_agent_dispatch.twirp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions protobufs/livekit_agent_dispatch.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ option csharp_namespace = "LiveKit.Proto";
option ruby_package = "LiveKit::Proto";

import "livekit_agent.proto";
import "logger/options.proto";

service AgentDispatchService {
rpc CreateDispatch(CreateAgentDispatchRequest) returns (AgentDispatch);
Expand All @@ -30,12 +31,12 @@ service AgentDispatchService {
message CreateAgentDispatchRequest {
string agent_name = 1;
string room = 2;
string metadata = 3;
string metadata = 3 [(logger.redact) = true];
}

message RoomAgentDispatch {
string agent_name = 1;
string metadata = 2;
string metadata = 2 [(logger.redact) = true];
}

message DeleteAgentDispatchRequest {
Expand All @@ -56,12 +57,12 @@ message AgentDispatch {
string id = 1;
string agent_name = 2;
string room = 3;
string metadata = 4;
string metadata = 4 [(logger.redact) = true];
AgentDispatchState state = 5;
}

message AgentDispatchState {
// For dispatches of tyoe JT_ROOM, there will be at most 1 job.
// For dispatches of tyoe JT_ROOM, there will be at most 1 job.
// For dispatches of type JT_PUBLISHER, there will be 1 per publisher.
repeated Job jobs = 1;
int64 created_at = 2;
Expand Down