From 58a5544d44c48e8940519b987ac5d79522444daf Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Thu, 4 Jun 2026 10:52:52 -0700 Subject: [PATCH] feat: heph-tui --version reports version + build SHA heph-tui was the one daily-driver binary that did not answer --version. Add the same clap `version = heph_core::VERSION` attribute that heph and hephd already carry, so all three report `X.Y.Z (sha)` consistently. Addresses the heph-tui half of the cross-binary --version task. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/heph-tui/src/main.rs | 6 +++++- docs/changelog.d/heph-tui-version.feature.md | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 docs/changelog.d/heph-tui-version.feature.md diff --git a/crates/heph-tui/src/main.rs b/crates/heph-tui/src/main.rs index 3f2d834..27be96e 100644 --- a/crates/heph-tui/src/main.rs +++ b/crates/heph-tui/src/main.rs @@ -21,7 +21,11 @@ enum Action { } #[derive(Parser)] -#[command(name = "heph-tui", about = "Hephaestus task agenda / triage TUI")] +#[command( + name = "heph-tui", + version = heph_core::VERSION, + about = "Hephaestus task agenda / triage TUI" +)] struct Cli { /// Path to the hephd unix socket. Falls back to $HEPH_SOCKET, then the /// standard runtime path. diff --git a/docs/changelog.d/heph-tui-version.feature.md b/docs/changelog.d/heph-tui-version.feature.md new file mode 100644 index 0000000..17832b1 --- /dev/null +++ b/docs/changelog.d/heph-tui-version.feature.md @@ -0,0 +1 @@ +`heph-tui --version` now reports the version plus build commit (e.g. `1.0.0 (ab6701d12)`), matching `heph` and `hephd`. All three daily-driver binaries answer `--version` consistently.