forward-port: register magicform channel in gateway init

Re-applies the magicform channel registration to upstream's new gateway
location (pkg/gateway/gateway.go) — previously in the deleted
cmd/picoclaw/internal/gateway/helpers.go.

Without this, channels.RegisterFactory("magicform", ...) is never invoked
and the channel will not load even when configured.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
admin-mf 2026-05-07 12:13:10 -05:00
parent 93fb7b8794
commit 0c8ebde217

View file

@ -24,6 +24,7 @@ import (
_ "github.com/sipeed/picoclaw/pkg/channels/feishu"
_ "github.com/sipeed/picoclaw/pkg/channels/irc"
_ "github.com/sipeed/picoclaw/pkg/channels/line"
_ "github.com/sipeed/picoclaw/pkg/channels/magicform"
_ "github.com/sipeed/picoclaw/pkg/channels/maixcam"
_ "github.com/sipeed/picoclaw/pkg/channels/onebot"
_ "github.com/sipeed/picoclaw/pkg/channels/pico"