@blazediff/agent 0.1.0 → 0.1.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 +7 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
Visual regression testing your coding agent can judge. Discovers routes, screenshots them with Playwright, diffs against committed baselines, and hands ambiguous diffs to Claude Code, Codex, or Cursor as compact region tiles, not full PNGs. Deterministic CLI, no embedded LLM, no API key.
|
|
11
11
|
|
|
12
12
|
**Features:**
|
|
13
|
-
- Deterministic CLI
|
|
13
|
+
- Deterministic CLI. No embedded LLM, no API key required
|
|
14
14
|
- Source-walking route discovery for Next.js / Vite / Remix (BFS fallback)
|
|
15
15
|
- Heuristic verdict: `regression-likely | intentional-likely | noise-likely | ambiguous`
|
|
16
16
|
- LangGraph pipeline with per-entry subgraphs, suspendable via `interrupt()` and resumable from an on-disk checkpoint
|
|
17
|
-
- Region-tile handoff to host agents (10
|
|
17
|
+
- Region-tile handoff to host agents (10 to 100x smaller than full PNGs)
|
|
18
18
|
- Auto-masking via `data-blazediff-agent-mask` attribute
|
|
19
19
|
|
|
20
20
|
## Installation
|
|
@@ -83,7 +83,7 @@ For third-party embeds you can't annotate, use a per-entry `manifest.entries[].m
|
|
|
83
83
|
|
|
84
84
|
## Judging
|
|
85
85
|
|
|
86
|
-
Every non-match routes through the configured judge. With `--judge host` the judge node `interrupt()`s the LangGraph pipeline, writes a `JudgmentRequest` (region tiles + locator thumbnail) to `.blazediff/judgments/<id>/`, and the suspended graph is checkpointed to `.blazediff/checkpoints/`. The host agent reads the tiles, writes `verdict.json`, and `check --apply-judgments` resumes the same graph with the verdicts
|
|
86
|
+
Every non-match routes through the configured judge. With `--judge host` the judge node `interrupt()`s the LangGraph pipeline, writes a `JudgmentRequest` (region tiles + locator thumbnail) to `.blazediff/judgments/<id>/`, and the suspended graph is checkpointed to `.blazediff/checkpoints/`. The host agent reads the tiles, writes `verdict.json`, and `check --apply-judgments` resumes the same graph with the verdicts. No re-capture, no re-diff.
|
|
87
87
|
|
|
88
88
|
## Configuration
|
|
89
89
|
|
|
@@ -98,14 +98,14 @@ Every non-match routes through the configured judge. With `--judge host` the jud
|
|
|
98
98
|
}
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
`.blazediff/manifest.json` is written by `capture
|
|
101
|
+
`.blazediff/manifest.json` is written by `capture`; don't edit it directly.
|
|
102
102
|
|
|
103
103
|
## CI
|
|
104
104
|
|
|
105
105
|
Only `check` is allowed under `CI=1`. Exit codes:
|
|
106
106
|
|
|
107
|
-
- `0
|
|
108
|
-
- `1
|
|
107
|
+
- `0`: all passed
|
|
108
|
+
- `1`: regression, intentional, or pending judgment
|
|
109
109
|
- non-zero with structured error JSON on infra failures
|
|
110
110
|
|
|
111
111
|
## Links
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blazediff/agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Agentic visual regression for BlazeDiff. Auto-discovers routes, captures deterministic screenshots, runs CI checks.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"sharp": "^0.34.0",
|
|
48
48
|
"tree-kill": "^1.2.2",
|
|
49
49
|
"zod": "^3.25.32",
|
|
50
|
-
"@blazediff/core-native": "4.
|
|
50
|
+
"@blazediff/core-native": "4.3.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/node": "^24.3.0",
|