ARTEX/server
Autumn-27 7bc0a00694 feat(agent): 触发器新增「工具调用」条件 + 定时触发改为复选框展开
- 定时触发统一为前置复选框,勾选后展开「每 N 秒」+ 消息(与其它条件一致)
- 新增工具调用触发(P3 第 5 种条件):
  - 选中系统工具列表(至少一个),任务执行中这些工具每次调用完成即触发 agent
  - 触发消息带上任务 id/描述/目标 + 工具名 + 入参 + 返回内容(各截断 1500 字)
  - 只读任务执行的 activity,触发跑的会话写 conversation_activities,天然无自触发循环
- DB: agent_triggers 加 on_tool_call/tool_call_message/tool_names 三列;
  已发版,附幂等 ALTER TABLE ADD COLUMN IF NOT EXISTS 供旧库升级补列
- scheduler: 新增 last_toolcall_id 水位线(首启 seed) + fireToolCalls,以 tool_result
  为水位、回连 tool_use 取入参,按选中工具集合匹配后触发

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-08 02:59:07 -04:00
..
assembly.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
assembly_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
assets.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
auth.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
broadcast.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
commands.go feat: LLM 录制开关、模型列表第三方回退、命令页改为工具执行 2026-08-07 09:32:01 -04:00
conversations.go fix(chat): 修复会话刷新丢失最终答案(#3) + 反向分页/详情懒加载/会话URL持久化 2026-08-07 11:45:33 -04:00
core_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
customtool.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
customtool_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
dto.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
engine.go fix(worker): 写回计数按事实/资产/漏洞分开统计 2026-07-28 11:52:53 -04:00
engine_timeout.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
goals.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
intercept.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
logsink.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
manager.go feat: LLM 录制开关、模型列表第三方回退、命令页改为工具执行 2026-08-07 09:32:01 -04:00
mcpdiscover.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
mgmt_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
orchestration.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
platform_tools.go docs(tools): create_custom_tool 描述前置【重要】提示,引导安装平台外工具后登记 2026-08-07 12:21:12 -04:00
platform_tools_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
scheduler.go feat(agent): 触发器新增「工具调用」条件 + 定时触发改为复选框展开 2026-08-08 02:59:07 -04:00
server.go feat: LLM 录制开关、模型列表第三方回退、命令页改为工具执行 2026-08-07 09:32:01 -04:00
server_mgmt.go feat: LLM 录制开关、模型列表第三方回退、命令页改为工具执行 2026-08-07 09:32:01 -04:00
sync_scopesentry.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
testmain_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tools_wire_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
triggers.go feat(agent): 触发器新增「工具调用」条件 + 定时触发改为复选框展开 2026-08-08 02:59:07 -04:00
webui_embed.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
webui_stub.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00