azdiffs 0.0.0-stage → 1.0.0
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/LICENSE +21 -0
- package/README.md +67 -2
- package/THIRD_PARTY_NOTICES.md +4514 -0
- package/dist/cli.js +4768 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId-D7saE-jO.js +1 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId.commits._commitId-DOwGbBTQ.js +1 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId.commits.index-DzGjUdAz.js +1 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId.conflicts-Cjr34xFt.js +1 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId.files-BjjJ4Yb8.js +1 -0
- package/dist/web/assets/_organization.___git._repository.pullrequest._pullRequestId.index-iY62N_zR.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId-CrHRklAE.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId.commits._commitId-WC7fEryq.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId.commits.index-DzGjUdAz.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId.conflicts-BhUkafpV.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId.files-_RVmv4sD.js +1 -0
- package/dist/web/assets/_organization._project.___git._repository.pullrequest._pullRequestId.index-BJrgfbSD.js +1 -0
- package/dist/web/assets/_organization.index-hKcWlBrk.js +1 -0
- package/dist/web/assets/bat-qdxAdBWQ.js +1 -0
- package/dist/web/assets/bicep-CUHmPFLl.js +1 -0
- package/dist/web/assets/c-B0t_Dlza.js +1 -0
- package/dist/web/assets/cmake-Bj61d0ZC.js +1 -0
- package/dist/web/assets/commit-diff-view-CQeZylif.js +1 -0
- package/dist/web/assets/commits-view-B_TQ6AnD.js +13 -0
- package/dist/web/assets/conflicts-view-CnGEkjaP.js +8 -0
- package/dist/web/assets/core-D5Wev6DN.js +12 -0
- package/dist/web/assets/core-DfsS1UI1.js +12 -0
- package/dist/web/assets/cpp-DGR_3gb-.js +1 -0
- package/dist/web/assets/csharp-dmMxLVLW.js +1 -0
- package/dist/web/assets/css-CBDjU9xM.js +1 -0
- package/dist/web/assets/dart-CHZY9Xhz.js +1 -0
- package/dist/web/assets/dev.diff-DH1qvnWe.js +1 -0
- package/dist/web/assets/diff-woXpYk--.js +1 -0
- package/dist/web/assets/docker-IyjqRm3v.js +1 -0
- package/dist/web/assets/dotenv-CuH5my32.js +1 -0
- package/dist/web/assets/engine-javascript-C4Jk_eU2.js +141 -0
- package/dist/web/assets/engine-javascript-DpLLfDIa.js +141 -0
- package/dist/web/assets/engine-oniguruma-BfcA8yDp.js +1 -0
- package/dist/web/assets/engine-oniguruma-D--T0LcV.js +1 -0
- package/dist/web/assets/file-header-keBlejWu.js +49 -0
- package/dist/web/assets/files-view-Bu3bjrNf.js +1460 -0
- package/dist/web/assets/fsharp-D13ZGOAj.js +1 -0
- package/dist/web/assets/go-rLFTqkRN.js +1 -0
- package/dist/web/assets/grammars-DmFYBwmS.js +2 -0
- package/dist/web/assets/graphql-Br4JsJsw.js +1 -0
- package/dist/web/assets/groovy-CacY0gHj.js +1 -0
- package/dist/web/assets/hcl-Dh228itO.js +1 -0
- package/dist/web/assets/highlights-BJb1-tzP.js +1 -0
- package/dist/web/assets/highlights-CIgHM7EF-ByjlShdO.js +1 -0
- package/dist/web/assets/home-page-Y5jGxOav.js +1 -0
- package/dist/web/assets/html-Cyo-BRss.js +1 -0
- package/dist/web/assets/inbox-jP8QPtzZ.js +1 -0
- package/dist/web/assets/index-B297yCgq.js +11 -0
- package/dist/web/assets/index-CjZUV4-4.css +1 -0
- package/dist/web/assets/ini-B5eOa1yu.js +1 -0
- package/dist/web/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/web/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/web/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/web/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/web/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/web/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/web/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/web/assets/java-r7y4bhRH.js +1 -0
- package/dist/web/assets/javascript-anBMbNY-.js +1 -0
- package/dist/web/assets/json-qhed-kSA.js +1 -0
- package/dist/web/assets/json5-BR5RXkoi.js +1 -0
- package/dist/web/assets/jsonc-CYpm1nAK.js +1 -0
- package/dist/web/assets/jsx-Bz0zcwM4.js +1 -0
- package/dist/web/assets/kotlin-DhhofPvG.js +1 -0
- package/dist/web/assets/langs_worker-Dyqdnub0.js +1 -0
- package/dist/web/assets/less-DVTAwKKz.js +1 -0
- package/dist/web/assets/lib-C2gVWm_O.js +1 -0
- package/dist/web/assets/lib-rf_jxHx0.js +1 -0
- package/dist/web/assets/lineChanges-Dw4ZXwVU.js +9 -0
- package/dist/web/assets/loader-BljfpPoZ.js +1 -0
- package/dist/web/assets/loader-C-ieOA_A.js +1 -0
- package/dist/web/assets/lua-mGgFNKt2.js +1 -0
- package/dist/web/assets/makefile-Dixweg8N.js +1 -0
- package/dist/web/assets/markdown-BYOwaDjH.js +1 -0
- package/dist/web/assets/overview-view-cEOsI9TY.js +2 -0
- package/dist/web/assets/php-DTciGFRO.js +1 -0
- package/dist/web/assets/pierre-dark-DMS-zpcK.js +1 -0
- package/dist/web/assets/pierre-light-BHq6aQNU.js +1 -0
- package/dist/web/assets/powershell-QtSnmXcu.js +1 -0
- package/dist/web/assets/properties-CHTuaqAW.js +1 -0
- package/dist/web/assets/proto-DB4EqR-F.js +1 -0
- package/dist/web/assets/pull-request-layout-DsDKURcq.js +35 -0
- package/dist/web/assets/python-gzcpVVnB.js +1 -0
- package/dist/web/assets/razor-3kKIP6Di.js +1 -0
- package/dist/web/assets/rolldown-runtime-BLXQ4ufn.js +1 -0
- package/dist/web/assets/routes-BruvNNp9.js +1 -0
- package/dist/web/assets/rust-DpiIf5JO.js +1 -0
- package/dist/web/assets/scala-BiFt_7mu.js +1 -0
- package/dist/web/assets/scss-DC8XIxmG.js +1 -0
- package/dist/web/assets/shellscript-CLZ0U2zV.js +1 -0
- package/dist/web/assets/shiki-DueA5xDi.js +1 -0
- package/dist/web/assets/shiki-DxP4sN1Z-caEk3oPG.js +1 -0
- package/dist/web/assets/shortcut-help-Cb0be4f3.js +1 -0
- package/dist/web/assets/sql-CEbI0hMM.js +1 -0
- package/dist/web/assets/stream-tokenizer-7LLwu37w-C37tUWGx.js +12 -0
- package/dist/web/assets/stream-tokenizer-B5Ok5N3S.js +4 -0
- package/dist/web/assets/svelte-iJTmbwM3.js +1 -0
- package/dist/web/assets/swift-CyEgAFGc.js +1 -0
- package/dist/web/assets/terraform-DswuEJGm.js +1 -0
- package/dist/web/assets/themes-BKc5vU6v.js +1 -0
- package/dist/web/assets/themes-SQq_asFq.js +1 -0
- package/dist/web/assets/toml-CcmNWLt0.js +1 -0
- package/dist/web/assets/tsx-udAQXfEw.js +1 -0
- package/dist/web/assets/typescript-bsJCZSQ-.js +1 -0
- package/dist/web/assets/utils-Tkdy0sOA.js +1 -0
- package/dist/web/assets/vb-DOwzaHZ0.js +1 -0
- package/dist/web/assets/vue-Dz_q6gML.js +1 -0
- package/dist/web/assets/wasm-C7N7kd8H.js +1 -0
- package/dist/web/assets/worker-B--T_fs_.js +7 -0
- package/dist/web/assets/xml-Bz5Z3pZJ.js +1 -0
- package/dist/web/assets/yaml-rwi0_p6S.js +1 -0
- package/dist/web/favicon.svg +5 -0
- package/dist/web/index.html +16 -0
- package/package.json +41 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 azdiffs contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# azdiffs
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Fast pull request review for Azure DevOps (Azure Repos Git), served from your terminal.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npx azdiffs setup # once: organization, default project, sign-in method
|
|
7
|
+
npx azdiffs # list the pull requests waiting for your review, pick one
|
|
8
|
+
npx azdiffs https://dev.azure.com/{org}/{project}/_git/{repo}/pullrequest/{id}
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Opening a pull request starts a local server on `http://127.0.0.1:4747` and opens your
|
|
12
|
+
browser on it. Run it again while it is running and it reuses the
|
|
13
|
+
same server.
|
|
14
|
+
|
|
15
|
+
## Usage
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
azdiffs [pull-request-url] [options]
|
|
19
|
+
|
|
20
|
+
pull-request-url Open this pull request directly.
|
|
21
|
+
(no url) List pull requests waiting for your review and pick one.
|
|
22
|
+
|
|
23
|
+
--org <name> Look in this saved organization instead of the default (repeatable)
|
|
24
|
+
--project <name> Look in this project instead of the saved default
|
|
25
|
+
--all-projects Look across the whole organization
|
|
26
|
+
--no-repo Inside a clone, list every repository's pull requests, as outside one
|
|
27
|
+
--list Print the list and exit, without the interactive picker
|
|
28
|
+
--web Skip the list and open azdiffs' home page in the browser
|
|
29
|
+
--tenant <t> Microsoft Entra tenant (GUID or domain) to request the token for
|
|
30
|
+
-p, --port <n> Port to listen on (default 4747)
|
|
31
|
+
--no-open Do not open the browser; print the URL only
|
|
32
|
+
-h, --help Show help
|
|
33
|
+
-v, --version Show the version
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
In the picker, arrow keys move, typing filters (title, repository, author or `!id`),
|
|
37
|
+
Enter opens, Esc quits. Piped, or with `--list`, it prints `URL<TAB>title<TAB>author`
|
|
38
|
+
lines instead and starts nothing.
|
|
39
|
+
|
|
40
|
+
Run inside a clone of an Azure Repos repository, `npx azdiffs` lists only that
|
|
41
|
+
repository's pull requests waiting for your review, with the active pull request of the
|
|
42
|
+
branch you have checked out pinned first (marked `this branch`, even if you wrote it).
|
|
43
|
+
The organization, project and repository come from the git remote (the branch's upstream,
|
|
44
|
+
else `origin`); a first run starts setup with them filled in. `--org`, `--project`,
|
|
45
|
+
`--all-projects` and `--no-repo` turn this off. Outside a clone nothing changes.
|
|
46
|
+
|
|
47
|
+
In the browser, the home page (`--web`) is an inbox of your saved organizations: "To
|
|
48
|
+
review" and "Created by me". `Cmd/Ctrl+K` opens a quick switcher on every page. An
|
|
49
|
+
author can complete a pull request from its Overview (merge type, delete the source
|
|
50
|
+
branch, auto-complete); azdiffs never bypasses branch policies.
|
|
51
|
+
|
|
52
|
+
Requires Node.js 20 or later and the Azure CLI: run `az login` first
|
|
53
|
+
(`az login --allow-no-subscriptions` without an Azure subscription). azdiffs uses
|
|
54
|
+
that session to get an Azure DevOps token; nothing is stored except a random launch
|
|
55
|
+
key in `~/.config/azdiffs/` (`%APPDATA%\azdiffs\` on Windows) that lets your browser
|
|
56
|
+
ask the local server for the token. To sign out, run `az logout`.
|
|
57
|
+
|
|
58
|
+
## AI summary
|
|
59
|
+
|
|
60
|
+
When Claude Code (`claude`) is installed and signed in, a pull request's Overview shows
|
|
61
|
+
a Summary card: what the pull request does and what deserves a closer look (possible
|
|
62
|
+
bugs, security, performance). Nothing runs until you click **Summarize changes**, and
|
|
63
|
+
the card says who receives the code (Anthropic for Claude Code). azdiffs sends the
|
|
64
|
+
latest update's diff (generated and binary files, very large files and anything past
|
|
65
|
+
300 KB are left out) to the local server, which runs the tool with no tools of its own
|
|
66
|
+
(no commands, files, web or MCP servers), the prompt on stdin, in an empty temporary
|
|
67
|
+
folder. Summaries are kept until azdiffs stops. Codex and GitHub Copilot CLI are not
|
|
68
|
+
offered yet: their command-line flags cannot yet guarantee a run without tools.
|