refactor: trim unused IM channels and dependencies

Remove Slack, Slack Webhook, Teams Webhook, Matrix, Delta Chat, IRC and VK.
Clean up channel configuration, migration support, examples and documentation.
Drop unused SDKs and Matrix build tags while preserving the remaining channels.
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:33:29 +08:00
1 parent 996dfefffe
commit e7d4293052
112 files changed
+243 -12067

No files matched your search

-9
View File
@@ -61,11 +61,6 @@ channels:
app_secret: "your-qq-app-secret"
dingtalk:
client_secret: "your-dingtalk-client-secret"
slack:
bot_token: "your-slack-bot-token"
app_token: "your-slack-app-token"
matrix:
access_token: "your-matrix-access-token"
line:
channel_secret: "your-line-channel-secret"
channel_access_token: "your-line-channel-access-token"
@@ -84,10 +79,6 @@ channels:
encoding_aes_key: "your-wecom-aibot-encoding-aes-key"
pico:
token: "your-pico-token"
irc:
password: "your-irc-password"
nickserv_password: "your-irc-nickserv-password"
sasl_password: "your-irc-sasl-password"
# Channel Settings (nested format for channels that use settings block)
channel_list:
+1 -1
View File
@@ -11,7 +11,7 @@ When the LLM uses a tool that returns its own credentials (e.g., a tool that ech
Sensitive values are collected from [`.security.yml`](./credential_encryption.md) — the centralized storage for all sensitive configuration (API keys, tokens, secrets stored alongside `config.json`). This includes:
- Model API keys
- Channel tokens (Telegram, Discord, Slack, Matrix, etc.)
- Channel tokens (Telegram, Discord, etc.)
- Web tool API keys (Brave, Tavily, Perplexity, etc.)
- Skills tokens (GitHub, ClawHub)
+1 -1
View File
@@ -11,7 +11,7 @@ PicoClaw 可以从工具调用结果中过滤敏感值(API 密钥、令牌、
敏感值从 `.security.yml` 中收集 —— 这是所有敏感配置的集中存储,包括:
- 模型 API 密钥
- 频道令牌(Telegram、Discord、Slack、Matrix 等)
- 频道令牌(Telegram、Discord 等)
- Web 工具 API 密钥(Brave、Tavily、Perplexity 等)
- 技能令牌(GitHub、ClawHub)