Skip to content

Baize MCP 0.1.2

Choose a tag to compare

@github-actions github-actions released this 13 Aug 20:37
· 24 commits to main since this release

Baize MCP v0.1.2

中文

Baize MCP v0.1.2 增加了第一批命令工作流工具。AI 客户端现在可以在本机安全会话的权限范围内发现白泽命令模板、预览模板执行条件、创建命令计划,并跟踪或请求取消远程任务。

主要变化

  • 增加 baize_command_templates_list,查询当前账号可用的模板摘要和参数约束。
  • 增加 baize_command_template_preview,对指定节点进行渲染预览和预检;预览不会创建计划或运行命令。
  • 增加 baize_command_plan_createbaize_command_plan_getbaize_command_plan_execute,创建计划不会直接派发命令。
  • 增加 baize_exec_task_getbaize_exec_task_cancel,查看任务进度或请求取消等待中、运行中的任务。
  • 写工具继续使用白泽现有账号权限、风险确认、审批、审计和任务状态控制,MCP 不建立第二套权限或审批逻辑。
  • 计划和任务结果采用有限字段、数量和文本长度边界,不返回命令正文、工作目录、环境变量、操作者身份、任务输出或凭据。

兼容性与升级

  • 最低兼容白泽版本:0.2.1
  • 传输方式:stdio。
  • 已安装用户可从此前获取的 baize 公开入口运行 AI 接入升级器。升级会校验发布归档和可执行文件,并保留本机 profile 与系统凭据;升级前退出正在使用 MCP 的 AI 客户端,完成后重新打开客户端。
  • 创建计划不会自动执行。执行或取消任务前,AI 应展示目标、目的、风险、预期结果和回滚方式,并等待操作者明确确认;白泽返回需要审批或二次确认时不得绕过。

完整安装和使用说明见 Baize 公开入口AI 接入与远程任务指南

English

Baize MCP v0.1.2 adds the first command workflow tools. Within the permissions of the local Baize session, an AI client can discover command templates, preview execution conditions, create command plans, and track or request cancellation of remote tasks.

Highlights

  • Added baize_command_templates_list for template summaries and parameter constraints allowed for the signed-in account.
  • Added baize_command_template_preview for rendering previews and prechecks on selected agents; preview never creates a plan or runs a command.
  • Added baize_command_plan_create, baize_command_plan_get, and baize_command_plan_execute; creating a plan does not dispatch a command.
  • Added baize_exec_task_get and baize_exec_task_cancel to inspect progress or request cancellation of pending or running tasks.
  • Write tools continue to use Baize's existing account permissions, risk confirmation, approval, audit, and task-state controls. MCP does not add a second permission or approval layer.
  • Plan and task results use bounded fields, item counts, and text lengths, and exclude command bodies, working directories, environment values, operator identity, task output, and credentials.

Compatibility and upgrade

  • Minimum compatible Baize version: 0.2.1.
  • Transport: stdio.
  • Existing users can run the AI access upgrader from the previously obtained baize public entry. The upgrader verifies the release archive and executable, and preserves the local profile and operating-system credential store. Close AI clients using MCP before upgrading, then reopen them afterward.
  • Creating a plan does not execute it. Before execution or cancellation, the AI should show the target, purpose, risk, expected result, and rollback path and wait for explicit operator confirmation. Never bypass an approval or secondary confirmation requested by Baize.

See the Baize public entry and its AI Access and Remote Task Guide for complete installation and usage instructions.