@tj-smith47/anodizer-linux-x64-musl 0.25.2 → 0.27.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/README.md +50 -6
- package/anodizer +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,8 +17,6 @@ The release pipeline built for Rust — workspace-aware, reproducible, and signe
|
|
|
17
17
|
|
|
18
18
|
Anodizer reads a declarative config file and runs your entire release from a single `anodizer release` command: build, archive, checksum, changelog, sign, release, publish, and announce. It's built around the Rust ecosystem — Cargo workspaces, `Cargo.lock`-aware version bumps, crates.io, and byte-reproducible artifacts.
|
|
19
19
|
|
|
20
|
-
Written by [Claude](https://claude.ai); maintained by us.
|
|
21
|
-
|
|
22
20
|
See [What works (with proof)](https://tj-smith47.github.io/anodizer/dogfooding/) for a per-feature status — every "live" claim links to a real published artifact you can verify yourself.
|
|
23
21
|
|
|
24
22
|
## Why anodizer?
|
|
@@ -29,7 +27,7 @@ Your release is a Cargo workspace — not a bag of loose binaries. anodizer is b
|
|
|
29
27
|
- **crates.io, published in the right order.** Dependency-aware ordering with sparse-index polling holds each crate until the ones it depends on have propagated — so a workspace publish never races itself into a transient "version not found."
|
|
30
28
|
- **Cross-compiles without the toolchain tax.** musl, glibc, Windows, and macOS from one machine via `cargo-zigbuild` or `cross`. No `rustup target add` rituals, no per-target CI shards to babysit.
|
|
31
29
|
- **Reproducible — and it proves it.** Deterministic artifacts by default, then `anodizer check determinism` rebuilds them and byte-compares. "Reproducible" becomes a fact your CI enforces, not a claim in your release notes.
|
|
32
|
-
- **Signing and attestation are first-class.** cosign + GPG for binaries, archives, checksums, and images, plus SLSA-style build provenance — wired in a few lines
|
|
30
|
+
- **Signing and attestation are first-class.** cosign + GPG for binaries, archives, checksums, and images, plus SLSA-style build provenance — wired in a few lines of config.
|
|
33
31
|
|
|
34
32
|
Then the long tail that Rust authors actually hit: generated per-crate READMEs, `cargo-binstall` metadata derived straight from your config (no hand-maintained `pkg-url` that 404s), `version_files` to pin your docs and install scripts to the released version, and post-release install smoke tests that catch a broken artifact before your users do.
|
|
35
33
|
|
|
@@ -103,6 +101,7 @@ Already know GoReleaser? anodizer's `{{ .Field }}` template syntax will feel rig
|
|
|
103
101
|
- Cross-publisher track promotion (`anodizer promote`) — flip an already-published artifact to a stable track (snapcraft channels, npm dist-tags, OCI floating tags, GitHub prerelease) with no rebuild
|
|
104
102
|
- Post-release verification with install smoke tests
|
|
105
103
|
- JSON Schema for editor autocomplete and validation
|
|
104
|
+
- Built-in MCP server (`anodizer mcp`) exposing the CLI as annotated tools for AI assistants
|
|
106
105
|
|
|
107
106
|
## Installation
|
|
108
107
|
|
|
@@ -159,7 +158,7 @@ anodizer tag --push --changelog # tag + refresh changelog + push
|
|
|
159
158
|
anodizer tag --sign --push # signed annotated tag (uses git user.signingkey)
|
|
160
159
|
anodizer tag --custom-tag v0.1.0 # force a tag value, bypassing bump derivation
|
|
161
160
|
anodizer tag --version 1.2.3 --crate mycrate # pin an exact version for recovery (per-crate mode)
|
|
162
|
-
anodizer tag rollback "$GITHUB_SHA" # delete
|
|
161
|
+
anodizer tag rollback "$GITHUB_SHA" # delete anodizer-managed tags at a SHA + revert the bump
|
|
163
162
|
|
|
164
163
|
# Resume a stalled release from a populated dist/ — no rebuild
|
|
165
164
|
anodizer continue # resume the publish-only pipeline after a transient failure
|
|
@@ -285,12 +284,57 @@ jobs:
|
|
|
285
284
|
|
|
286
285
|
For split/merge fan-out, GPG key import, registry login, and per-platform variants, see [anodizer-action](https://github.com/tj-smith47/anodizer-action) and the live [`.github/workflows/release.yml`](.github/workflows/release.yml) in this repo.
|
|
287
286
|
|
|
287
|
+
## MCP server
|
|
288
|
+
|
|
289
|
+
`anodizer mcp` serves the CLI to any MCP client — Claude Desktop, VS Code, Cursor,
|
|
290
|
+
Zed — over stdio or streamable HTTP, built on [brontes](https://github.com/tj-smith47/brontes).
|
|
291
|
+
Every subcommand becomes a tool with its flags as a JSON Schema, so a release can be
|
|
292
|
+
driven by an assistant without wrapping anything by hand.
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
$ anodizer mcp claude enable # register with Claude Desktop (also: vscode, cursor, zed)
|
|
296
|
+
$ anodizer mcp start # stdio, for a client that spawns the process
|
|
297
|
+
$ anodizer mcp stream --port 8080 # streamable HTTP, for a shared/remote client
|
|
298
|
+
$ anodizer mcp tools # dump the tool list to mcp-tools.json for inspection
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
23 tools ship by default (`completion` and `man` are shell-prompt artifacts and are
|
|
302
|
+
withheld). Three groups narrow that for a client that shouldn't see the whole surface:
|
|
303
|
+
|
|
304
|
+
| Selection | Tools | Covers |
|
|
305
|
+
|---|---|---|
|
|
306
|
+
| *(default)* | 23 | the full tree |
|
|
307
|
+
| `--group inspect` | 9 | `check config`, `check version-files`, `healthcheck`, `preflight`, `jsonschema`, `resolve-tag`, `targets`, `vocabulary`, `tools` |
|
|
308
|
+
| `--group author` | 5 | `init`, `changelog`, `bump`, `tag`, `tag rollback` |
|
|
309
|
+
| `--group ship` | 7 | `build`, `release`, `publish`, `promote`, `continue`, `announce`, `notify` |
|
|
310
|
+
|
|
311
|
+
The same `--group` / `--command` / `--tool` flags work on `mcp start` and `mcp stream`,
|
|
312
|
+
and the editor installers forward them — `anodizer mcp claude enable --group inspect`
|
|
313
|
+
registers a read-only assistant. Each has a `--hide-` counterpart for subtracting from
|
|
314
|
+
the full list instead of selecting into it.
|
|
315
|
+
|
|
316
|
+
Each tool carries annotations a client can gate on, so a config validation and a publish
|
|
317
|
+
are distinguishable before either runs:
|
|
318
|
+
|
|
319
|
+
| Annotation | Commands |
|
|
320
|
+
|---|---|
|
|
321
|
+
| `readOnlyHint` | the `inspect` group — `preflight` alone sets `openWorldHint` |
|
|
322
|
+
| idempotent local write | `build`, `changelog`, `check determinism`, `init`, `tag` |
|
|
323
|
+
| idempotent + `openWorldHint` | `announce`, `continue`, `notify`, `promote`, `publish`, `release` |
|
|
324
|
+
| non-idempotent | `bump` — bumping twice moves the version twice |
|
|
325
|
+
| `destructiveHint` | `tag rollback` — unwinds publishers, deletes tags, rewrites history |
|
|
326
|
+
|
|
327
|
+
The six commands that routinely run for minutes — `build`, `check determinism`,
|
|
328
|
+
`continue`, `promote`, `publish`, `release` — are handed back as task handles rather
|
|
329
|
+
than held-open requests, so a client that speaks the MCP tasks extension can poll,
|
|
330
|
+
stream progress, and cancel a running release.
|
|
331
|
+
|
|
288
332
|
## CLI Reference
|
|
289
333
|
|
|
290
334
|
```
|
|
291
335
|
anodizer release Full release pipeline (--snapshot, --dry-run, --split/--merge, --publish-only)
|
|
292
336
|
anodizer tag Auto-tag from commit directives
|
|
293
|
-
anodizer tag rollback Delete
|
|
337
|
+
anodizer tag rollback Delete anodizer-managed tags at a SHA and revert the bump commit
|
|
294
338
|
anodizer bump Bump crate versions (Conventional Commits → semver level) without tagging
|
|
295
339
|
anodizer promote Promote a published artifact to a stable track without rebuilding
|
|
296
340
|
anodizer continue Resume a stalled or split release from a populated dist/ (--merge to fan-in)
|
|
@@ -304,7 +348,7 @@ anodizer healthcheck Probe external tools (nfpm, cosign, ...)
|
|
|
304
348
|
Failure handling is in-process: a failed `anodizer release` executes the
|
|
305
349
|
`release.on_failure` policy itself (`rollback` by default — delete the tag,
|
|
306
350
|
revert the bump — auto-degrading to `hold` once a one-way-door publisher like
|
|
307
|
-
crates.io has
|
|
351
|
+
crates.io has published), so release workflows need no `if: failure()` recovery
|
|
308
352
|
steps. `anodizer tag rollback "$GITHUB_SHA"` is the manual recovery command
|
|
309
353
|
for killed or held runs. See
|
|
310
354
|
[Release resilience](https://tj-smith47.github.io/anodizer/docs/advanced/release-resilience/)
|
package/anodizer
CHANGED
|
Binary file
|
package/package.json
CHANGED