refactor: remove Pico and MaixCAM channels
Remove pico, pico_client and maixcam adapters, configuration and migration support. Drop Pico-specific agent publishing while preserving shared IM streaming and MQTT. Clean up channel examples and localized documentation; move shared tests to Telegram. Validated with full Go tests, vet, lint, docs checks and a Linux amd64 build.
This commit is contained in:
1 parent
6159157e47
commit
996dfefffe
74 files changed
+243
-5862
No files matched your search
@@ -250,9 +250,6 @@ func TestAllSecurityKeysAccessible(t *testing.T) {
|
||||
"enabled": true,
|
||||
"bot_id": "test_wecom_bot_id"
|
||||
},
|
||||
"pico": {
|
||||
"enabled": true
|
||||
},
|
||||
"irc": {
|
||||
"enabled": true,
|
||||
"server": "irc.example.com",
|
||||
@@ -319,8 +316,6 @@ channels:
|
||||
access_token: "onebot_test_access_token"
|
||||
wecom:
|
||||
secret: "wecom_test_secret"
|
||||
pico:
|
||||
token: "pico_test_token"
|
||||
irc:
|
||||
password: "irc_test_password"
|
||||
nickserv_password: "irc_test_nickserv_password"
|
||||
@@ -437,11 +432,6 @@ skills:
|
||||
t.Logf("WeCom BotID: %s", wcSec.(*WeComSettings).BotID)
|
||||
t.Logf("WeCom Secret(): %s", secureStr(wcSec.(*WeComSettings).Secret))
|
||||
|
||||
// Pico
|
||||
picoSec := decodeChannel("pico")
|
||||
assert.Equal(t, "pico_test_token", secureStr(picoSec.(*PicoSettings).Token))
|
||||
t.Logf("Pico Token(): %s", secureStr(picoSec.(*PicoSettings).Token))
|
||||
|
||||
// IRC
|
||||
ircSec := decodeChannel("irc")
|
||||
assert.Equal(t, "irc_test_password", secureStr(ircSec.(*IRCSettings).Password))
|
||||
|
||||
Reference in new issue
Block a user