Commit Graph

4 Commits

Author SHA1 Message Date
Eric Allam a7c0e8b740 docs(webhooks): fix typed-source example, idempotency fallback, and url-secret warning
The typed-event example now passes webhooks.stripe<Stripe.Event>() to webhook()
so it actually demonstrates typed access to event. The verification section no
longer claims every idempotency key comes from a provider event id (it documents
the raw-body/timestamp/signature fallback), and adds a warning that url-secret
exposes the secret in the URL.
2026-08-16 19:35:32 +01:00
Eric Allam dd4444440f docs(webhooks): make example snippets self-contained with imports
Several webhook doc code blocks used webhook, webhooks, streamText, anthropic, or chat without importing them, so a copied snippet would not type-check on its own. Add the imports to the standalone examples across sources, filters, channels, and human-in-the-loop.
2026-08-16 14:33:45 +01:00
Eric Allam 071054f081 docs(webhooks): require channels:history for Slack message events
The channels setup listed only chat:write, which posts replies but does not grant read access to message.channels events. Add channels:history to the app scopes and note that adding scopes after install requires a reinstall.
2026-08-16 14:33:45 +01:00
Eric Allam cf566adb81 feat(sdk,slack): webhook sources, agent channels, and human-in-the-loop 2026-08-16 14:33:45 +01:00