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: concurrency-cancel Docker + Merge Conflicts to stop merge-spree pileups (#2138)
Tejas Chopra6efd01f707bc
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex 790465e03..accab994a 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -22,6 +22,14 @@ on:release:types: [published]+# A merge spree pushes many commits to main; without this, each commit starts+# a full multi-arch image build and they pile up against the 20-job concurrency+# cap. Supersede all but the latest build for a given ref. cancel-in-progress is+# scoped to main only so a release tag's publish (its own ref) is never killed.+concurrency:+ group: docker-${{ github.ref }}+ cancel-in-progress: ${{ github.ref == 'refs/heads/main' }}+env:REGISTRY: ghcr.iodiff --git a/.github/workflows/merge-conflicts.yml b/.github/workflows/merge-conflicts.ymlindex a6fa06400..3b88bf55b 100644--- a/.github/workflows/merge-conflicts.yml+++ b/.github/workflows/merge-conflicts.yml@@ -12,6 +12,10 @@ on:pull_request:branches: [main]+concurrency:+ group: merge-conflicts-${{ github.event.pull_request.number || github.ref }}+ cancel-in-progress: true+permissions:contents: read