Skip to content

Coding Tools MCP v0.2.4

Choose a tag to compare

@mybolide mybolide released this 20 Oct 07:34
· 9 commits to main since this release

修复 macOS 反复弹出「想访问文稿」授权窗

macOS 用户点击「允许」后授权窗仍反复出现(实测 24 小时触发 1458 次)。
根因是发布包从未被 codesign 真正签名——只有链接器顺手打的临时标记,
Info.plist 未绑定、资源未封存、没有 designated requirement。TCC 存下授权后
下次校验找不到可匹配的 code requirement,判定身份不符,于是每次重新弹窗。

修复内容

  • 启用 macOS 代码签名:signingIdentity: "-"(adhoc,零成本,无需开发者账号)。
    签名 identifier 现在与 CFBundleIdentifier 一致,不再使用 Tauri 默认的
    coding_tools_mcp_desktop-<hash>。
  • CI 签名门禁:签名校验失败、资源未封存、identifier 不匹配或缺文件夹用途说明时,
    macOS 构建直接失败,杜绝未签名包流出。
  • 隧道子进程工作目录移出工作区:frpc / cloudflared 改在应用配置目录下运行,
    不再以 ~/Documents 为 cwd 长期驻留。
  • 退出时清理子进程:应用退出时同步终止全部受管隧道进程,启动时再清理上次遗留的孤儿进程。

安装包

系统 文件
Windows 10/11 x64 Coding Tools MCP_0.2.4_x64-setup.exe
macOS Intel + Apple Silicon Coding.Tools.MCP_0.2.4_universal.dmg

早前上传的 _aarch64.dmg 仅含 Apple Silicon 架构,Intel Mac 上打开会显示禁止符号,
已替换为同时支持两种架构的 _universal.dmg。

macOS 首次授权说明

工作区位于 ~/Documents、~/Desktop、~/Downloads 时,macOS 仍会要求授权一次
(这三个目录受 TCC 保护)。本次修复后点一次「允许」即持久生效,不会再反复弹窗。

macOS 包为 adhoc 签名,首次打开若被 Gatekeeper 拦截,请右键「打开」绕过一次。
如需完全消除该提示,后续可改用 Developer ID 证书签名并公证。

🤖 Generated with Claude Code

Full Changelog: v0.2.3...v0.2.4