Adds optional agentId field to webhook mappings and the direct /hooks/agent endpoint, enabling multi-agent webhook routing. Changes: - Add agentId to HookMappingSchema (zod) and HookMappingConfig type - Add agentId to HookMappingResolved, HookAction, and HookAgentPayload - Pass agentId through mapping resolution, dispatcher, and HTTP handler - Add superRefine validation: agentId must exist in agents.list - Update docs with agentId parameter and usage examples - Add unit tests for agentId in mappings and config validation Use cases: - Route incoming emails to a dedicated email-handler agent - Send GitHub webhooks to a CI/CD agent with repo access - Separate support inbox to agent with different persona Closes #3432 |
||
|---|---|---|
| .. | ||
| auth-monitoring.md | ||
| cron-jobs.md | ||
| cron-vs-heartbeat.md | ||
| gmail-pubsub.md | ||
| poll.md | ||
| webhook.md | ||