diffdesk 0.1.0__tar.gz → 0.1.1__tar.gz

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.
Files changed (71) hide show
  1. {diffdesk-0.1.0 → diffdesk-0.1.1}/CHANGELOG.md +5 -0
  2. diffdesk-0.1.1/PKG-INFO +139 -0
  3. diffdesk-0.1.1/README.md +110 -0
  4. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/__init__.py +1 -1
  5. diffdesk-0.1.0/PKG-INFO +0 -520
  6. diffdesk-0.1.0/README.md +0 -491
  7. {diffdesk-0.1.0 → diffdesk-0.1.1}/.gitignore +0 -0
  8. {diffdesk-0.1.0 → diffdesk-0.1.1}/LICENSE +0 -0
  9. {diffdesk-0.1.0 → diffdesk-0.1.1}/pyproject.toml +0 -0
  10. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/agent.py +0 -0
  11. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/agent_guide.md +0 -0
  12. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/cli.py +0 -0
  13. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/config.py +0 -0
  14. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/gitio.py +0 -0
  15. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/index.py +0 -0
  16. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/mcp.py +0 -0
  17. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/server.py +0 -0
  18. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/app.js +0 -0
  19. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/index.html +0 -0
  20. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/api.js +0 -0
  21. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/boot.js +0 -0
  22. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/diffview.js +0 -0
  23. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/dom.js +0 -0
  24. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/editor-cm.js +0 -0
  25. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/editor-monaco.js +0 -0
  26. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/flow.js +0 -0
  27. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/hunks.js +0 -0
  28. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/markdown.js +0 -0
  29. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/settings.js +0 -0
  30. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/subject.js +0 -0
  31. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/tree.js +0 -0
  32. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/js/treemap.js +0 -0
  33. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/style.css +0 -0
  34. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/LICENSES.txt +0 -0
  35. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/codemirror.js +0 -0
  36. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  37. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  38. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  39. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  40. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  41. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Main-Bold.woff2 +0 -0
  42. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  43. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Main-Italic.woff2 +0 -0
  44. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Main-Regular.woff2 +0 -0
  45. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  46. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Math-Italic.woff2 +0 -0
  47. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  48. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  49. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  50. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Script-Regular.woff2 +0 -0
  51. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  52. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  53. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  54. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  55. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  56. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/fonts/OFL.txt +0 -0
  57. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/katex.css +0 -0
  58. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/katex.js +0 -0
  59. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/static/vendor/marked.js +0 -0
  60. {diffdesk-0.1.0 → diffdesk-0.1.1}/src/diffdesk/subject.schema.json +0 -0
  61. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/conftest.py +0 -0
  62. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_agent.py +0 -0
  63. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_api.py +0 -0
  64. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_cli.py +0 -0
  65. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_gitio.py +0 -0
  66. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_index.py +0 -0
  67. {diffdesk-0.1.0 → diffdesk-0.1.1}/tests/test_mcp.py +0 -0
  68. {diffdesk-0.1.0 → diffdesk-0.1.1}/vendor-src/OFL.txt +0 -0
  69. {diffdesk-0.1.0 → diffdesk-0.1.1}/vendor-src/build.mjs +0 -0
  70. {diffdesk-0.1.0 → diffdesk-0.1.1}/vendor-src/package-lock.json +0 -0
  71. {diffdesk-0.1.0 → diffdesk-0.1.1}/vendor-src/package.json +0 -0
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 (2026-11-26)
4
+
5
+ Shorter README. Setup for each AI tool moved to `docs/setup.md`, and settings,
6
+ commands and the HTTP API moved to `docs/settings.md`.
7
+
3
8
  ## 0.1.0 (2026-11-26)
4
9
 
5
10
  First release.
