feat: multimodal image clients, workspaces, Tushare skill, test fixes

- Replace monolithic image_message_client with HTTP/OCR/legacy modules; tighten OpenAI transport + tool schemas for multimodal downgrade to OCR specialist path.
- Add image/stock workspace prompts (META/SOUL/ROLE_SYSTEM); register experts; tweak specialist agent/direct loop/query_image_attachment.
- Add bundled runtime/skills/tushare-finance (references, api_client, SKILL metadata).
- Document OCR-related env vars; admin chat tweaks; README; weixin_install Ensure-OfficialPluginRuntimeDeps helper.
- Tests: multimodal downgrade + OCR coverage, strict tool pairing in attachment replay guard, workspace contract skips _internal/_system dirs, router/trace/prompt guards.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-05-10 04:41:42 +08:00
parent 6307ade480
commit d1bcc4debe
266 changed files with 57024 additions and 839 deletions

View file

@ -54,6 +54,18 @@ powershell -ExecutionPolicy Bypass -File .\scripts\start_all.ps1 -Background
若要在 ops 专家模式下调 **netx** 告警库,需单独启动 netx 服务,并在 `_local/system.env` 中配置 `OCLAW_NETX_BASE_URL`(及可选的 `OCLAW_NETX_API_TOKEN`)。说明见 `docs/NETX_MCP_INTEGRATION.md`。
### 可选:股票分析专家(A股/港股,信号建议)
已新增 `stock` 专家工作区(只做分析,不下单)。建议配合 Tushare MCP 使用:
1. 在 Tushare 平台获取 MCP 配置(见官方文档:[Tushare MCP 配置与使用](https://tushare.pro/document/1?doc_id=463))。
2. 在 oclaw 管理台导入 MCP JSON(支持 `mcpServers` 结构),启用后执行 Health / Sync Tools。
3. 在聊天里路由到 `stock` 专家,按信号模板输出“买入/卖出/观望”建议。
说明:
- 当前方案不接券商账户、不执行下单。
- 输出包含数据来源与时间戳,并附“非投资建议”声明。
### 外部贡献
若仓库对外开源并接受 Pull Request,协作方式与合并前自检见根目录 `CONTRIBUTING.md`。