feat(main): 修改工具输入schema以支持workflow[extraContext]字段

- 将params字段替换为workflow[extraContext]字段用于接收工作流额外上下文参数
- 更新描述信息,明确字段用途为接收工作流额外上下文参数(如环境变量等)
- 修改处理逻辑,提取workflow[extraContext]字段并合并到inputs中
- 当workflow[extraContext]为字典类型时合并到inputs,否则保留为独立字段
- 更新日志信息中的字段名称引用

chore(pyproject): 更新版本号至0.1.7
This commit is contained in:
2026-02-09 19:44:51 +08:00
parent 1b850913e7
commit 32bc05376f
2 changed files with 15 additions and 15 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "lzwcai-workflow-to-mcp"
version = "0.1.6"
version = "0.1.7"
description = "MCP server for executing business SQL queries with dynamic tool generation"
readme = "README.md"
requires-python = ">=3.10"