Skip to content

AhdCode v2.7.0 — System Inspection & Distribution Polish

Latest

Choose a tag to compare

@aliharundaldalli aliharundaldalli released this 29 Sep 14:54
· 1 commit to main since this release

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 a DiskInfo with totalBytes(), usedBytes(), freeBytes(), availableBytes(), and usedPercent() for the filesystem that contains an existing path. It reads the operating system's own API (statfs, GetDiskFreeSpaceExW) and never runs df or a shell. Failures are DiskError.
  • Service (new module): Service.status(name) returns a ServiceInfo with name(), activeState(), subState(), running(), and enabled() for a Linux systemd unit.
    • It reads the machine-readable systemctl show properties 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 ServiceError on platforms other than Linux with systemd.

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\bin to 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