mirror of
https://github.com/kunchenguid/gh-axi.git
synced 2026-09-19 00:53:51 +08:00
4c548eec7d
* 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