Skip to content

Add plugin Git 工作树驾驶舱 v0.1.0 - #501

Open
TheLastSheep wants to merge 3 commits into
ZToolsCenter:mainfrom
TheLastSheep:codex/git-worktree-cockpit
Open

Add plugin Git 工作树驾驶舱 v0.1.0#501
TheLastSheep wants to merge 3 commits into
ZToolsCenter:mainfrom
TheLastSheep:codex/git-worktree-cockpit

Conversation

@TheLastSheep

Copy link
Copy Markdown
Contributor

变更

  • 新增全中文的 Git 工作树状态查看与匿名导出界面。
  • 提供 1 个 MCP 工具,供 Agent 读取用户已授权仓库的匿名快照。
  • 清单完整声明 macOS、Windows、Linux 三端支持。

安全

  • MCP 不接受或返回仓库绝对路径。
  • 会话退出会撤销授权并阻断晚到异步结果。
  • 导出采用独占临时文件、无覆盖硬链接与身份安全回滚。

验证

  • npm run build:39/39 通过。
  • dist 38,555 B;最终 ZIP 16,039 B,低于 15 MB 限制。
  • root/dist 中文入口均加载成功,无页面或控制台错误。
  • 独立交叉审查通过,P0-P3 均无。

验证边界

Windows/Linux 真机 ZTools 宿主尚未手动点击验证,因此创建为 Draft。

- 加固仓库授权、会话失效与原子无覆盖导出
- 提供不泄露路径的工作树快照工具

AI-Co-Authored-By: Codex
@TheLastSheep
TheLastSheep marked this pull request as ready for review September 1, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants