更新日志

August 17, 2026 · View on GitHub

本项目的所有显著变更都会记录在此文件,格式遵循 Keep a Changelog,版本号遵循 Semantic Versioning

0.1.0 - 2026-08-18

新增

  • gh_cli_run 工具:以参数数组执行任意 gh 子命令
  • gh_auth_status 工具:检查 gh 是否安装并登录
  • 三级安全模型:只读白名单(默认放行)/ 写操作(需 fullAccess)/ 凭据类命令(永禁)
  • gh api 方法感知:识别显式 --method 与隐式 -f/--field/--input 的 POST 语义
  • 精确区分 workflow run list(读)与 workflow run <file>(写)
  • 无 shell 注入:execFile + 参数数组(shell: false
  • 超时控制(默认 60s)与超大输出裁剪(默认 50KB)
  • 符合 DSH 插件规范的 dsh.bundle.patch 声明(cordis.patch.yml
  • GitHub Actions CI:Node 20/22/24 三版本矩阵(typecheck + test + build)
  • 中英双语 README

安全

  • auth login/logout/token/refreshsecret *ssh-key * 在任何情况下拒绝执行