@diffohq/diffo 0.0.1 → 0.0.2
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 +17 -23
- package/package.json +21 -19
- package/plugin.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
> [!IMPORTANT]
|
|
2
|
-
> **Diffo is pre-release.** The loop works end to end and this repo is reviewed with it
|
|
3
|
-
> daily. The skill installs from this repository; the CLI it runs comes from npm as
|
|
4
|
-
> **`@diffohq/diffo`** — scoped because the bare `diffo` name belongs to an unrelated
|
|
5
|
-
> package. See [Status](#status) for what works today.
|
|
6
|
-
|
|
7
1
|
<div align="center">
|
|
8
2
|
|
|
9
3
|
<a href="https://diffohq.github.io/diffo/">
|
|
@@ -23,6 +17,7 @@ come back as fixes.
|
|
|
23
17
|
[Quick start](#quick-start) · [Why Diffo](#why-diffo) · [Docs](#docs) · [Status](#status) · [Contributing](#contributing)
|
|
24
18
|
|
|
25
19
|
[](https://github.com/DiffoHQ/diffo/actions/workflows/ci.yml)
|
|
20
|
+
[](https://www.npmjs.com/package/@diffohq/diffo)
|
|
26
21
|
[](LICENSE)
|
|
27
22
|
[](#quick-start)
|
|
28
23
|
[](https://diffohq.github.io/diffo/)
|
|
@@ -83,7 +78,7 @@ node dist/cli.mjs setup # or `node dist/cli.mjs` from any repo to review it
|
|
|
83
78
|
|
|
84
79
|
</details>
|
|
85
80
|
|
|
86
|
-
New here? [**Your first review, end to end**](
|
|
81
|
+
New here? [**Your first review, end to end**](https://diffohq.github.io/diffo/tutorial) takes about five minutes.
|
|
87
82
|
|
|
88
83
|
## Why Diffo
|
|
89
84
|
|
|
@@ -205,14 +200,14 @@ cheapest to change.
|
|
|
205
200
|
|
|
206
201
|
| | |
|
|
207
202
|
| --- | --- |
|
|
208
|
-
| [**Your first review**](
|
|
209
|
-
| [**Getting started**](
|
|
210
|
-
| [**The review loop**](
|
|
211
|
-
| [**How it works**](
|
|
212
|
-
| [**The agent side**](
|
|
213
|
-
| [**Architecture**](
|
|
214
|
-
| [**CLI**](
|
|
215
|
-
| [**FAQ**](
|
|
203
|
+
| [**Your first review**](https://diffohq.github.io/diffo/tutorial) | The whole loop end to end, about five minutes |
|
|
204
|
+
| [**Getting started**](https://diffohq.github.io/diffo/guide/getting-started) | Install, and where each agent gets wired |
|
|
205
|
+
| [**The review loop**](https://diffohq.github.io/diffo/guide/the-loop) | Reading, commenting, and what the agent receives |
|
|
206
|
+
| [**How it works**](https://diffohq.github.io/diffo/guide/how-it-works) | The components and the server lifecycle |
|
|
207
|
+
| [**The agent side**](https://diffohq.github.io/diffo/agents) | The agent protocol: every command, every payload |
|
|
208
|
+
| [**Architecture**](https://diffohq.github.io/diffo/architecture) | Diff pipeline, delivery queue, SQLite state |
|
|
209
|
+
| [**CLI**](https://diffohq.github.io/diffo/reference/cli) and [**Keyboard shortcuts**](https://diffohq.github.io/diffo/reference/keyboard-shortcuts) | Reference |
|
|
210
|
+
| [**FAQ**](https://diffohq.github.io/diffo/faq) | The short answers |
|
|
216
211
|
|
|
217
212
|
## Under the hood
|
|
218
213
|
|
|
@@ -223,7 +218,7 @@ there is no database to install. **Zero network calls.** 859 tests across 54 fil
|
|
|
223
218
|
|
|
224
219
|
Reviews are scoped per repo **and branch**, and the server is loopback-only, rejecting
|
|
225
220
|
non-loopback `Host` and `Origin` headers so a web page can't reach into your repo through
|
|
226
|
-
it. The full walkthrough is in [**Architecture**](
|
|
221
|
+
it. The full walkthrough is in [**Architecture**](https://diffohq.github.io/diffo/architecture).
|
|
227
222
|
|
|
228
223
|
<details>
|
|
229
224
|
<summary><b>Why read marks survive a live diff</b></summary>
|
|
@@ -254,12 +249,13 @@ we commit to: **anything that runs on your machine for one reviewer is core.**
|
|
|
254
249
|
|
|
255
250
|
## Status
|
|
256
251
|
|
|
257
|
-
|
|
252
|
+
Diffo is pre-1.0: the loop below works end to end — this repo is reviewed with it
|
|
253
|
+
daily — and the edges are still moving. What works today:
|
|
258
254
|
|
|
259
|
-
- [x] [Live review of any changeset](
|
|
260
|
-
- [x] [The comment loop](
|
|
261
|
-
- [x] [One setup, every agent](
|
|
262
|
-
- [x] [Reading tools](
|
|
255
|
+
- [x] [Live review of any changeset](https://diffohq.github.io/diffo/guide/how-it-works): the working tree, or anything since `--base`.
|
|
256
|
+
- [x] [The comment loop](https://diffohq.github.io/diffo/guide/the-loop): threads that reach the session that wrote the code.
|
|
257
|
+
- [x] [One setup, every agent](https://diffohq.github.io/diffo/guide/getting-started): Claude Code, Codex, Cursor, VS Code, Copilot CLI, Gemini CLI, Amp, Goose, OpenCode.
|
|
258
|
+
- [x] [Reading tools](https://diffohq.github.io/diffo/reference/keyboard-shortcuts): unified and split diffs, word-level marks, coverage tracking.
|
|
263
259
|
|
|
264
260
|
## Contributing
|
|
265
261
|
|
|
@@ -282,11 +278,9 @@ on your first pull request, and signing is one reply.
|
|
|
282
278
|
Found a security problem? Please don't open a public issue. The
|
|
283
279
|
[Security Policy](SECURITY.md) says where to send it and what's in scope.
|
|
284
280
|
|
|
285
|
-
<!-- Contributors grid: contrib.rocks 404s until DiffoHQ/diffo is public. Uncomment at launch.
|
|
286
281
|
<a href="https://github.com/DiffoHQ/diffo/graphs/contributors">
|
|
287
282
|
<img src="https://contrib.rocks/image?repo=DiffoHQ/diffo" alt="Contributors">
|
|
288
283
|
</a>
|
|
289
|
-
-->
|
|
290
284
|
|
|
291
285
|
## License & trademark
|
|
292
286
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diffohq/diffo",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Local, live code review for the AI age — read what the agent wrote and send feedback straight back",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,6 +32,24 @@
|
|
|
32
32
|
"plugin.json",
|
|
33
33
|
"NOTICE"
|
|
34
34
|
],
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build": "vite build && tsdown",
|
|
37
|
+
"build:skill": "tsx scripts/build-skill.ts",
|
|
38
|
+
"check": "pnpm typecheck && pnpm test && pnpm build && pnpm lint && pnpm docs:build",
|
|
39
|
+
"dev": "pnpm run \"/^dev:(client|server)$/\"",
|
|
40
|
+
"dev:client": "vite",
|
|
41
|
+
"dev:skill": "tsx scripts/build-skill.ts --dev",
|
|
42
|
+
"dev:server": "tsx watch --env-file-if-exists=.env --clear-screen=false src/cli.ts --no-open --foreground -p 4949",
|
|
43
|
+
"docs:dev": "vitepress dev docs",
|
|
44
|
+
"docs:build": "vitepress build docs",
|
|
45
|
+
"docs:preview": "vitepress preview docs",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"typecheck": "tsc --noEmit",
|
|
49
|
+
"lint": "biome check",
|
|
50
|
+
"format": "biome check --write",
|
|
51
|
+
"prepublishOnly": "pnpm check"
|
|
52
|
+
},
|
|
35
53
|
"dependencies": {
|
|
36
54
|
"@hono/node-server": "^2.1.1",
|
|
37
55
|
"@tanstack/react-query": "^5.101.4",
|
|
@@ -61,21 +79,5 @@
|
|
|
61
79
|
"engines": {
|
|
62
80
|
"node": ">=24"
|
|
63
81
|
},
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
"build:skill": "tsx scripts/build-skill.ts",
|
|
67
|
-
"check": "pnpm typecheck && pnpm test && pnpm build && pnpm lint && pnpm docs:build",
|
|
68
|
-
"dev": "pnpm run \"/^dev:(client|server)$/\"",
|
|
69
|
-
"dev:client": "vite",
|
|
70
|
-
"dev:skill": "tsx scripts/build-skill.ts --dev",
|
|
71
|
-
"dev:server": "tsx watch --env-file-if-exists=.env --clear-screen=false src/cli.ts --no-open --foreground -p 4949",
|
|
72
|
-
"docs:dev": "vitepress dev docs",
|
|
73
|
-
"docs:build": "vitepress build docs",
|
|
74
|
-
"docs:preview": "vitepress preview docs",
|
|
75
|
-
"test": "vitest run",
|
|
76
|
-
"test:watch": "vitest",
|
|
77
|
-
"typecheck": "tsc --noEmit",
|
|
78
|
-
"lint": "biome check",
|
|
79
|
-
"format": "biome check --write"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
+
"packageManager": "pnpm@11.18.0"
|
|
83
|
+
}
|
package/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "diffo",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.2",
|
|
5
5
|
"description": "Local, live code review for the AI age — read what the agent wrote and send feedback straight back",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "DiffoHQ",
|