diffowl 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -6
- package/dist/cli.js +332 -127
- package/dist/cli.js.map +1 -1
- package/package.json +8 -15
package/README.md
CHANGED
|
@@ -7,19 +7,22 @@
|
|
|
7
7
|
" "
|
|
8
8
|
```
|
|
9
9
|
|
|
10
|
-
> **
|
|
10
|
+
> **The verification layer for agent-written code.**
|
|
11
11
|
>
|
|
12
|
-
>
|
|
12
|
+
> An independent reviewer that runs locally on every commit — on the model you already use, no matter which agent (or human) wrote the code.
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Coding agents now write much of the code, but the agent that wrote a patch shouldn't be its only reviewer. DiffOwl is a separate, independent review pass: it builds bounded local context from your diff and asks a model for structured, durable findings. It works the same whether the change came from Claude Code, Cursor, OpenCode, or your own hands.
|
|
15
|
+
|
|
16
|
+
Under the hood it drives a headless [OpenCode](https://opencode.ai/docs/server/) session for model execution, so you bring your own provider and pay no one but them — no DiffOwl account, no service in the loop.
|
|
15
17
|
|
|
16
18
|
---
|
|
17
19
|
|
|
18
20
|
## Features
|
|
19
21
|
|
|
20
|
-
- **
|
|
22
|
+
- **Agent-Agnostic**: Reviews code from any source — Claude Code, Cursor, OpenCode, or a human. The reviewer stays independent from whoever wrote the patch.
|
|
23
|
+
- **Provider-Neutral**: Runs on whatever model and provider you have configured in OpenCode (Copilot, OpenAI, local, and more). No separate keys, no DiffOwl account, no per-seat bill.
|
|
21
24
|
- **First-Class TypeScript Support**: Automatically extracts modified TypeScript AST nodes (functions, classes, interfaces, types, enums, methods, properties, and top-level const declarations) to feed rich, structured context to the AI reviewer.
|
|
22
|
-
- **
|
|
25
|
+
- **Automatic Git Hooks**: Reviews run on every commit and stay out of your way — results land in `.diffowl/` when they are ready.
|
|
23
26
|
- **Review Chat Handoff**: Reopen the OpenCode session behind the latest or any selected review with `diffowl chat`.
|
|
24
27
|
- **Review Depth Profiles**: Choose `shallow` or `default` context strategies to match fast hooks or normal reviews.
|
|
25
28
|
- **Intelligent File Filtering**: Supports `include` and `exclude` glob patterns to focus reviews on source directories while skipping build artifacts, lockfiles, and node modules.
|
|
@@ -36,7 +39,7 @@ DiffOwl is a lightweight CLI that integrates into your Git workflow to provide h
|
|
|
36
39
|
|
|
37
40
|
### 1. Prerequisites
|
|
38
41
|
|
|
39
|
-
1. **Verify Node.js 22.14.0 is installed**:
|
|
42
|
+
1. **Verify Node.js 22.14.0 or newer is installed**:
|
|
40
43
|
```bash
|
|
41
44
|
node --version
|
|
42
45
|
```
|