Repository navigation
改进
- 预构建
dist/随仓库与标签一并分发:将dist/mcp.js、dist/cli.js、dist/agy-hooks.js、dist/review-app.html纳入版本库,同时保持构建脚本命名为npm run bundle(不引入prepare/build)。opencode plugin -g git+https://github.com/Gipbear/opencode-clean-arch.git#v0.4.4在无全局 Node.js 的纯opencode环境中依然一次成功;npm install -g git+https://github.com/Gipbear/opencode-clean-arch.git#v0.4.4与 Antigravity / 通用 MCP 克隆后只需npm install --omit=dev,无需手动构建即可直接使用 CLI、MCP Server 与PreToolUse钩子。
- 清理冗余
peerDependencies:因src/index.ts已直接使用dependencies中的zod、不再在运行时依赖@opencode-ai/plugin,移除package.json中残留的peerDependencies与peerDependenciesMeta(仅在devDependencies保留用于单测兼容校验)。
完整变更对比:v0.4.3...v0.4.4