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
@@ -156,8 +156,8 @@ func TestBuildMessages_CurrentSenderDynamicContext(t *testing.T) {
},
{
name: "id only",
senderID: "discord:123",
wantLine: "Current sender: discord:123",
senderID: "testchat:123",
wantLine: "Current sender: testchat:123",
wantSection: true,
},
{
@@ -168,7 +168,7 @@ func TestBuildMessages_CurrentSenderDynamicContext(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
msgs := cb.BuildMessages(nil, "", "hello", nil, "discord", "chat1", tt.senderID, tt.senderDisplayName)
msgs := cb.BuildMessages(nil, "", "hello", nil, "testchat", "chat1", tt.senderID, tt.senderDisplayName)
sys := msgs[0].Content
if tt.wantSection {