@@ -0,0 +1,139 @@
1
+ Metadata-Version: 2.5
2
+ Name: diffdesk
3
+ Version: 0.1.1
4
+ Summary: Local, file-based review desk for commits made by agents or people
5
+ Project-URL: Homepage, https://github.com/ysBach/diffdesk
6
+ Project-URL: Issues, https://github.com/ysBach/diffdesk/issues
7
+ Project-URL: Changelog, https://github.com/ysBach/diffdesk/blob/main/CHANGELOG.md
8
+ License-Expression: MIT AND OFL-1.1
9
+ License-File: LICENSE
10
+ License-File: src/diffdesk/static/vendor/LICENSES.txt
11
+ License-File: src/diffdesk/static/vendor/fonts/OFL.txt
12
+ Keywords: code review,coding agents,diff,git,mcp,review
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Environment :: Console
15
+ Classifier: Environment :: Web Environment
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3 :: Only
20
+ Classifier: Programming Language :: Python :: 3.11
21
+ Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
23
+ Classifier: Programming Language :: Python :: 3.14
24
+ Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Topic :: Software Development :: Quality Assurance
26
+ Classifier: Topic :: Software Development :: Version Control :: Git
27
+ Requires-Python: >=3.11
28
+ Description-Content-Type: text/markdown
29
+
30
+ # diffdesk
31
+
32
+ <!-- mcp-name: io.github.ysBach/diffdesk -->
33
+
34
+ diffdesk is a local, file-based review desk for commits made by coding agents or by people.
35
+ You read the reasons for each commit next to its diff in your browser, then
36
+ accept, reject or ask for a change.
37
+
38
+ AI coding agents wrote the code and the docs. A person set the goals and made the design decisions.
39
+
40
+ ## Install
41
+
42
+ ```bash
43
+ uv tool install diffdesk # install the command with uv
44
+ pipx install diffdesk # or with pipx
45
+ uvx diffdesk serve review # or run it without installing
46
+ ```
47
+
48
+ To install the newest code from GitHub instead:
49
+
50
+ ```bash
51
+ uv tool install git+https://github.com/ysBach/diffdesk
52
+ ```
53
+
54
+ diffdesk needs Python 3.11 or newer. It has no runtime dependencies.
55
+
56
+ ## Quick start
57
+
58
+ 1. You create a review folder. The agent commits a change and writes a *subject*:
59
+ one JSON file with the commit (or commit range) and the reasons for it.
60
+
61
+ ```bash
62
+ cd my-project
63
+ diffdesk init review # creates review/diffdesk.toml, review/subjects/, review/edits/
64
+ diffdesk add review --id FIX-1 --title "Fix the pager" # subject for the last commit
65
+ diffdesk validate review # checks every subject file
66
+ ```
67
+
68
+ 2. You review the subjects in the browser. Accept, reject or ask for a change.
69
+ You can also write a comment or edit the new version of a file.
70
+
71
+ ```bash
72
+ diffdesk serve review --open # opens http://127.0.0.1:8765/
73
+ ```
74
+
75
+ 3. The agent reads your verdicts, comments and edits back.
76
+
77
+ ```bash
78
+ diffdesk reviews review # verdicts and edits as JSON
79
+ diffdesk reviews review --status change --status rejected # only what to fix
80
+ ```
81
+
82
+ Verdicts and edits are plain files in the review folder. For subject fields,
83
+ settings, commands and the HTTP API, read
84
+ [docs/settings.md](https://github.com/ysBach/diffdesk/blob/main/docs/settings.md).
85
+
86
+ ## Connect an AI tool
87
+
88
+ Agents that support MCP use the diffdesk MCP server (`diffdesk mcp`). Most
89
+ tools take an entry like this one:
90
+
91
+ ```json
92
+ {
93
+ "mcpServers": {
94
+ "diffdesk": { "command": "diffdesk", "args": ["mcp"] }
95
+ }
96
+ }
97
+ ```
98
+
99
+ The file name and format differ per tool. For example, Codex CLI and Grok Build
100
+ use TOML. If diffdesk is not installed, use
101
+ `"command": "uvx", "args": ["diffdesk", "mcp"]`.
102
+
103
+ For an agent without MCP, add this line to its instruction file (`AGENTS.md`,
104
+ `CLAUDE.md` or `GEMINI.md`):
105
+
106
+ ```text
107
+ For every change you commit, follow the steps that `diffdesk guide` prints.
108
+ ```
109
+
110
+ Setup for each tool:
111
+
112
+ - [Claude Code](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#claude-code): tested 2026-11-26
113
+ - [Codex CLI](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#codex-cli): tested 2026-11-25
114
+ - [Gemini CLI](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#gemini-cli): set up per docs, not run
115
+ - [Cursor](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#cursor): set up per docs, not run
116
+ - [opencode](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#opencode): MCP connection tested 2026-11-25, model runs not completed
117
+ - [VS Code with GitHub Copilot](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#vs-code-with-github-copilot): set up per docs, not run
118
+ - [Devin Desktop, formerly Windsurf](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#devin-desktop-formerly-windsurf): set up per docs, not run
119
+ - [Grok Build](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#grok-build): set up per docs, not run
120
+
121
+ ## Tested with
122
+
123
+ The tests on 2026-11-25 and 2026-11-26 used a small git repository with one
124
+ bug and one failing test. Round 1: the agent fixed the bug, made a commit and
125
+ wrote a subject.
126
+ Then a person asked for a change, with a comment and an edit of the fixed file.
127
+ Round 2: the agent read the review, made a new commit and wrote a new subject.
128
+
129
+ | Tool | Version | Model | MCP result | CLI result |
130
+ | --- | --- | --- | --- | --- |
131
+ | Claude Code | 2.1.308 | claude-opus-5-5 | Round 1 and round 2 passed (MCP revision 2026-07-28). | Round 1 passed (`diffdesk add`). |
132
+ | Codex CLI | 0.162.1 | gpt-6-luna | Round 1 and round 2 passed (MCP revision 2025-06-18). | Round 1 passed (`diffdesk guide`, then `diffdesk add`). |
133
+ | A Gemini model through shell commands (not Gemini CLI) | - | gemini-3.8-flash | Not run. | Round 1 and round 2 passed. |
134
+ | opencode | 1.19.4 | none | The server connected (MCP revision 2025-11-25). Model runs did not finish because of model service errors. | Not run. |
135
+
136
+ ## License
137
+
138
+ MIT AND OFL-1.1: diffdesk is MIT (`LICENSE`), and the bundled KaTeX fonts are SIL Open Font License 1.1 (`src/diffdesk/static/vendor/fonts/OFL.txt`).
139
+ The bundled CodeMirror, marked and KaTeX code keep their own license texts in `src/diffdesk/static/vendor/LICENSES.txt`.
@@ -0,0 +1,110 @@
1
+ # diffdesk
2
+
3
+ <!-- mcp-name: io.github.ysBach/diffdesk -->
4
+
5
+ diffdesk is a local, file-based review desk for commits made by coding agents or by people.
6
+ You read the reasons for each commit next to its diff in your browser, then
7
+ accept, reject or ask for a change.
8
+
9
+ AI coding agents wrote the code and the docs. A person set the goals and made the design decisions.
10
+
11
+ ## Install
12
+
13
+ ```bash
14
+ uv tool install diffdesk # install the command with uv
15
+ pipx install diffdesk # or with pipx
16
+ uvx diffdesk serve review # or run it without installing
17
+ ```
18
+
19
+ To install the newest code from GitHub instead:
20
+
21
+ ```bash
22
+ uv tool install git+https://github.com/ysBach/diffdesk
23
+ ```
24
+
25
+ diffdesk needs Python 3.11 or newer. It has no runtime dependencies.
26
+
27
+ ## Quick start
28
+
29
+ 1. You create a review folder. The agent commits a change and writes a *subject*:
30
+ one JSON file with the commit (or commit range) and the reasons for it.
31
+
32
+ ```bash
33
+ cd my-project
34
+ diffdesk init review # creates review/diffdesk.toml, review/subjects/, review/edits/
35
+ diffdesk add review --id FIX-1 --title "Fix the pager" # subject for the last commit
36
+ diffdesk validate review # checks every subject file
37
+ ```
38
+
39
+ 2. You review the subjects in the browser. Accept, reject or ask for a change.
40
+ You can also write a comment or edit the new version of a file.
41
+
42
+ ```bash
43
+ diffdesk serve review --open # opens http://127.0.0.1:8765/
44
+ ```
45
+
46
+ 3. The agent reads your verdicts, comments and edits back.
47
+
48
+ ```bash
49
+ diffdesk reviews review # verdicts and edits as JSON
50
+ diffdesk reviews review --status change --status rejected # only what to fix
51
+ ```
52
+
53
+ Verdicts and edits are plain files in the review folder. For subject fields,
54
+ settings, commands and the HTTP API, read
55
+ [docs/settings.md](https://github.com/ysBach/diffdesk/blob/main/docs/settings.md).
56
+
57
+ ## Connect an AI tool
58
+
59
+ Agents that support MCP use the diffdesk MCP server (`diffdesk mcp`). Most
60
+ tools take an entry like this one:
61
+
62
+ ```json
63
+ {
64
+ "mcpServers": {
65
+ "diffdesk": { "command": "diffdesk", "args": ["mcp"] }
66
+ }
67
+ }
68
+ ```
69
+
70
+ The file name and format differ per tool. For example, Codex CLI and Grok Build
71
+ use TOML. If diffdesk is not installed, use
72
+ `"command": "uvx", "args": ["diffdesk", "mcp"]`.
73
+
74
+ For an agent without MCP, add this line to its instruction file (`AGENTS.md`,
75
+ `CLAUDE.md` or `GEMINI.md`):
76
+
77
+ ```text
78
+ For every change you commit, follow the steps that `diffdesk guide` prints.
79
+ ```
80
+
81
+ Setup for each tool:
82
+
83
+ - [Claude Code](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#claude-code): tested 2026-11-26
84
+ - [Codex CLI](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#codex-cli): tested 2026-11-25
85
+ - [Gemini CLI](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#gemini-cli): set up per docs, not run
86
+ - [Cursor](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#cursor): set up per docs, not run
87
+ - [opencode](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#opencode): MCP connection tested 2026-11-25, model runs not completed
88
+ - [VS Code with GitHub Copilot](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#vs-code-with-github-copilot): set up per docs, not run
89
+ - [Devin Desktop, formerly Windsurf](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#devin-desktop-formerly-windsurf): set up per docs, not run
90
+ - [Grok Build](https://github.com/ysBach/diffdesk/blob/main/docs/setup.md#grok-build): set up per docs, not run
91
+
92
+ ## Tested with
93
+
94
+ The tests on 2026-11-25 and 2026-11-26 used a small git repository with one
95
+ bug and one failing test. Round 1: the agent fixed the bug, made a commit and
96
+ wrote a subject.
97
+ Then a person asked for a change, with a comment and an edit of the fixed file.
98
+ Round 2: the agent read the review, made a new commit and wrote a new subject.
99
+
100
+ | Tool | Version | Model | MCP result | CLI result |
101
+ | --- | --- | --- | --- | --- |
102
+ | Claude Code | 2.1.308 | claude-opus-5-5 | Round 1 and round 2 passed (MCP revision 2026-07-28). | Round 1 passed (`diffdesk add`). |
103
+ | Codex CLI | 0.162.1 | gpt-6-luna | Round 1 and round 2 passed (MCP revision 2025-06-18). | Round 1 passed (`diffdesk guide`, then `diffdesk add`). |
104
+ | A Gemini model through shell commands (not Gemini CLI) | - | gemini-3.8-flash | Not run. | Round 1 and round 2 passed. |
105
+ | opencode | 1.19.4 | none | The server connected (MCP revision 2025-11-25). Model runs did not finish because of model service errors. | Not run. |
106
+
107
+ ## License
108
+
109
+ MIT AND OFL-1.1: diffdesk is MIT (`LICENSE`), and the bundled KaTeX fonts are SIL Open Font License 1.1 (`src/diffdesk/static/vendor/fonts/OFL.txt`).
110
+ The bundled CodeMirror, marked and KaTeX code keep their own license texts in `src/diffdesk/static/vendor/LICENSES.txt`.
@@ -1,3 +1,3 @@
1
1
  """diffdesk: a local, file-based review desk for commits made by agents or people."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.1"