@brokkai/slopcop 0.0.2 → 0.0.3

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 CHANGED
@@ -46,6 +46,17 @@ npx @brokkai/slopcop --help
46
46
 
47
47
  Node 22 or newer is required to run that package.
48
48
 
49
+ The PyPI package carries the release binary for those same targets as wheels,
50
+ so it needs no Go toolchain either:
51
+
52
+ ```console
53
+ pip install brokk-slopcop
54
+ ```
55
+
56
+ The package is `brokk-slopcop` because PyPI already has an unrelated project
57
+ named `slopcop`; the command it installs is still `slopcop`, and `python -m
58
+ brokk_slopcop` runs the same binary.
59
+
49
60
  ## Enable it in an agent
50
61
 
51
62
  The binary carries the agent skill that teaches a coding agent how to run
@@ -190,6 +201,7 @@ make vet # go vet ./...
190
201
  make build # bin/slopcop-<goos>-<goarch>
191
202
  make cross-check # linux, darwin, and windows on amd64 and arm64
192
203
  make npm-test # node --test npm/test
204
+ make wheels # pypi-dist/, one wheel per release target
193
205
  ```
194
206
 
195
207
  Releases are tag-driven. Pushing a `v*.*.*` tag runs GoReleaser, which builds
@@ -202,6 +214,12 @@ locally when GoReleaser is installed. The same tag push then packs
202
214
  [trusted publishing](docs/npm-publishing.md), so the package needs no npm
203
215
  token.
204
216
 
217
+ The same tag also packs a wheel per release target from the binaries GoReleaser
218
+ just built, installs the wheel for every platform GitHub can run, and
219
+ publishes `brokk-slopcop` to PyPI with
220
+ [trusted publishing](docs/pypi-publishing.md), so that package needs no PyPI
221
+ token either.
222
+
205
223
  Layout:
206
224
 
207
225
  | Path | Purpose |
@@ -213,6 +231,8 @@ Layout:
213
231
  | `internal/report` | human, JSON, and SARIF rendering from the structured response |
214
232
  | `internal/config` | stored service URL and token |
215
233
  | `npm` | launcher, packer, and tests of the `@brokkai/slopcop` package |
234
+ | `packaging/pypi` | wheel packer and launcher of the `brokk-slopcop` package |
216
235
  | `skills/slopcop` | the agent skill the binary embeds and installs |
217
236
  | `docs/npm-publishing.md` | npm release flow and trusted publisher setup |
237
+ | `docs/pypi-publishing.md` | PyPI release flow and trusted publisher setup |
218
238
  | `.goreleaser.yaml` | tag release build, archives, and checksums |
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brokkai/slopcop",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Check a change through the hosted SlopCop check API",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {