From 5063b774c13ab62786112080724ce28506fe7a99 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 21 Oct 2025 01:56:44 +0900 Subject: hst: expose version string The hst API is tied to this version string. Signed-off-by: Ophestra --- hst/hst.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'hst') diff --git a/hst/hst.go b/hst/hst.go index c1511f6e..7fd7619c 100644 --- a/hst/hst.go +++ b/hst/hst.go @@ -52,7 +52,10 @@ type Paths struct { RunDirPath *check.Absolute `json:"run_dir_path"` } +// Info holds basic system information collected from the implementation. type Info struct { + // Version is a hardcoded version string. + Version string `json:"version"` // User is the userid according to hsu. User int `json:"user"` -- cgit v1.3.1