Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
Python agentaianthropicclaude-codecompressioncontext-engineeringcontext-windowcursorfastapilangchainllmmcpopenaiprompt-engineeringproxypythonragtoken-optimizationtokenstypescript
ci: use find instead of ls for shellcheck SC2012
chopratejas7bb9cfe7d4d1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 1cc022b8c..1708331d0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -71,7 +71,7 @@ jobs:maturin build --release -m crates/headroom-py/Cargo.toml --out distpip install --force-reinstall --no-deps dist/headroom_core_py-*.whlSITE_PACKAGES=$(python -c "import site; print(site.getsitepackages()[0])")- SO_FILE=$(ls "$SITE_PACKAGES"/headroom/_core.cpython-*.so 2>/dev/null | head -1)+ SO_FILE=$(find "$SITE_PACKAGES/headroom" -maxdepth 1 -name "_core.cpython-*.so" -print -quit 2>/dev/null)if [[ -z "$SO_FILE" ]]; thenecho "error: could not find _core.cpython-*.so under $SITE_PACKAGES/headroom/" >&2ls -la "$SITE_PACKAGES/headroom/" || true