v3.17.0 — install.sh URL fix + --search-mode flag
Highlights
Two ship-blocking bugs landed via #564 and #565, both discovered while building a Coursera RAG-from-Zero lab.
Fixed
scripts/install.shURL pattern, tarball layout, and Linux platform default (#561 → #564). Three sub-bugs in the documented one-liner installer:- URL was constructed as
paiml-mcp-agent-toolkit-${PLATFORM}.tar.gzbut actual release assets are namedpmat-v${VERSION}-${PLATFORM}.tar.gz— every install since the v3.0 rename returned 404. - The release tarball extracts to a subdirectory (
pmat-v${V}-${P}/pmat), not flat — the script's binary-locator looked at the wrong path. - Linux platform detection defaulted to the
gnuvariant, which requires GLIBC 2.39 and fails on Ubuntu 22.04 (GLIBC 2.35); now defaults to the static-piemuslvariant for portability across glibc versions.
- URL was constructed as
Added
pmat query --search-mode {semantic,lexical,hybrid}(#562 → #565). Explicit search-mode flag onpmat queryfor lexical-vs-semantic comparison without the config gate thatpmat semantic searchrequires.semantic(default) preserves current behavior — auto-blended relevance + structural signals.lexicaldoes case-insensitive smart-case match against function name + signature + source span, ranked by hit count plus existing structural-signal blend (works without an embeddings index).hybridruns both pipelines and combines via reciprocal-rank fusion atk=60.
- Provable contracts:
contracts/pmat-install-v1.yamlandcontracts/pmat-query-search-modes-v1.yaml.
Install
The corrected one-liner:
curl -fsSL https://raw.githubusercontent.com/paiml/paiml-mcp-agent-toolkit/master/scripts/install.sh | sh -s v3.17.0Or download a prebuilt directly (musl recommended for Linux portability):
curl -fsSL https://github.com/paiml/paiml-mcp-agent-toolkit/releases/download/v3.17.0/pmat-v3.17.0-x86_64-unknown-linux-musl.tar.gz \
| tar -xz
./pmat-v3.17.0-x86_64-unknown-linux-musl/pmat --versionTry the new flag
pmat query "error handling" --search-mode lexical --limit 3
pmat query "error handling" --search-mode semantic --limit 3
pmat query "error handling" --search-mode hybrid --limit 3🤖 Generated with Claude Code