feat(file-check): 持久化 chat_tool_runs 并统一 agent_runtime_context 注入

新增跨 worker 进度绑定表与显式 hxops_turn_id 链路;Dify Start 仅注入
agent_runtime_context,task_id/turn_id 写入 refs 供画布解析后回传 Tool。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-07-09 18:39:05 +08:00
1 parent c778f40fbc
commit f4e74f7b07
23 files changed
+1580 -196

No files matched your search

@@ -33,10 +33,13 @@ ALLOWED_PARSE_PATHS: frozenset[str] = frozenset(
"refs.run_purpose",
"refs.file_name",
"refs.schedule_task_id",
"refs.hxops_turn_id",
"domain.type",
"domain.summary",
"domain.state_hint.batch_no",
"domain.state_hint.focus_task_no",
"domain.state_hint.schedule_task_id",
"domain.state_hint.hxops_turn_id",
"domain.state_hint.current_step",
"domain.state_hint.status",
"domain.state_hint.review_status",