vantage-check
The agent-facing CLI for Vantage: it emits the Markdown conventions Vantage's renderer expects, and checks that a document really renders.
$ vantage-check docs/ # check every Markdown file under docs/
$ vantage-check check docs/design/api.md --format json
$ vantage-check style-guide # print this release's conventions
Every command speaks for the binary's own release: the checks it runs and the guide it prints are that release's, and a local build is a development build that can be newer than every release. Which one to run for readers on an older viewer: Which release it writes for.
How it works, and why it is shaped this way: ../../docs/reference/agent-cli.md.
User documentation: ../../userguide/guides/vantage-check.md.
Why this package is shaped the way it is
- Never published to npm.
vantage-mdon npm stays a pure rendering library; this package is"private": trueand ships only as a compiled binary. That keeps a lint-time dependency tree out of the library. - It imports
vantage-md's TypeScript source by relative path rather than depending on the built package. Acheckthat answers "will this render in Vantage" has to run the code the viewer runs; a second implementation would drift invisibly and pass documents the viewer breaks on. - It never needs a server. Every command works offline against files on disk — no port, no socket, no "is Vantage running" check.
Layout
| Path | What lives there |
|---|---|
src/cli.ts |
Argument parsing and dispatch — no filesystem, no process |
src/commands/ |
One file per command |
src/core/ |
Config, file discovery, document parsing, heading slugs |
src/core/runner.ts |
Every rule over every file, in one thread |
src/core/parallel.ts |
Sharding that file list across worker threads |
src/rules/ |
One file per rule family; each owns its failure classification |
src/report/ |
Text and JSON output |
scripts/ |
The single-file binary and the Python wheel |
Building the binary
$ npm run build # dist/vantage-check for this host, ~90 MB
$ bun ./scripts/build.ts --target bun-darwin-arm64 # or any other platform
npm run build is bun build --compile: the whole program and a bun runtime in
one file, with the version and commit inlined at compile time. The size is the
runtime; it is the price of a tool that runs in a sandbox with nothing
installed.
Only the release workflow builds a release: it stamps the tag into
package.json first, and version then prints
vantage-check 0.8.0. Every other build, this one included, has only the
manifest's placeholder version, so it prints
vantage-check development build (<commit>) instead, and so does every other
place that would name a version, such as the first line of style-guide.
bun cross-compiles, so one host builds every platform — that is why every
build leg of the release runs on a Linux runner, one leg per target, rather than
each on a runner of its target's OS. Release CI wraps each
binary in a platform wheel (../../scripts/build-wheel.py) so uvx vantage-check
works, and attaches the archives to a GitHub release for the curl path.
Metadata
Release files for vantage-check 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| vantage_check-0.9.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| vantage_check-0.9.0-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details |
| vantage_check-0.9.0-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details |
| vantage_check-0.9.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 138.8 MB
Release files / vantage_check-0.9.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | vantage_check-0.9.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 39.4 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
90115adbd3b1304ed0d5d55bbe519c52d5123cef464dfb1a62e493a03b8c5f3f
|
|
BLAKE2b-256 checksum How to use checksums |
69f5abdd889c213385edb989088c34c00f6f47e65928311af359a9bdc80f2308
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_check-0.9.0-py3-none-manylinux_2_28_aarch64.whl
| Download URL | vantage_check-0.9.0-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 39.3 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
a2f624f12832b28f956c8bde1fee8449b8ad907b088d9fa27e311f9aa4882522
|
|
BLAKE2b-256 checksum How to use checksums |
d8eb06bbe5750d7c09e1b14ee9b6bc99668f884029d24252b307f42467ebc1d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_check-0.9.0-py3-none-macosx_11_0_x86_64.whl
| Download URL | vantage_check-0.9.0-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 31.3 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b80433fadf4c4fee1bbc5d5a9b55c4049ce4497713238fa9d5c528eccf9b5b5e
|
|
BLAKE2b-256 checksum How to use checksums |
2cde81d4e59c3419f57c91d6f0afbf5cc01a71d214a4453d9715bcabc5f8fe03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vantage_check-0.9.0-py3-none-macosx_11_0_arm64.whl
| Download URL | vantage_check-0.9.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 28.7 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
5a0cc725a86b7b4962191a74d104d9381dbb05cc279de15ec29f69ceeabcde6e
|
|
BLAKE2b-256 checksum How to use checksums |
2c2bc92ad27fb6f2bbfe8260910d02f9ec2c36387361e47e0c6575656cee4463
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|