feat(embed): add backend embed channels with auth and rate limiting (#1657)

Introduce embed_channels storage, publish-token and session-token auth,
origin allowlist enforcement, shared Redis rate limiter, public embed API
routes, webhooks with SSRF validation, and session listing by embed source.
This commit is contained in:
wizardchen
2026-06-12 22:40:18 +08:00
committed by lyingbug
parent a0786b6fe7
commit ed9802ff2b
30 changed files with 4070 additions and 216 deletions
@@ -0,0 +1,5 @@
DROP INDEX IF EXISTS idx_embed_channels_deleted;
DROP INDEX IF EXISTS idx_embed_channels_publish_token;
DROP INDEX IF EXISTS idx_embed_channels_agent;
DROP INDEX IF EXISTS idx_embed_channels_tenant;
DROP TABLE IF EXISTS embed_channels;