generated from eblume/project-template
Some checks failed
Build / validate (pull_request) Failing after 15s
RPC clients (the hephaestus.nvim plugin, for its `:Heph version`
command) had no way to learn which hephd they are talking to — `health`
returns counts, not a version. Add a tiny `version` method returning
`{ version: heph_core::VERSION }`, the same `X.Y.Z (sha)` string the
binaries print for --version. No store access needed.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
270 B
270 B
New version RPC returns the daemon's build version (heph_core::VERSION, e.g. 1.0.0 (ab6701d12)), so RPC clients — notably the hephaestus.nvim plugin's :Heph version command — can report which hephd they are talking to without shelling out to the binary.