feat: 清理 control_node + 引入 task 一等公民
- control_node 标注 DEPRECATED:保留目录壳子供未来远程探针节点复用,删除调用路径与相关测试
- 新增 task 表:极简元数据持久化 regulatory_node 完成的短任务(出报告/写文件/查询整理)
- regulatory_node 自标注:MessageResponse 扩展 task_action/title/summary,_run 末尾非阻塞落库
- query_task_list 改查 task 表,符合用户对"任务列表"的直觉,与 workflow 体系解耦
- 新增 /api/v1/task/list|/{id} 只读 API(task 由 regulatory 内部触发,不开放对外创建)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -66,8 +66,9 @@ def test_tavily_search_metadata():
|
||||
tool = _get_tool_def(manifest, "tavily_search")
|
||||
assert tool["is_system"] is False
|
||||
assert tool["category"] == "search"
|
||||
assert "control_node" in tool["action_scope"]
|
||||
assert "consciousness_node" in tool["action_scope"]
|
||||
assert "regulatory_node" in tool["action_scope"]
|
||||
assert "control_node" not in tool["action_scope"]
|
||||
assert "api_key" in tool["config_args"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user