@diffpal/diffpal-linux-x64 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/LICENSE +19 -0
- package/README.md +75 -0
- package/bin/diffpal +0 -0
- package/package.json +20 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Copyright 2026 DiffPal contributors
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
4
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
5
|
+
in the Software without restriction, including without limitation the rights
|
|
6
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
7
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
8
|
+
furnished to do so, subject to the following conditions:
|
|
9
|
+
|
|
10
|
+
The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
copies or substantial portions of the Software.
|
|
12
|
+
|
|
13
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
14
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
15
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
16
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
17
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
19
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# DiffPal
|
|
2
|
+
|
|
3
|
+
DiffPal is a diff-first, policy-aware review assistant.
|
|
4
|
+
|
|
5
|
+
- Diff collection and review are treated as a first-class artifact (`findings.json`).
|
|
6
|
+
- Review runs are mode-scoped: local review stays local, and host review emits only that host's artifacts.
|
|
7
|
+
- GitHub is the primary host surface; GitLab and Azure adapters follow the same findings contract.
|
|
8
|
+
|
|
9
|
+
## Package and runtime contract
|
|
10
|
+
|
|
11
|
+
- Go module: `github.com/diffpal/diffpal`
|
|
12
|
+
- CLI binary: `diffpal`
|
|
13
|
+
- Default package license: `MIT`
|
|
14
|
+
- Build stack: Go 1.26.4
|
|
15
|
+
- CLI package: `@diffpal/diffpal`
|
|
16
|
+
- GitHub Action: `diffpal/action`
|
|
17
|
+
- NPM scope: `@diffpal/*`
|
|
18
|
+
- Self-review: `.github/workflows/diffpal-review.yml` installs `@diffpal/diffpal@latest` and runs this repository's action on same-repository pull requests.
|
|
19
|
+
|
|
20
|
+
See [docs/product-contract.md](docs/product-contract.md) for full contract details.
|
|
21
|
+
|
|
22
|
+
## Commands
|
|
23
|
+
|
|
24
|
+
This repository includes the canonical CLI command tree:
|
|
25
|
+
|
|
26
|
+
- `diffpal review`
|
|
27
|
+
- `diffpal review local`
|
|
28
|
+
- `diffpal review github`
|
|
29
|
+
- `diffpal review gitlab`
|
|
30
|
+
- `diffpal review ado`
|
|
31
|
+
- `diffpal sarif`
|
|
32
|
+
- `diffpal init`
|
|
33
|
+
- `diffpal doctor`
|
|
34
|
+
- `diffpal version`
|
|
35
|
+
|
|
36
|
+
## Repository layout
|
|
37
|
+
|
|
38
|
+
- `cmd/diffpal` contains the build entrypoint for the CLI binary.
|
|
39
|
+
- `internal/cmd` contains the Cobra command tree and command wiring.
|
|
40
|
+
- `internal/...` contains non-exported runtime, diff, policy, findings, platform, and reliability packages.
|
|
41
|
+
- `docs/` records the product contract, config, platform adapters, and release behavior.
|
|
42
|
+
|
|
43
|
+
## Documentation
|
|
44
|
+
|
|
45
|
+
- [Quickstart](docs/quickstart.md)
|
|
46
|
+
- [Config and policy reference](docs/config-reference.md)
|
|
47
|
+
- [Configuration schema](docs/config-schema.md)
|
|
48
|
+
- [Findings schema](docs/findings-schema.md)
|
|
49
|
+
- [GitHub/GitLab/Azure CI examples](docs/ci-examples.md)
|
|
50
|
+
- [GitLab adapter contract](docs/platform-gitlab.md)
|
|
51
|
+
- [Azure adapter contract](docs/platform-azure.md)
|
|
52
|
+
- [Release process](docs/release.md)
|
|
53
|
+
|
|
54
|
+
## First Commands
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
diffpal init
|
|
58
|
+
diffpal doctor
|
|
59
|
+
diffpal review local --base origin/main --head HEAD
|
|
60
|
+
diffpal review github --base origin/main --head HEAD --gate
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
## Development
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
go mod download
|
|
67
|
+
go mod verify
|
|
68
|
+
go test ./...
|
|
69
|
+
go tool golangci-lint run ./...
|
|
70
|
+
go run ./cmd/diffpal --help
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
The npm package is the user-facing CLI distribution. Source development in this repository uses the Go toolchain directly.
|
|
74
|
+
|
|
75
|
+
Maintainers track project work in Beads (`bd`). External contributors do not need Beads to open issues or pull requests.
|
package/bin/diffpal
ADDED
|
Binary file
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bin": {
|
|
3
|
+
"diffpal": "bin/diffpal"
|
|
4
|
+
},
|
|
5
|
+
"cpu": [
|
|
6
|
+
"x64"
|
|
7
|
+
],
|
|
8
|
+
"description": "@diffpal/diffpal binary for linux/amd64",
|
|
9
|
+
"files": [
|
|
10
|
+
"bin",
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
13
|
+
],
|
|
14
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
15
|
+
"name": "@diffpal/diffpal-linux-x64",
|
|
16
|
+
"os": [
|
|
17
|
+
"linux"
|
|
18
|
+
],
|
|
19
|
+
"version": "0.1.1"
|
|
20
|
+
}
|