Repository navigation
kash v2.2.0
What's Changed
Fixed
-
A build stopped after its last document never finished, and no later build
noticed. The lexical index, entity descriptions and MCP tool description
are produced after the per-document loop, but the "corpus up to date" check
looked only at documents. A build interrupted between the two left all three
missing, and every laterkash buildreturned before reaching them — while
kash serveran on vector search alone. The manifest now carries
pending_finalize, set before any data is touched and cleared only when the
final steps finish; a manifest written before the flag existed is recognised
by documents recorded at version 0. The nextkash buildcompletes such a
corpus without re-embedding anything, and also builds a missing lexical index
for a corpus that predates it. -
kash servesaid nothing when the lexical index was missing. A missing
index loads as an empty one, so keyword and exact-reference search were off
with no sign at startup. It now warns whenever a corpus holds chunks but has
nolexical.idx. -
kash versionsaid "dev / none / unknown" for any binary not built by
makeor the release workflow. Only those two pass the version through
-ldflags, so a plaingo buildproduced a binary that could not be placed —
and wrotedevas thekash_versionof every manifest and profile it built.
The version and commit now fall back to the git revision Go embeds in every
binary built inside a checkout (dev-1a984b7-dirty), alongside the commit
time and the binary's file time. The published base image reporteddevtoo:
its Dockerfile passed no version at all, and now takesVERSION,COMMITand
BUILD_DATEbuild arguments from the release workflow. On Windows without
make,scripts/build.ps1builds a binary stamped with the release tag.
Installation
Linux (amd64)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.0/kash_linux_amd64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/Linux (arm64)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.0/kash_linux_arm64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/macOS (Apple Silicon)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.0/kash_darwin_arm64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/macOS (Intel)
curl -L https://github.com/akashicode/kash/releases/download/v2.2.0/kash_darwin_amd64.tar.gz | tar -xz
sudo mv kash /usr/local/bin/Windows (amd64)
Download kash_windows_amd64.zip, extract, and add kash.exe to a directory on your PATH.
For full usage instructions, configuration options, and examples, see the README.