Update channel dispatch UX and harden sidecar startup behavior.

This aligns Weixin/WhatsApp with admin-managed model routing by adding channel/account-level specialist controls, improves OSS startup resilience by skipping missing sidecars gracefully, and refreshes runbook/readme guidance for the new default behavior and Weixin OpenAI-key silent handling.

Made-with: Cursor
This commit is contained in:
oliver 2026-04-28 22:58:50 +08:00
parent b1a0f94cd6
commit 5ab69e88d3
29 changed files with 1226 additions and 100 deletions

View file

@ -2,8 +2,10 @@ param(
[string]$BindHost = "127.0.0.1",
[int]$Port = 8787,
[switch]$WithoutWeixin = $false,
[switch]$WithoutWhatsApp = $false,
[switch]$WithWikiWorker = $false,
[string]$WeixinChannelId = "oclaw-weixin"
[string]$WeixinChannelId = "oclaw-weixin",
[string]$WhatsAppChannelId = "whatsapp"
)
$ErrorActionPreference = "Stop"
@ -127,6 +129,15 @@ if (-not $WithoutWeixin) {
Warn "weixin status failed: $($_.Exception.Message)"
}
}
if (-not $WithoutWhatsApp) {
Write-Host ""
Write-Step "WhatsApp sidecar"
try {
& "$PSScriptRoot/whatsapp_status.ps1" -ChannelId $WhatsAppChannelId
} catch {
Warn "whatsapp status failed: $($_.Exception.Message)"
}
}
if ($WithWikiWorker) {
Write-Host ""