diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json index 6ad2a93..337e4f7 100644 --- a/.agents/plugins/marketplace.json +++ b/.agents/plugins/marketplace.json @@ -9,20 +9,20 @@ "source": { "source": "url", "url": "https://github.com/full-stack-plugins/codeguard-plugin.git", - "ref": "v0.21.2" + "ref": "v0.21.3" }, "policy": { "installation": "AVAILABLE", "authentication": "ON_USE" }, "category": "Developer Tools", - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", - "icon": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.21.2/assets/official-logo.png", + "icon": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.21.3/assets/official-logo.png", "interface": { "displayName": "CodeGuard(代码质量检查)", "shortDescription": "60+ 语言 lint、CVE 与受控修复,提交门禁", - "logo": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.21.2/assets/official-logo.png" + "logo": "https://cdn.jsdelivr.net/gh/full-stack-plugins/codeguard-plugin@v0.21.3/assets/official-logo.png" }, "line": "full-stack", "componentTypes": [ diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 7309141..d4dc75e 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -7,7 +7,7 @@ { "name": "codeguard", "description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.", - "version": "0.21.2", + "version": "0.21.3", "source": "./" } ] diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 3764c9a..02cb2cb 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "codeguard", - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", "author": { "name": "Full Stack Skills / PartMe.AI", diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index 8c7c90b..58cd84c 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "codeguard", - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", "author": { "name": "Full Stack Skills / PartMe.AI", diff --git a/.zcode-plugin/plugin.json b/.zcode-plugin/plugin.json index 5708aa1..2db8390 100644 --- a/.zcode-plugin/plugin.json +++ b/.zcode-plugin/plugin.json @@ -5,7 +5,7 @@ "en": "CodeGuard · Code Quality", "zh-CN": "CodeGuard(代码质量检查)" }, - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", "description_i18n": { "en": "Evidence-backed lint, CVE scanning, guided fixes and Maven/Gradle impact analysis. Results distinguish pass, fail, unverified and planned.", diff --git a/dsh/README.md b/dsh/README.md index 78a06db..c9ba2f3 100644 --- a/dsh/README.md +++ b/dsh/README.md @@ -7,7 +7,7 @@ host manifest; Claude Code, Codex, ZCode and Kimi keep using those. ## Install ```sh -dsh plugin --profile desktop add link:/Users/wandl/workspaces/workspace-agent-skills/full-stack-plugins-repositories/codeguard-plugin/dsh +dsh plugin --profile desktop add link:/path/to/codeguard-plugin ``` ## What DSH gets diff --git a/dsh/cordis.patch.yml b/dsh/cordis.patch.yml index 8a59c91..9a66022 100644 --- a/dsh/cordis.patch.yml +++ b/dsh/cordis.patch.yml @@ -14,13 +14,13 @@ toolCallTimeoutMs: 60000 transport: 'stdio' command: "python" - cwd: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(p.dirname(req.resolve('codeguard/package.json'))) })()" + cwd: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(req.resolve('codeguard/package.json')) })()" args: - "-X" - "utf8" - "./scripts/run_check.py" - "--mcp" env: - CLAUDE_PLUGIN_ROOT: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(p.dirname(req.resolve('codeguard/package.json'))) })()" - PLUGIN_ROOT: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(p.dirname(req.resolve('codeguard/package.json'))) })()" + CLAUDE_PLUGIN_ROOT: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(req.resolve('codeguard/package.json')) })()" + PLUGIN_ROOT: !!js "(() => { const p = process.getBuiltinModule('node:path'); const req = process.getBuiltinModule('node:module').createRequire(baseUrl); return p.dirname(req.resolve('codeguard/package.json')) })()" PLUGIN_DATA: !!js "process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:os').homedir(), '.dsh', 'plugin-data', \"codeguard\")" diff --git a/dsh/package.json b/dsh/package.json index d34d44f..0ade528 100644 --- a/dsh/package.json +++ b/dsh/package.json @@ -1,6 +1,6 @@ { "name": "codeguard", - "version": "0.21.0", + "version": "0.21.3", "description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit.", "type": "module", "main": "lib/index.js", diff --git a/kimi.plugin.json b/kimi.plugin.json index 42ae9e4..98584ee 100644 --- a/kimi.plugin.json +++ b/kimi.plugin.json @@ -1,6 +1,6 @@ { "name": "codeguard", - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", "author": { "name": "Full Stack Skills / PartMe.AI" diff --git a/package.json b/package.json index eaabf05..5b2724f 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { - "name": "codeguard-plugin", - "version": "0.21.2", + "name": "codeguard", + "version": "0.21.3", "private": true, "type": "module", "main": "./dsh/lib/index.js", "dsh": { "bundle": { - "patch": "./cordis.patch.yml" + "patch": "./dsh/cordis.patch.yml" } }, - "icon": "./dsh/icon.png" + "icon": "./dsh/icon.png", + "description": "Evidence-backed code checks and Git content gates for AI assistants, with Maven/Gradle module impact analysis. Save hooks provide feedback; unverified checks are explicit." } diff --git a/plugin.json b/plugin.json index f50b93c..9f2892a 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "codeguard", - "version": "0.21.2", + "version": "0.21.3", "description": "证据化 lint、CVE 扫描、受控修复与 Maven/Gradle 影响分析;结论区分通过、失败、无法验证与计划中。", "author": { "name": "Full Stack Skills / PartMe.AI",