-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(channels): support webhook-triggered channel tasks #6495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
49cca3f
feat(daemon): add a2a settings and capabilities
qqqys 86727fb
docs(channels): design webhook-triggered tasks
qqqys 76af57e
feat(channels): add webhook task helpers
qqqys feb18d7
fix(channels): bound webhook prompt metadata
qqqys f3d3b31
feat(channels): run webhook-triggered tasks
qqqys 2bcf6e3
fix(channels): harden webhook task lifecycle
qqqys c4fdf6e
fix(channels): require yolo for webhook tasks
qqqys 2f3c7c6
feat(channels): parse webhook configuration
qqqys 43e6e9b
fix(channels): validate webhook secrets
qqqys 8751251
feat(channels): forward webhook tasks to channel worker
qqqys ca8fabd
fix(channels): require webhook enqueue on supervisors
qqqys 6bf8292
fix(channels): handle webhook IPC send failures safely
qqqys 8c0fffc
feat(serve): accept channel webhook tasks
qqqys 98bd26e
fix(serve): stop webhook validation after first error
qqqys fef00b6
fix(webhooks): reject inherited target refs
qqqys 0a04776
docs(channels): document webhook-triggered tasks
qqqys 8d90032
docs(channels): fix webhook task example
qqqys 963c94e
docs(channels): refine webhook task docs
qqqys b1868e8
docs(channels): add webhook task implementation plan
qqqys 8ce2274
fix(channels): restore webhook task context and chunks
qqqys 8f16b3c
fix(serve): classify worker webhook enqueue failures
qqqys 1ae3ff0
fix(channels): address webhook review feedback
qqqys 1e5b01e
Merge upstream/main into channel webhook tasks
qqqys 8b9f457
fix(serve): address channel webhook review blockers
qqqys 16bcc1d
fix(serve): satisfy channel webhook lint
qqqys cd54581
fix(serve): harden channel webhook admission
qqqys 593114a
fix(serve): narrow channel webhook source config
qqqys 37cd166
fix(serve): classify webhook session scope failures
qqqys cf18f72
fix(serve): harden webhook payload handling
qqqys 49b451b
fix(serve): authenticate webhook startup cheaply
qqqys 459e30b
fix(serve): keep deferred serve fast path lean
qqqys 72cc2ca
fix(serve): address deferred webhook review blockers
qqqys ea6170a
Merge upstream/main into channel webhook tasks
qqqys 3618123
fix(channels): propagate webhook approval mode
qqqys dcd1c99
fix(channels): harden webhook task admission
qqqys dd4a429
fix(acp): harden approval mode initialization
qqqys c91c47c
fix(channels): harden webhook shutdown and secrets
qqqys 01c74c1
fix(channels): harden webhook review blockers
qqqys b8ec2f5
fix(serve): harden deferred webhook auth
qqqys 07d0aa4
test(channels): cover webhook target rejection
qqqys 6630d54
Merge remote-tracking branch 'refs/remotes/upstream/main' into automa…
qqqys 9d4860f
fix(channels): harden webhook auth review blockers
qqqys 05af728
fix(channels): preserve webhook thread targets
qqqys 649c513
fix(channels): address webhook review blockers
qqqys 67ae5b3
fix(channels): harden webhook review blockers
qqqys cec7d94
fix(channel): address webhook review blockers
qqqys 46bba9e
test(serve): align deferred webhook secret log assertion
qqqys eecb60c
fix(channels): isolate webhook thread sessions
qqqys 570e85a
Merge remote-tracking branch 'refs/remotes/upstream/main' into automa…
qqqys 29912d4
Merge remote-tracking branch 'refs/remotes/upstream/main' into automa…
qqqys 60a1b7b
Merge upstream/main into channel webhook tasks
qqqys 43cd2b8
fix(channels): harden webhook enqueue failures
qqqys 76afe92
Merge upstream/main into agent/channel-webhook-tasks
qqqys 6e99def
fix(serve): classify disabled channel workers
qqqys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Low] 建议补充错误状态码文档
用户文档中仅描述了
202成功响应语义,但路由实现了完整的错误体系(401/404/409/503/504/400/429),这些在channel-webhooks.ts和对应测试中都有明确定义。建议在文档中补充「响应与错误语义」小节,概括各状态码含义和重试策略,帮助用户理解失败场景。例如:
401– 密钥错误或未知 source404– 未知 targetRef409– 目标会话不满足 webhook 条件(non-yolo / single scope / 不支持 proactive send)503– worker 不可用或队列已满504– IPC 超时400– 请求体无效429– rate limit