8ca42dd973
change log in
2026-09-08 00:28:58 +08:00
4660cc7507
Treat missing MCP binding keys as empty and stress batch-only multi-NE CLI in ops skills.
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 22:28:24 +08:00
f6f129931f
Ship Cursor-only MCP admin and modular Admin/Chat UI.
...
Plugins/Skills install and edit via mcpServers JSON, with clearer row actions, soft reloads, and instant loading placeholders; also drop MCP market and harden related scheduler/logging/exec guards.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 19:38:26 +08:00
76f62d8fac
Cut ops turn idle loops and WhatsApp progress spam.
...
Align tool validation with playbook recipes, add turn checklist/idle guard, and cap interim WA status ticks so multi-hop CLI turns stop flooding the group.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 11:13:41 +08:00
8fce428540
Drop dead admin/chat protocol fields and fix MCP specialist docs.
...
Align AIA_MCP_SPECIALISTS defaults, remove inherit/perm-ban/wire-effective noise from admin APIs, and stop echoing confirm_strategy/plan_agent_version on chat mode endpoints.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 03:13:59 +08:00
fe29b43695
Remove MCP wire suppression; keep specialist binding only.
...
Drop Admin 线侧策略 UI/APIs and gut tool_wire_policy to schema+size prep so MCP tools are gated solely by expert bindings.
2026-08-11 02:48:47 +08:00
b6986c4b8c
Align docs and runtime with expert-only routing.
...
Drop dead Manager helpers from the gateway, fix async wire_policy, and remove stale comprehensive UI copy from RUNBOOK/README/presentation.
2026-08-11 02:35:57 +08:00
cf31fd104d
Simplify oclaw product surface: drop niche specialists and admin noise.
...
Remove stock/image/video specialists, Gmail watcher, CocoLoop market, desktop packaging, and extra memory plugins; disable dynamic agents and hide Session Monitor / API grants / Admin Audit from nav.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 01:34:10 +08:00
efa72df362
Remove plan mode, skill toolcall path, and inline netx tools.
...
Wave C subtraction: keep skills as prompt-only, route netx via MCP with a shared netx_http client for xlsx/context inject, and delete plan_agent_v2 from the gateway.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 01:17:39 +08:00
628a9dffd2
Subtract dead agent husks and unify the gateway executor path.
...
Remove SpecialistAgentRunner, plan_agent_v2 re-export shims, empty runtime husks, and disconnected Admin knobs. Fold ops into build_gateway_executor, align AIA_ENABLE_PLUGIN_TOOLS with catalog, and allow ops on the default MCP specialist list.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 01:02:29 +08:00
e2fc72607e
Prefer batch CLI in playbooks, cap tool persistence, and steer getManagedNe failures.
...
Default scheduled CLI steps to ne_ids/ume_ne_ids batch, compact oversized tool chat_message/tool_log after turns, and on getManagedNe miss guide agents to listManagedNe/UME paths instead of blind retries.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-11 00:46:46 +08:00
aff11c1eae
Reduce WhatsApp ops tool friction with looser xlsx/file schemas and short-intent playbooks.
...
Production usage showed schema mismatches and multi-tool loops; accept common arg aliases and route agents to <=3-call alarm recipes.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 22:32:44 +08:00
9f2dba7a23
Add private layer 07 for field real cases in IP knowledge base.
...
Keep 01-06 as summarized general knowledge; route on-site reports into 07 and update the ops playbook retrieval order.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-29 11:18:28 +08:00
07002caeb8
fix erro command
2026-07-29 10:22:01 +08:00
23ecce4755
fix bubble splitting after session interruption
2026-07-23 09:48:51 +08:00
dbba8cafbf
Add write_xlsx tool so agents export Excel via structured data instead of fragile openpyxl scripts.
...
Generation returns attachment_id only; channel delivery still requires save_deliverable_attachment.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-22 23:54:16 +08:00
db1d89d83b
增加知识文档
2026-07-21 19:01:49 +08:00
40eed39110
docs(ops): anonymize sample NE in ops expert intro
...
Replace realistic host/IP fixture with a placeholder in the WhatsApp alarm example.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 10:29:31 +08:00
4c85dedf33
docs(ops): add oclaw and netx ops expert introduction guide
...
Introduce the ops specialist, netx integration, automation flows, and WhatsApp channel usage with Mermaid diagrams.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 17:18:08 +08:00
8781a200c9
docs(netx): document ume_ne_id exec and listCliTargets MCP tool
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-26 17:13:50 +08:00
bc1b45a8fd
fix(chat,channels): admin session delete, weixin inbound, PG and docs
...
- List/delete chat sessions for administrator by username (cross-tenant UUID)
- Return 404 when delete does not remove a session; add tests
- Weixin: dispatch lang, inbound attachments, reply persist, native reply timeout
- PG compat scrub and administrator session delete repo path
- RUNBOOK: WhatsApp re-bind with Remove-Item auth; weixin poll diag scripts
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-03 01:36:45 +08:00
a0a3f4b65f
feat(mcp): integrate netx via netx_mcp and improve MCP install
...
- Gate builtin netx tools; ops docs/skills use mcp__netx__*
- Import Cursor mcpServers JSON; pass env_schema defaults to subprocess
- Allow source_type=local; UTF-8 MCP stdio on Windows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-30 15:44:34 +08:00
8233db93db
Increase default tool rounds to 100 with 300 cap.
...
Raise Admin/UI defaults and backend clamps for AIA_TURN_MAX_TOOL_ROUNDS across gateway, worker, and direct loop paths.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-28 11:34:20 +08:00
89b295293d
Raise default tool rounds to 30 and cap at 100 per turn.
...
Update gateway, worker, direct_loop, and Admin tool policy UI/docs for AIA_TURN_MAX_TOOL_ROUNDS.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 17:34:39 +08:00
97d5c1744a
Add DeepSeek DSML-to-tool_calls conversion at transport and runtime layers.
...
Promote DSML markup from assistant text into native tool calls during streaming and completion, filter DSML from UI tokens, and document AIA_DSML_TEXT_TOOLS for local vLLM proxies.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-27 15:39:11 +08:00
0dc0c4663f
docs(pg): slim migration guide to shell one-liners
...
Migrator: only refuse import when SQLite and PG both have rows for a table (PG seed rows ok when SQLite empty). Add unit test for conflict helper.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 15:15:08 +08:00
1caf96e694
fix: harden assistant SQLite/PostgreSQL dual-backend (singleton, timeouts, warnings)
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 10:24:23 +08:00
1490bd5f24
feat: unify runtime logging (rotating files, log root, scripts, desktop)
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 10:11:51 +08:00
86d4bad107
docs: add assistant PostgreSQL migration guide and link from README
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 09:42:08 +08:00
d14e9d3596
feat(persistence): PostgreSQL assistant store, chat persist fixes, gateway scripts
...
- Add SQLAlchemy Core repos, pg adapter/compat, assistant_store factory, Alembic bootstrap and migration/cutover scripts.
- Harden chat_message writes (NUL scrub for PG), turn_uuid on attempt failure, WS turn_runner fallbacks and gateway executed_turn_uuid init.
- start_gateway: log paths, PS7 stderr handling via cmd, background stdout/stderr redirect; runtime assistant_runtime_log_dir export.
- Ops: clear_all_chat_sessions with PG-only --postgresql and env-gated wipe; clear_postgres_chat_sessions.ps1.
- Tests: SA repos, pg compat, persist fallback, smoke env isolation; CI and docs touch-ups.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-14 09:33:50 +08:00
48190afbc1
docs: document AIA_TOOL_FUNCTION_STRICT and add env example
...
Add ENVIRONMENT_VARIABLES entry, changelog note, and _local/system.env.example placeholder for OpenAI-style tools function.strict toggling.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-13 15:09:17 +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
274a9b8ddd
feat(mcp): pass all mcp_local.env keys to subprocess; allowlist supplements host-only
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 18:51:07 +08:00
48d5e468e6
feat(mcp): allowlist EXTRA merges with default; add Trilium keys to default
...
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-12 17:39:14 +08:00
df30b5902f
feat: 路径约定体系 & 自优化管道落地
2026-05-10 23:28:41 +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
beb52006d8
refactor: move bundled skills tree to repo root skills/
...
- Relocate runtime/skills -> skills/; runtime_skills_root() prefers oclaw/skills
with fallback to legacy runtime/skills for unmigrated trees.
- session-bootstrap hook handler resolves repo root via PROJECT_ROOT.
- Update architecture/migration docs and in-tree skill references.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 11:35:57 +08:00
396dba76ea
feat(chat): image specialist session image fallback and WS UX
...
- Resolve legacy multimodal inputs from session history when the user sends
text-only (assistant images first, then user uploads); optional env toggles.
- Support relay_pointer image resolution in legacy lane collector.
- Align uvicorn WebSocket frame limit with MAX_PAYLOAD_BYTES; document
OCLAW_UVICORN_WS_MAX_SIZE and compatible-mode env knobs.
- Admin chat: encode attachments after bubble preview; FileReader-based
base64 for large files.
- Tests and docs for new behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-10 11:25:21 +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
acf1266e90
feat(品牌): 支持 _local 外部优先 Logo 与图标覆盖
...
新增 /admin/brand-assets 静态挂载,并在前端与桌面端统一采用外部优先、内置兜底的品牌资源解析;同时补充 BRANDING 文档与 README 入口说明。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-07 10:17:38 +08:00
4444a8040e
docs: add out-of-the-box quickstart and cross-links
...
Add Chinese quickstart in README, env file step in OPEN_SOURCE_QUICKSTART, and RUNBOOK pointer to the one-page checklist.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-04 11:42:54 +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
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
e06184cc2f
对齐 run_command 与 write_file 的默认路径行为。
...
将 run_command 在未传 cwd 时改为默认 data/workspace,并将 write_file 调整为相对路径写入 data/workspace、绝对路径直写(经路径守卫校验),同步更新测试与文档。
Made-with: Cursor
2026-05-01 01:10:03 +08:00
d0a66d190d
统一公共工具并移除 workspace 专家链路。
...
将文件/命令/Git/检索能力统一迁入 public,去除重复工具与 local_ 命名前缀,并重命名底层路径守卫模块为 path_guard 以提升语义清晰度。
Made-with: Cursor
2026-05-01 00:38:31 +08:00
75aec2abe4
补齐本地 public 工具的 P1/P2/P3 能力。
...
新增目录列举、文件/目录操作、内容搜索、cwd/env 管理与进程管理工具,并在本地适配层统一实现与测试覆盖,保持风险门控策略一致。
Made-with: Cursor
2026-04-30 23:37:39 +08:00
d8e2f4cacc
新增本地 public 工具与适配器
...
Made-with: Cursor
2026-04-30 23:18:58 +08:00