mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 00:40:45 +08:00
适配 Bailian WebParser 兼容接入并完善 sidecar 文档。
新增 WebParser 兼容工具与 MCP health/tools-sync 兼容模式,让 WebParser/sse 可注册到 agent 并暴露明确 schema;同时修复 mcp argv 环境变量展开并补齐微信 sidecar 纯本地化安装与文档说明。 Made-with: Cursor
This commit is contained in:
parent
329fb2239a
commit
df91434936
16 changed files with 640 additions and 56 deletions
|
|
@ -22,6 +22,7 @@ This project exposes local atomic capabilities as shared `public` tools for all
|
|||
- `set_env`
|
||||
- `list_processes`
|
||||
- `kill_process`
|
||||
- `bailian_webparser` (DashScope WebParser compatibility tool)
|
||||
|
||||
## Loading path
|
||||
|
||||
|
|
|
|||
|
|
@ -44,6 +44,8 @@ Notes:
|
|||
|
||||
- No global `openclaw` CLI installation is required.
|
||||
- Runtime dependencies are installed locally in sidecar workspace.
|
||||
- Login/account state is persisted under `data/channel_sidecar/oclaw-weixin/state/`.
|
||||
- The Weixin flow does not rely on `%USERPROFILE%\.openclaw`.
|
||||
|
||||
## Path C: Enable WhatsApp (experimental)
|
||||
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ powershell -ExecutionPolicy Bypass -File .\scripts\stop_gateway.ps1 -Force
|
|||
|
||||
### 1.1.4 安装官方微信插件(Personal WeChat)
|
||||
|
||||
> 这一步会安装/更新官方插件到:`%USERPROFILE%\.openclaw\extensions\openclaw-weixin\`
|
||||
> 这一步会安装/更新微信 sidecar 运行时到:`data/channel_sidecar/oclaw-weixin/`
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\runtime\operations\scripts\weixin_install.ps1
|
||||
|
|
@ -87,10 +87,10 @@ powershell -ExecutionPolicy Bypass -File .\runtime\operations\scripts\weixin_ins
|
|||
powershell -ExecutionPolicy Bypass -File .\runtime\operations\scripts\weixin_login.ps1
|
||||
```
|
||||
|
||||
按提示扫码完成绑定(会写入账号 ID / token 等状态到 `%USERPROFILE%\.openclaw\openclaw-weixin\`)。
|
||||
按提示扫码完成绑定(会写入账号 ID / token 等状态到 `data/channel_sidecar/oclaw-weixin/state/`)。
|
||||
|
||||
> 说明:`weixin_install.ps1` **不要求你全局安装 openclaw**(不需要 `npm install -g openclaw`)。
|
||||
> 脚本会在 `data/channel_sidecar/oclaw-weixin/` 下安装本地运行时依赖,并完成官方插件安装。
|
||||
> 脚本会在 `data/channel_sidecar/oclaw-weixin/` 下安装本地运行时依赖与官方插件包(`node_modules`),全流程不依赖 `%USERPROFILE%\.openclaw`。
|
||||
|
||||
### 1.1.6 启动微信 sidecar(原生模式)
|
||||
|
||||
|
|
@ -548,6 +548,7 @@ powershell -ExecutionPolicy Bypass -File .\scripts\weixin_install.ps1
|
|||
```
|
||||
|
||||
注意:当前仅保留官方插件单链路,直接执行 `weixin_install.ps1` 即可。
|
||||
且为纯 sidecar 方案:不会写入 `%USERPROFILE%\.openclaw\`。
|
||||
|
||||
安装目录:
|
||||
|
||||
|
|
@ -563,6 +564,7 @@ powershell -ExecutionPolicy Bypass -File .\scripts\weixin_login.ps1
|
|||
|
||||
- `data/channel_sidecar/oclaw-weixin/state/oclaw-weixin/accounts/*.json`
|
||||
- `data/channel_sidecar/oclaw-weixin/state/oclaw-weixin/accounts.json`
|
||||
- 不会写入 `%USERPROFILE%\.openclaw\openclaw-weixin\`
|
||||
|
||||
### 11.3 启动微信 sidecar
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue