Skip to content

webhook: add agent_job_started / agent_job_ended events - #1711

Open
erikhortsch wants to merge 2 commits into
mainfrom
erik/agent-job-webhooks
Open

webhook: add agent_job_started / agent_job_ended events#1711
erikhortsch wants to merge 2 commits into
mainfrom
erik/agent-job-webhooks

Conversation

@erikhortsch

@erikhortsch erikhortsch commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • protobufs/livekit_webhook.proto: adds Job job = 12 to WebhookEvent (plus the livekit_agent.proto import), and lists the two new events in the event field comment. NEXT_ID 12 → 13.
  • webhook/consts.go: adds EventAgentJobStarted / EventAgentJobEnded.
  • Changeset for both github.com/livekit/protocol and @livekit/protocol.

Job already embeds Room, ParticipantInfo and JobState, so a single field carries the whole payload. Following the egress/ingress precedent, room is left unset on agent_job_* events — the payload carries the room.

🤖 Generated with Claude Code

Adds the two agent job lifecycle events (AP-892) to the shared webhook
event constants, and a `job` field on WebhookEvent so the events can carry
the Job (which already embeds Room, ParticipantInfo and JobState).

Egress/ingress precedent: the info payload carries the room, so `room` is
left unset on agent_job_* events.

Generated Go/JS bindings are produced by the Generate workflow.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 12, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 43af880

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
github.com/livekit/protocol Patch
@livekit/protocol Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@erikhortsch
erikhortsch marked this pull request as ready for review August 12, 2026 21:49
@erikhortsch
erikhortsch requested review from a team, shreyasj-livekit and theomonnom August 12, 2026 21:49
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