generated from eblume/project-template
feat: add a version RPC returning the daemon build version
Some checks failed
Build / validate (pull_request) Failing after 15s
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>
This commit is contained in:
parent
babdb21c0a
commit
7914232ec4
3 changed files with 33 additions and 0 deletions
1
docs/changelog.d/version-rpc.feature.md
Normal file
1
docs/changelog.d/version-rpc.feature.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue