refactor: remove LINE, WhatsApp and Discord channels

Remove LINE, WhatsApp bridge/native and Discord adapters and configuration.
Drop unused SDKs, the Discord fork override and the native WhatsApp build target.
Clean up migration support and docs; preserve shared credential and voice coverage.
Validated with full Go tests, static checks, docs lint and a Linux amd64 build.
This commit is contained in:
loveuer committed 2026-11-12 09:51:39 +08:00
1 parent e7d4293052
commit 7b56867f8a
128 files changed
+289 -5875

No files matched your search

+3 -3
View File
@@ -160,10 +160,10 @@ func TestResolveRoute_DispatchMentionedRule(t *testing.T) {
cfg.Agents.Dispatch = &config.DispatchConfig{
Rules: []config.DispatchRule{
{
Name: "discord-mentions",
Name: "testchat-mentions",
Agent: "support",
When: config.DispatchSelector{
Channel: "discord",
Channel: "testchat",
Space: "workspace:t001",
Mentioned: &mentioned,
},
@@ -173,7 +173,7 @@ func TestResolveRoute_DispatchMentionedRule(t *testing.T) {
r := NewRouteResolver(cfg)
route := r.ResolveRoute(bus.InboundContext{
Channel: "discord",
Channel: "testchat",
ChatID: "C123",
ChatType: "channel",
SpaceID: "T001",