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
4 changes: 2 additions & 2 deletions plugin/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "opendrs",
"version": "0.7.0",
"version": "0.7.1",
"description": "Blast radius and risk score (0-1) for every pull request. Lets AI-reviewed, low-risk PRs auto-approve into the merge queue while risky ones wait for a human. Skill + MCP server.",
"author": { "name": "error-path", "url": "https://github.com/error-path" },
"homepage": "https://github.com/error-path/opendrs",
"repository": "https://github.com/error-path/opendrs",
"license": "MIT",
"keywords": ["blast-radius", "pr-risk", "risk-score", "code-review", "auto-approve", "auto-merge", "merge-queue", "ai-code-review", "diff-risk-score"],
"mcpServers": {
"opendrs": { "command": "npx", "args": ["-y", "@error-path/opendrs@0.7.0", "mcp"] }
"opendrs": { "command": "npx", "args": ["-y", "@error-path/opendrs@0.7.1", "mcp"] }
}
}
2 changes: 1 addition & 1 deletion plugin/commands/opendrs-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: Review the current diff using the opendrs review brief as a reading

- Build the review brief **before reading any file directly**, even if `Read`/`Glob` already work
and you could review from the raw files without it — the brief is the first step, not a fallback
for when you can't read files: !`npx @error-path/opendrs@0.7.0 brief 2>&1 || echo "[opendrs brief CLI failed, see the output above: call the MCP tool review_brief instead]"`.
for when you can't read files: !`npx @error-path/opendrs@0.7.1 brief 2>&1 || echo "[opendrs brief CLI failed, see the output above: call the MCP tool review_brief instead]"`.
If that command doesn't hand you a brief for any reason — no Bash, a blocked registry, `git`
itself erroring, or the repo's files not visible yet — call the MCP tool `review_brief {repoDir,
base?, head?, maxTokens?}` directly instead (the `repoDir` is the current working directory); it
Expand Down
14 changes: 7 additions & 7 deletions plugin/skills/opendrs/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ judge. It returns a score, a tier and the gate decision the repo's CI will apply
## Score before you open a PR

```bash
npx @error-path/opendrs@0.7.0 score --base origin/main # human-readable report
npx @error-path/opendrs@0.7.0 score --base origin/main --json # machine-readable
npx @error-path/opendrs@0.7.1 score --base origin/main # human-readable report
npx @error-path/opendrs@0.7.1 score --base origin/main --json # machine-readable
```

Read the output in this order:
Expand Down Expand Up @@ -41,7 +41,7 @@ Split the PR, or ask the user whether to, when:
## Explain one file

```bash
npx @error-path/opendrs@0.7.0 explain src/path/to/file.ts
npx @error-path/opendrs@0.7.1 explain src/path/to/file.ts
```

This shows the file's history, bug-fix count, authors, direct and transitive dependents, and
Expand All @@ -54,8 +54,8 @@ hunks to read first from file history, blast radius and past fixes, and gives fi
check.

```bash
npx @error-path/opendrs@0.7.0 brief --base origin/main # human-readable
npx @error-path/opendrs@0.7.0 brief --base origin/main --json # machine-readable
npx @error-path/opendrs@0.7.1 brief --base origin/main # human-readable
npx @error-path/opendrs@0.7.1 brief --base origin/main --json # machine-readable
```

Or the MCP tool `review_brief {repoDir, base?, head?, maxTokens?}` when the server is connected.
Expand Down Expand Up @@ -117,7 +117,7 @@ fact, `reviewFirst` hunk and "Check specifically" item is something to fix or ex
read.

```bash
npx @error-path/opendrs@0.7.0 brief --self-check-template # the ids to address, as JSON
npx @error-path/opendrs@0.7.1 brief --self-check-template # the ids to address, as JSON
```

Or the MCP tool `self_check_items {repoDir, base?, head?, maxTokens?}`.
Expand Down Expand Up @@ -160,7 +160,7 @@ itself is correct, so fix the prose or drop the count rather than send a mismatc

## MCP tools

When the `opendrs` MCP server is connected (`npx @error-path/opendrs@0.7.0 mcp`, stdio), prefer these tools to
When the `opendrs` MCP server is connected (`npx @error-path/opendrs@0.7.1 mcp`, stdio), prefer these tools to
shelling out:

- `score_diff {repoDir, base?, head?}`: same as `score`. The base defaults to origin/HEAD, then main.
Expand Down
Loading