Skip to main content

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 the conventions

Design: ../../docs/design/agent-cli.md. User documentation: ../../userguide/vantage-check.md.

Why this package is shaped the way it is

  • Never published to npm. vantage-md on npm stays a pure rendering library; this package is "private": true and 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. A check that 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/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.

bun cross-compiles, so one host builds every platform — that is why the release job is a single runner rather than one per 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.5.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for vantage-check 0.5.8
File
vantage_check-0.5.8-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
vantage_check-0.5.8-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
vantage_check-0.5.8-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details
vantage_check-0.5.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 135.5 MB

Release files / vantage_check-0.5.8-py3-none-manylinux_2_28_x86_64.whl

Download URL vantage_check-0.5.8-py3-none-manylinux_2_28_x86_64.whl
Size 38.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
a690655d004aadec345f923c620ecf8d01e74f577016dbec78f283151a33a11e
BLAKE2b-256 checksum
How to use checksums
09493caa4608f26535e72c04aaf3fdb42c5c1b9623881145d5aa638ed7123cce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.5.8-py3-none-manylinux_2_28_aarch64.whl

Download URL vantage_check-0.5.8-py3-none-manylinux_2_28_aarch64.whl
Size 38.5 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
a2551c65ad87ccede7c7018bcde85ad4c270c16736d56d4df7994baec3a1952c
BLAKE2b-256 checksum
How to use checksums
30dc37b13676742697c6305fa9aed7b2c6b907cabc9cb2be156e15bf1e231dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.5.8-py3-none-macosx_11_0_x86_64.whl

Download URL vantage_check-0.5.8-py3-none-macosx_11_0_x86_64.whl
Size 30.5 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
0be51d7fd388c4dce24938f9552c4096fa1a24abc1a3cea2041901e7ad29361b
BLAKE2b-256 checksum
How to use checksums
e4295c1ae3367174b3fcf1be077fe09fa058d102880b7d32fd9a4c090264ff7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.5.8-py3-none-macosx_11_0_arm64.whl

Download URL vantage_check-0.5.8-py3-none-macosx_11_0_arm64.whl
Size 27.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
49aef28acf124ef742f8907b172c63ec4cff6684843bcf0df024f3c42df133a7
BLAKE2b-256 checksum
How to use checksums
e8cc375ec4a2668f16bc23ccce6ea13a4a4460b3a09f13ff9dc5488753807ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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 history Release notifications | RSS feed

0.9.2

4 release files

0.9.1

4 release files

0.9.0

4 release files

0.8.1

4 release files

0.8.0

4 release files

0.7.1

4 release files

0.7.0

4 release files

0.6.2

4 release files

0.6.1

4 release files

0.6.0

4 release files

0.5.10

4 release files

0.5.9

4 release files

This release

0.5.8 This release

4 release files

0.5.7

4 release files

0.5.6

4 release files

0.5.5

4 release files

0.5.4

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page