update ops scripts to include weixin by default

Make start/status/stop all scripts include Weixin sidecar by default and add -WithoutWeixin as an explicit opt-out.
Refresh RUNBOOK commands to match the new default behavior.

Made-with: Cursor
This commit is contained in:
oliver 2026-04-28 19:32:45 +08:00
parent 88b1fdc9d3
commit b1a0f94cd6
4 changed files with 30 additions and 18 deletions

View file

@ -1,7 +1,7 @@
param(
[string]$BindHost = "127.0.0.1",
[int]$Port = 8787,
[switch]$WithWeixin = $false,
[switch]$WithoutWeixin = $false,
[switch]$WithWikiWorker = $false,
[string]$WeixinChannelId = "oclaw-weixin"
)
@ -118,7 +118,7 @@ try {
Warn "Get-NetTCPConnection failed: $($_.Exception.Message)"
}
if ($WithWeixin) {
if (-not $WithoutWeixin) {
Write-Host ""
Write-Step "Weixin sidecar"
try {