ARTEX/db
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
..
asset_dsl.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
assets.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
assets_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
commands.go feat: LLM 录制开关、模型列表第三方回退、命令页改为工具执行 2026-08-07 09:32:01 -04:00
companies.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
companies_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
company_scope.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
company_scope_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
config.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
config_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
constants.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
conversation.go fix(chat): 修复会话刷新丢失最终答案(#3) + 反向分页/详情懒加载/会话URL持久化 2026-08-07 11:45:33 -04:00
customtool_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
db.go chore(docker): 预装 Playwright MCP/CLI 及 chromium 2026-07-28 11:52:53 -04:00
db_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
exploration.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
exploration_test.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
findings.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
intercept.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
logs.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
nkey.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
schema.sql feat(agent): 触发器新增「工具调用」条件 + 定时触发改为复选框展开 2026-08-08 02:59:07 -04:00
settings.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tasks.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
tasks_test.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.go chore: ARTEX 初始化 2026-07-26 04:27:45 -04:00
triggers.go feat(agent): 触发器新增「工具调用」条件 + 定时触发改为复选框展开 2026-08-08 02:59:07 -04:00