feat: upgrade investigation and presentation runtime
This commit is contained in:
@@ -5,7 +5,7 @@ const labels = { reference: "查找所需资料", data: "获取业务数据", an
|
||||
const classify = (tool: string): keyof typeof labels => {
|
||||
if (["skill", "read", "glob", "grep", queryMcpToolId("session_search"), "session_search", "memory_manager", "skill_manager"].includes(tool)) return "reference";
|
||||
if ([...PRODUCT_MCP_TOOL_IDS, "websearch", queryMcpToolId("geocode"), queryMcpToolId("list_investigation_tasks"), queryMcpToolId("get_investigation_task"), queryMcpToolId("read_agent_messages"), "query_project_data", "query_operational_task_data", "get_operational_task_context"].includes(tool)) return "data";
|
||||
if (["render_scada_analysis", "clear_scada_analysis", "locate_features", "zoom_to_map", "show_chart", "view_history", "publish_task_presentation"].includes(tool)) return "visualization";
|
||||
if (["present_view", "publish_task_presentation"].includes(tool)) return "visualization";
|
||||
if (["publish_execution_plan", "publish_task_report", "publish_task_progress", "propose_task_action", "add_task_human_evidence"].includes(tool)) return "analysis";
|
||||
return "other";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user