d1bcc4debe
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>
2026-05-10 04:41:42 +08:00
04050747ae
fix(chat): handle missing branding dir and full-width layout
...
Create optional _local/branding directory at startup to avoid StaticFiles FileNotFoundError, and force standalone chat root containers to occupy full width.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-09 14:53:30 +08:00
acf1266e90
feat(品牌): 支持 _local 外部优先 Logo 与图标覆盖
...
新增 /admin/brand-assets 静态挂载,并在前端与桌面端统一采用外部优先、内置兜底的品牌资源解析;同时补充 BRANDING 文档与 README 入口说明。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-07 10:17:38 +08:00
6628cd1220
feat(models): add toggle to hide chat model selector
...
Expose a model-management setting to control chat-page model dropdown visibility, persist it in app settings, and apply it in chat UI rendering.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-06 18:58:01 +08:00
16169b3de2
fix(desktop): external gateway mode and start script alignment
...
- Add desktop env for non-embedded gateway (OCLAW_DESKTOP_EMBED_BACKEND, base URL, skip channel).
- Wire start_all/start_desktop to pass gateway URL when keeping existing gateway; fix root start_all flags.
- Prefer electron.cmd for background desktop launch; admin static theme presets and chat boot timeouts.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-06 11:06:16 +08:00
b0e0c05d8a
feat: integrate netx ops data access and unify prompt/workspace runtime
...
Migrate prompt templates into runtime workspaces, add network_ops netx toolchain (latest batch injection, raw fields, SQL query), and align docs/tests/admin/runtime wiring so ops analysis can query netx detail data through stable role-scoped paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-03 23:54:38 +08:00
83f46f8aa2
feat: add admin audit pagination and improve admin/chat UX.
...
Move admin operation audit to true offset-based pagination with SQL-side filtering and total count metadata, while keeping legacy response compatibility. Also refine admin Experts section layout and improve chat image viewer interactions and reasoning finalization behavior to reduce UX regressions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-02 20:12:32 +08:00
37522f492a
feat: plan agent v2, global chat mode, and user-mode v2 flag sync
...
- Add runtime/plan_agent_v2 package and shims; gateway/direct_loop/WS wiring
- Admin chat: interaction mode and specialist only in user menu; session API stores memory_mode and execution_mode only
- POST /admin/api/chat/user-mode mirrors plan_agent_version to AIA_EXPERT_PLAN_AGENT_V2_ENABLED (v2 to 1, v1 to 0)
- Composer cleanup (hidden mode select, no reasoning toggle in meta bar); tests and _local/system.env.example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-02 18:41:45 +08:00
ae44cbcad5
完善 MCP/会话上下文治理并补齐搜索与诊断能力。
...
补充历史压缩与会话诊断链路,强化 tool pairing 与空响应兜底观测;完善 Admin MCP 导入/绑定与相关前端展示;新增 web_search_fast/web_fetch_clean 及多项测试与文档更新,并同步技能安装与角色绑定策略改进。
Made-with: Cursor
2026-05-01 17:46:50 +08:00
df91434936
适配 Bailian WebParser 兼容接入并完善 sidecar 文档。
...
新增 WebParser 兼容工具与 MCP health/tools-sync 兼容模式,让 WebParser/sse 可注册到 agent 并暴露明确 schema;同时修复 mcp argv 环境变量展开并补齐微信 sidecar 纯本地化安装与文档说明。
Made-with: Cursor
2026-05-01 17:40:52 +08:00
5d67303d22
修复 Admin Skills 安装区块不显示,并支持卸载 _workspace/public lane。
...
同时补齐 _workspace/public 目录约定、公共技能免绑定规则,并为 run_command 增加默认禁用开关与回归测试。
Made-with: Cursor
2026-05-01 03:34:32 +08:00
5ef9abb069
将高风险 public 工具开关改为按用户生效。
...
在 Admin 工作区路径页新增并保存用户级 public_tools_allow_high,扩展用户路径策略存储字段并让 catalog 风险门控优先读取该用户策略(环境变量仍可覆盖)。
Made-with: Cursor
2026-05-01 01:59:11 +08:00
4d9232f3b3
统一技能安装与 Skills 市场接入链路。
...
新增公开安装工具与多来源 provider 支持,补齐管理端与目录加载逻辑,并同步更新相关测试与文档以保证可见性和路径安全。
Made-with: Cursor
2026-04-30 22:17:50 +08:00
d5e30542aa
统一会话展示与专家路由行为,修复图片异步显示与气泡宽度问题。
...
本次移除 image 专家角色并同步更新路由/绑定/测试,同时增强 session-bootstrap 的共享与角色分层记忆加载,减少刷新依赖并提升默认可用性。
Made-with: Cursor
2026-04-29 22:16:49 +08:00
5f68afa963
为自写技能增加隔离目录与默认可用通道。
...
自动安装/创建的 workspace 技能统一落在 _workspace 目录,并在启用受信开关时自动启用和绑定到 manager+各专家;同时补充 API 返回状态与回归测试。
Made-with: Cursor
2026-04-29 20:53:11 +08:00
2edd78ac3b
统一图片附件在聊天与通道回送链路的可见性与可发送性。
...
支持 tool_result 的 image_ref 前端渲染,并在微信/WhatsApp 回送时将 attachment 引用自动展开为可发送媒体,补齐回归测试。
Made-with: Cursor
2026-04-29 20:26:53 +08:00
6a71892c72
增加 Admin MCP 更新检测与按需更新能力。
...
新增 check-updates 接口并在已安装列表展示更新状态,支持一键检查更新与仅更新过期项,减少 MCP 上游变更导致的被动排障成本。
Made-with: Cursor
2026-04-29 10:47:03 +08:00
25180921e7
兼容 memory-wiki 输入路径并强调相对路径
...
- memory-wiki 的 wiki_root 路径解析兼容:相对路径 / data/wiki 前缀 / wiki_root 下绝对路径
- 系统提示词强调:模型传相对 wiki 根路径(相对 data/wiki),避免直接给 data/wiki/... 或绝对路径
- 修复并回归:memory-wiki 工具动态加载模块 import-time 错误(sys.modules 注入)
- chat.js 增强会话滚动跟随(异步渲染补滚)
Made-with: Cursor
2026-04-29 08:54:58 +08:00
8b8265eb46
修复综合模式历史会话泄漏内部指令。
...
将综合模式执行文本与用户落库文本彻底解耦,确保只持久化用户真实输入;同时在消息读取接口增加旧脏数据过滤,并补充回归测试,避免内部派单指令再次作为用户消息展示。
Made-with: Cursor
2026-04-29 00:02:30 +08:00
5ab69e88d3
Update channel dispatch UX and harden sidecar startup behavior.
...
This aligns Weixin/WhatsApp with admin-managed model routing by adding channel/account-level specialist controls, improves OSS startup resilience by skipping missing sidecars gracefully, and refreshes runbook/readme guidance for the new default behavior and Weixin OpenAI-key silent handling.
Made-with: Cursor
2026-04-28 22:58:50 +08:00
31e3962c74
Harden attachment access controls and stabilize the Weixin bridge.
...
This persists referenced media safely, adds explicit attachment ACL/backfill flows, and fixes the Weixin sidecar so official login state can bridge reliably into oclaw without duplicate replays or dropped replies.
Made-with: Cursor
2026-04-28 15:38:55 +08:00
6cfaff06f6
Refactor media payload handling to persist base64 blobs as attachment refs and keep non-turn model paths safe by degrading risky payloads.
...
This preserves multimodal fidelity for the latest user turn while preventing historical/tool replay bloat, and adds admin UI support for referenced attachment preview/download flows.
Made-with: Cursor
2026-04-28 10:30:27 +08:00
3d27a01879
补充并收敛管理台与运行时改动,完成本轮代码提交。
...
包含模型配置/thinking 透传、MCP 运行时与安装体验增强、以及会话渲染与图片显示链路修复,确保流式与历史展示行为一致。
Made-with: Cursor
2026-04-28 03:38:39 +08:00
d57969d66d
修复 MCP 图片在流式与历史会话中的显示一致性。
...
将 tool_result 图片落库为 attachments,并在聊天渲染中保留单气泡与时序位置,避免流式结束后图片消失或刷新后错位。
Made-with: Cursor
2026-04-28 03:35:51 +08:00
7253f6795d
完成 WebSocket 与 workspace 架构优化收尾,并修复全量回归阻塞。
...
本次将握手鉴权、Origin 校验、限流、重连补偿、发送背压与观测字段打通,同时修复 gateway 异常路径与备份清理兼容问题,确保工具历史压缩语义一致并恢复全量测试通过。
Made-with: Cursor
2026-04-27 20:41:50 +08:00
e9227bf7a0
统一 specialist 发现与角色绑定入口,收敛到运行时 registry 快照。
...
移除静态 specialist 列表依赖,并将未知动态 specialist 默认映射为最小权限 expert,降低路由与权限不一致风险。
Made-with: Cursor
2026-04-27 15:43:30 +08:00
768f175c3e
Stabilize WS chat streaming and failure handling
...
Use inactivity-based WS send timeout, avoid end-of-turn message list repaint, add WS heartbeat during turns, improve MiniMax tool replay compatibility, and retry tool replay protocol mismatch errors.
Made-with: Cursor
2026-04-26 23:25:15 +08:00
ca354c0a71
恢复并增强 Admin/Chat 专家配置与流式渲染体验,统一开关与布局规范。
...
将专家元数据接入后端和管理页面,并恢复合并模式选择与稳定流式增量显示,减少末尾闪烁与配置混乱。
Made-with: Cursor
2026-04-26 21:16:14 +08:00
85ce1194c9
重构 Admin 控制台信息架构与页面骨架,按业务域重排导航并统一配置页分节布局。
...
本次在保持现有主题配色不变的前提下,提升了可读性与操作效率,补充了页内分节导航与长页滚动定位体验。
Made-with: Cursor
2026-04-26 15:48:49 +08:00
37a2ef35f4
实现附件处理链路的统一引用化与可检索增强,避免大文件/多模态内容直接撑爆上下文并提升工具可用性。
...
本次补齐 text/image/video/archive 的标准化处理、会话级工具守卫、回放压缩、配置与文档对齐,并修复表格与流式输出相关体验问题。
Made-with: Cursor
2026-04-26 15:25:50 +08:00
9d2900db02
完成运行时与启动链路的全面相对路径整改,统一以仓库根为路径基准并移除 oclaw 双层硬编码。
...
同时补齐路径回归测试与开源自检文档,确保从非仓库 cwd 启动时 workspace 根、配置和 wiki 路径仍稳定可用。
Made-with: Cursor
2026-04-26 09:22:42 +08:00
dbbe3add6a
重构主控编排与运行时预热链路,统一工作区提示词/专家调度协议并补齐 wiki 记忆注入与写回闭环。
...
同时收敛启动与运维脚本默认行为(含 wiki worker)、更新 Admin 可观测性与相关测试,降低首轮时延并提高运行稳定性。
Made-with: Cursor
2026-04-26 08:34:33 +08:00
4a23b715a2
重构仓库目录为统一的 runtime 分层并清理历史 openclaw 残留。
...
本次迁移将网关/通道/工具/技能/脚本与协议资源集中到新结构,统一路径常量与脚本转发机制,减少顶层噪音并保证运行与测试行为一致。
Made-with: Cursor
2026-04-25 01:24:23 +08:00