* feat: add version-file input to read kubectl version from .tool-versions
Adds a `version-file` input that reads the kubectl version from an
asdf/mise `.tool-versions` file. A specific `version` input takes
precedence (with a warning); the default `latest` lets the file decide.
Values from the file go through the same latest / major.minor /
major.minor.patch resolution and validation as the `version` input.
The file must be a regular, non-symlinked file of at most 64 KiB.
Closes#259
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* fix: address version-file review feedback
- Report a missing version-file with a clear error instead of a raw ENOENT
- Document that the first kubectl entry wins, and the regular-file / 64 KiB limits
- Assert that an explicit version skips reading the version-file entirely
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>