diff --git a/cmd/picoclaw/internal/channel/start.go b/cmd/picoclaw/internal/channel/start.go index 07f8b4ce2..5af0b60cc 100644 --- a/cmd/picoclaw/internal/channel/start.go +++ b/cmd/picoclaw/internal/channel/start.go @@ -21,7 +21,7 @@ func newStartCommand() *cobra.Command { Short: "Start channels without gateway side services", Long: "Start enabled channels and AgentLoop without gateway side services.\n\n" + "This mode is channel-agnostic and follows your config. Current runtime validation is primarily focused on QQ; other channels are continuously validated.", - Args: cobra.NoArgs, + Args: cobra.NoArgs, PreRunE: func(_ *cobra.Command, _ []string) error { if noTruncate && !debug { return fmt.Errorf("the --no-truncate option can only be used in conjunction with --debug (-d)") diff --git a/pkg/gateway/channel_only.go b/pkg/gateway/channel_only.go index 983eeea27..8c97bf435 100644 --- a/pkg/gateway/channel_only.go +++ b/pkg/gateway/channel_only.go @@ -180,7 +180,11 @@ func setupAndStartChannelServices( } if runningServices.ListenHost != "" { - fmt.Printf("✓ Health endpoints available at http://%s:%d/health and /ready\n", runningServices.ListenHost, runningServices.ListenPort) + fmt.Printf( + "✓ Health endpoints available at http://%s:%d/health and /ready\n", + runningServices.ListenHost, + runningServices.ListenPort, + ) } else { fmt.Println("⚠ Shared HTTP server disabled; /health and webhook endpoints are unavailable") }