feat: CLI quick wins — heph-tui --version, fuzzy --project, heph context, version RPC #6

Merged
eblume merged 6 commits from feature/cli-quick-wins into main 2026-06-04 12:42:20 -07:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 58a5544d44 - Show all commits

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) <noreply@anthropic.com>
Erich Blume 2026-06-04 10:52:52 -07:00

View file

@ -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.

View file

@ -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.