chore(internal/controller): split command processor from pipes as an individual module

This commit is contained in:
2026-08-06 17:53:53 +08:00
parent 10c3727b01
commit 30ed0bd9ec
7 changed files with 356 additions and 461 deletions
-6
View File
@@ -31,12 +31,6 @@ type Controller interface {
SendExecuteResult(serverName, serverUUID, command, result string) error
}
// CommandController extends Controller for bidirectional channels (QQ, Telegram).
type CommandController interface {
Controller
HandleCommand(cmd Command) (response string, err error)
}
// Manager manages all controller instances and routes events.
type Manager struct {
mu sync.RWMutex