What's Changed
Bug Fixes
-
#81 — 插件地址访问不到 (webhook path redirects to chat UI)
wecomHttpHandler在没有匹配的 webhook target 时不再返回false(导致 OpenClaw 3.x SPA catch-all 接管 webhook 路径),改为返回404+ 正确的 HTTP 响应。 -
#79 — Agent 模式 egressProxyUrl 代理不生效
- 新增
network.apiBaseUrl配置项和WECOM_API_BASE_URL环境变量,允许覆盖硬编码的qyapi.weixin.qq.com端点,支持反向代理/API 网关方案。 - 修复字典模式下
network、commands、dynamicAgents等顶层配置键被误识别为 account ID 的问题。 - 当配置了代理但
undici不可用时,输出 ERROR 级别日志(之前静默回退到无代理模式)。
- 新增
-
#78 — Bot 模式无法配置
放宽 plugin-levelconfigSchema和openclaw.plugin.json的additionalProperties为true,防止 OpenClaw 3.2 配置验证拒绝合法属性。
New Configuration
channels:
wecom:
network:
# 覆盖微信 API 地址(适用于反向代理/API 网关方案)
apiBaseUrl: "https://your-proxy-gateway.example.com"
# HTTP 代理(需要安装 undici)
egressProxyUrl: "http://proxy:8080"或通过环境变量:
WECOM_API_BASE_URL=https://your-proxy-gateway.example.com
WECOM_EGRESS_PROXY_URL=http://proxy:8080
Test Coverage
- 新增
http-handler.test.js— webhook handler 无 target 时的响应 - 新增
accounts-reserved-keys.test.js— 字典模式 RESERVED_KEYS 覆盖 - 新增
api-base-url.test.js— apiBaseUrl 配置覆盖 - 新增
proxy-route-fixes.e2e.test.js— 远程 E2E 验证
Full Changelog: v1.7.0...v1.8.0