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

@ -3,7 +3,7 @@
[int]$Port = 8787,
[switch]$SkipInstall = $false,
[switch]$Background = $false,
[switch]$WithWeixin = $false,
[switch]$WithoutWeixin = $false,
[bool]$WithWikiWorker = $true,
[string]$WeixinChannelId = "oclaw-weixin",
[string]$WeixinGatewayBaseUrl = ""
@ -37,7 +37,7 @@ if (-not $Background) {
& "$PSScriptRoot/start_desktop.ps1" -SkipInstall:$SkipInstall -Background -WithWikiWorker:$WithWikiWorker
if ($WithWeixin) {
if (-not $WithoutWeixin) {
$gwBase = ($WeixinGatewayBaseUrl | ForEach-Object { "$_".Trim() })
if (-not $gwBase) {
$gwBase = "http://$BindHost`:$Port"