F2: persist native job projections and expose task controls

This commit is contained in:
Xin Wang
2026-10-23 16:03:40 +08:00
parent bae5ec3c58
commit 33fde56edd
13 changed files with 550 additions and 5 deletions
+2
View File
@@ -43,6 +43,8 @@ class ToolExecutor:
@staticmethod
def input_schema(tool: RuntimeTool) -> tuple[dict[str, Any], list[str]]:
config = (tool.definition or {}).get("config") or {}
if tool.type == "task":
return {"instruction": {"type": "string", "description": "需要远程执行的完整任务要求"}}, ["instruction"]
if tool.type == "mcp":
schema = config.get("input_schema") or {}
return (