Repository navigation
feat(connector): 新增连接器工具发现、参数查询与调用 - #363
Merged
Merged
Conversation
# Conflicts: # packages/cli/src/commands.ts # packages/commands/src/index.ts # skills/bailian-cli/SKILL.md # skills/bailian-cli/reference/index.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
新增
bl connector命令组。用户可以按意图查找工作空间中的连接器工具和已授权账号,查看所选工具的入参,再通过该账号执行调用。bl connector tools --querytraceIdbl connector schematoolRef和instanceId查询该工具的输入 JSON Schemabl connector call--json入参,执行工具并返回结果三个命令均支持通过
DASHSCOPE_API_KEY和BAILIAN_WORKSPACE_ID配置凭证与工作空间。call不统一要求--yes,读写权限由所选工具和连接器服务决定。验证
main后,connector、MCP 和 CLI 命令注册相关的 547 项测试全部通过。vp check返回 0 个错误、9 个已有警告。tools → schema → call。用新发现的钉钉文档实例搜索「百炼」,设置pageSize: 1,成功返回 1 条文档及下一页游标;另一次搜索也验证了零命中的正常返回。三个命令均以退出码 0 完成。发布准备
七个发布包和 10 个 Skill 的版本已同步至
2.15.0,中英文 CHANGELOG、npm 包 README 和命令手册已更新。README 一致性及七包版本检查已通过,正式发布尚未触发。