文件历史

提交图

2 次代码提交

作者 SHA1 备注 提交日期
huanghuoguoguo 2b03095d4e refactor(tools): unify tool-detail normalization in ToolManager
Build Dev Image / build-dev-image (push) Has been cancelled
Unit Tests / Unit Tests (3.11) (push) Has been cancelled
Unit Tests / Unit Tests (3.12) (push) Has been cancelled
Unit Tests / Unit Tests (3.13) (push) Has been cancelled
Unit Tests / Fast Integration Tests (push) Has been cancelled
Unit Tests / E2E Startup Tests (push) Has been cancelled
Unit Tests / Box Integration Tests (push) Has been cancelled
Unit Tests / Coverage Gate (push) Has been cancelled
Drop the PluginToolLoader.get_tool() override that returned a raw
ComponentManifest, so every loader's get_tool() now returns a uniform
resource_tool.LLMTool (PluginToolLoader.get_tools() already did this
conversion). This removes the only source of tool-shape heterogeneity.

- ToolManager.get_tool_schema(): drop the ComponentManifest-vs-LLMTool branch
- ToolManager.get_tool_detail(): new host-level shape {name, description,
  human_desc, parameters}
- handler.py GET_TOOL_DETAIL: call tool_mgr.get_tool_detail(); delete the
  handler-local _build_tool_detail + _i18n_to_dict/_i18n_to_text adapters and
  the litellm TODO
- ToolLookupResult is now just LLMTool

The dropped label/spec fields were not consumed by any runner (local-agent
build_llm_tool and external harnesses use only name/description/parameters).
2026-06-22 13:39:45 +08:00
huanghuoguoguo cede35b31b feat(agent-runner): add plugin runner host integration 2026-06-20 20:12:02 +08:00