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
fix(ci): yarnpkg GPG + YAML colon syntax in refactor
chopratejas86177da871cc
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfileindex e62bbd5af..d9b22be46 100644--- a/.devcontainer/Dockerfile+++ b/.devcontainer/Dockerfile@@ -5,7 +5,15 @@ FROM mcr.microsoft.com/devcontainers/python:1-${VARIANT}# from the local pyproject.toml using maturin (declared in build-system).# Maturin needs rust + cargo + pkg-config + libssl-dev (transitive# openssl-sys via fastembed/hf-hub).-RUN apt-get update && \+#+# The base image `mcr.microsoft.com/devcontainers/python:1-3.12-bookworm`+# ships with `dl.yarnpkg.com` configured as an apt source whose GPG key+# is expired. We don't need yarn for the maturin build, so drop that+# source list before `apt-get update` to avoid `NO_PUBKEY` aborting the+# whole step (apt-get returns exit 100 even though deb.debian.org's+# main repo updates fine).+RUN rm -f /etc/apt/sources.list.d/yarn.list && \+ apt-get update && \apt-get install -y --no-install-recommends \pkg-config \libssl-dev && \diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.ymlindex 90354c1a7..73cda3cb9 100644--- a/.github/workflows/rust.yml+++ b/.github/workflows/rust.yml@@ -86,7 +86,7 @@ jobs:- uses: actions/setup-python@v5with:python-version: '3.11'- - name: Build wheel (single-wheel architecture: builds headroom-ai)+ - name: "Build wheel (single-wheel architecture builds headroom-ai)"uses: PyO3/maturin-action@v1# Maturin reads `[tool.maturin]` from the root `pyproject.toml`# which points at `crates/headroom-py/Cargo.toml` for the cdylib.