Repository navigation
Commit 78625f8
agent: add agent_job_pending webhook, JS_CANCELLED status and JobState.reason (#1860)
* agent: add agent_job_pending webhook, JS_CANCELLED status and JobState.reason
agent_job_pending reports a dispatched job that is still waiting for an
agent, with JobState.reason saying why (e.g. no capacity). A job that
ends before any agent is assigned is reported as agent_job_ended with
the new JS_CANCELLED status, and the reason distinguishes a closed room
from a deleted dispatch, so it can be told apart from JS_FAILED.
Generated Go/JS bindings are produced by the Generate workflow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* generated protobuf
* agent: add JSR_RETRYING job state reason
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* generated protobuf
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>1 parent d5d1282 commit 78625f8
6 files changed
Lines changed: 189 additions & 84 deletions
File tree
- .changeset
- livekit
- protobufs
- webhook
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
104 | 120 | | |
105 | 121 | | |
106 | 122 | | |
| |||
0 commit comments