微信接入 core 侧:wechat.js 桥接(绑定权威/实例控制/inbox 转 channel/总线投递带游标)+ /api/wechat 设置页 + /wxhook 内网回调;wxbot 缺席全程静默降级

This commit is contained in:
2026-09-27 21:55:40 +08:00
parent 9acac53343
commit 953438a82a
11 changed files with 588 additions and 25 deletions
+5
View File
@@ -33,6 +33,11 @@ executor: # 独立命令执行服务;
url: "" # 非空走远端执行;留空读 env EXECUTOR_URL 或本地 spawn
token: "" # 与 executor 侧同值;留空读 env EXECUTOR_TOKEN
wxbot: # 微信接入(可选;仓库 wxbot/ 子项目,只挂内网,不入 git)
url: "" # 非空才启用;留空读 env WXBOT_URL(compose 注 http://wxbot:8093);
# 留空 = 功能整体静默关闭;填了但 wxbot 没起也不报错,设置页显示未连接
token: "" # core ↔ wxbot 共享服务 token,两侧同值;留空读 env WXBOT_TOKEN
terminal:
default_timeout_ms: 30000 # 命令默认超时(ms)
max_output_chars: 10000 # 回传模型的最大输出字符数