Repository navigation
AhdCode v2.7.0 completes the read-only inspection primitives a server worker needs and brings back installable packages for every platform.
System inspection
- Disk (new module):
Disk.inspect(path)returns aDiskInfowithtotalBytes(),usedBytes(),freeBytes(),availableBytes(), andusedPercent()for the filesystem that contains an existing path. It reads the operating system's own API (statfs,GetDiskFreeSpaceExW) and never runsdfor a shell. Failures areDiskError. - Service (new module):
Service.status(name)returns aServiceInfowithname(),activeState(),subState(),running(), andenabled()for a Linux systemd unit.- It reads the machine-readable
systemctl showproperties without a shell and validates unit names before anything runs. - It is read-only by design: there is no start, stop, or restart.
- It raises
ServiceErroron platforms other than Linux with systemd.
- It reads the machine-readable
Distribution
- macOS (Apple Silicon): a signed installer package and disk image, both notarized by Apple with the ticket stapled.
- Windows x64: the per-user installer, which adds only
%LOCALAPPDATA%\AhdCode\binto the user PATH. It is not Authenticode-signed, so SmartScreen may warn; verify the SHA-256 first. - Linux: packages for amd64 and, new in this release, arm64.
- Every package carries its own helpers, private Go toolchain, and offline LaTeX engine, and finds them from its own installation.
Disk and Service are now standard module names. Verify downloads with SHA256SUMS.txt. Installation: https://github.com/aliharundaldalli/AhdCode/blob/main/docs/INSTALLATION.md