0de5f7bc98
fix(ops): English replies from English prompts and ROLE_SYSTEM.en
...
Detect language from user message before UI hint, load ops ROLE_SYSTEM.en.md when en, and wire user_text through WS/HTTP/worker paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-19 22:41:46 +08:00
420abac9f1
refactor: root-package imports (svc/runtime/interfaces) and fix PYTHONPATH
...
- Rename platform/ to svc/ to avoid shadowing stdlib platform.
- Replace from oclaw.* with from svc/runtime/interfaces; update -m CLI paths.
- tests/conftest: prepend repo root to sys.path (no parent-folder package name).
- CI: paths and offline_eval script under repo root.
- Ops scripts: PYTHONPATH must be repo root for python -m runtime.* (fixes gateway/WhatsApp sidecar startup).
- Fix default oclaw.json path in tabular/file attachment limits; stabilize attachment test config.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 14:51:17 +08:00
4335040a27
feat(video): DashScope video specialist with correct i2v request bodies
...
- Add video_generation_client: async video-synthesis, t2v vs i2v (Wan 2.7 input.media first_frame vs legacy img_url).
- Coerce *-t2v* to *-i2v* when first frame present; AIA_VIDEO_I2V_INPUT_STYLE / I2V_MODEL overrides.
- Gateway/direct_loop early return for video specialist; workspace video + factory allowlist.
- Normalize WS and admin chat attachments (image_ref parity); mp4 attachment store roundtrip tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 16:20:43 +08:00
faeb067856
feat(chat): image specialist legacy lane, Responses fixes, ACL + UI attachments
...
- Image expert: DashScope-style /chat/completions via image_legacy_client; early exit in
direct_loop when skill_binding_role is image; shared placeholder helper; docs/IMAGE_SPECIALIST_LANE.md.
- Strict attachment ACL: link_attachment_acl on assistant chat_message rows (sqlite_store);
chat attachment rate limit when user_id empty; admin chat tests updated.
- Admin chat UI: aggregate bubbles render assistant_text attachments (image_ref); WS expand path.
- turn_runner: persisted_chat_attachments_nonempty for final_msg selection.
- OpenAI Responses transport + agent_messages/agent_core_attempt adjustments; env docs and tests.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 07:06:05 +08:00
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
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
d5e30542aa
统一会话展示与专家路由行为,修复图片异步显示与气泡宽度问题。
...
本次移除 image 专家角色并同步更新路由/绑定/测试,同时增强 session-bootstrap 的共享与角色分层记忆加载,减少刷新依赖并提升默认可用性。
Made-with: Cursor
2026-04-29 22:16:49 +08:00
c6a1da1980
为全专家统一开放 memory wiki 工具能力。
...
将 generalist/ops/image 的 expert 组合加入 memory,使主控调度下的各专家都可调用 memory_wiki_search/apply/lint,并补充注册策略测试防止回归。
Made-with: Cursor
2026-04-29 01:41:17 +08:00
3d27a01879
补充并收敛管理台与运行时改动,完成本轮代码提交。
...
包含模型配置/thinking 透传、MCP 运行时与安装体验增强、以及会话渲染与图片显示链路修复,确保流式与历史展示行为一致。
Made-with: Cursor
2026-04-28 03:38:39 +08:00
e9227bf7a0
统一 specialist 发现与角色绑定入口,收敛到运行时 registry 快照。
...
移除静态 specialist 列表依赖,并将未知动态 specialist 默认映射为最小权限 expert,降低路由与权限不一致风险。
Made-with: Cursor
2026-04-27 15:43:30 +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