Files
Kun Chen 4c548eec7d fix(cli): speed up standalone version flags (#98)
* perf(cli): answer --version via the axi-sdk-js fast path

Bare `-v`/`-V`/`--version` now resolve through `tryFastPath` from the
dependency-free `axi-sdk-js/fast-path` subpath, with the command graph
loaded lazily via dynamic import only when the fast path declines. This
drops `gh-axi --version` from ~31ms to ~20ms, the bare node floor.

`readPackageVersion()` moves out of `src/cli.ts` into a leaf
`src/version.ts` that imports node builtins only, so the bin can read
the version without pulling in the heavy graph.

Guarded deterministically by a `module.register()` load-hook trace plus
a negative control on `--help`, and flag-parity assertions; no
wall-clock timing assertion (flaky under CI contention).

* no-mistakes(document): Confirm fast-path documentation and lint
2026-08-06 20:55:18 -07:00
..