Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dsh/cordis.patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# for the other hosts.
- insert:
- id: codeguard-plugin
name: '@partme-dsh/codeguard'
name: 'codeguard'

- id: mcp-codeguard-codeguard
name: '@deepseek-ai/dsh-mcp-client'
Expand All @@ -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('@partme-dsh/codeguard/package.json'))) })()"
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'))) })()"
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('@partme-dsh/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('@partme-dsh/codeguard/package.json'))) })()"
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'))) })()"
PLUGIN_DATA: !!js "process.getBuiltinModule('node:path').join(process.getBuiltinModule('node:os').homedir(), '.dsh', 'plugin-data', \"codeguard\")"
5 changes: 3 additions & 2 deletions dsh/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@partme-dsh/codeguard",
"name": "codeguard",
"version": "0.21.0",
"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",
Expand Down Expand Up @@ -36,5 +36,6 @@
"bundle": {
"patch": "./cordis.patch.yml"
}
}
},
"private": true
}
Loading