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
deps: Bump base64 from 0.22.1 to 0.23.1 (#4029)
dependabot[bot]8d468d455c2e
diff --git a/Cargo.lock b/Cargo.lockindex b58a76b0a..5d2062738 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2009,7 +2009,7 @@ dependencies = ["aws-sigv4","aws-smithy-runtime-api","axum",- "base64 0.22.1",+ "base64 0.23.1","bytes","bytesize","clap",diff --git a/crates/headroom-proxy/Cargo.toml b/crates/headroom-proxy/Cargo.tomlindex f7e146a3e..3b45b13f6 100644--- a/crates/headroom-proxy/Cargo.toml+++ b/crates/headroom-proxy/Cargo.toml@@ -58,12 +58,9 @@ aws-smithy-runtime-api = { workspace = true }crc32fast = "1"# Native savings stats: Bedrock InvokeModel EventStream chunks wrap# their Anthropic SSE payloads in base64 (`{"bytes": "<b64>"}`);-# the usage-capture tee decodes them. Already in the tree via the-# HTTP stack (reqwest/axum/hyper-util/gcp_auth all pull base64-# 0.22) — promoted to direct for the explicit use, so no new-# major-version bucket. (The AWS crates use `base64-simd`, a-# different crate — this is not that one.)-base64 = "0.22"+# the usage-capture tee decodes them with base64 0.23. The HTTP stack+# may retain its separate 0.22 dependency; the AWS crates use base64-simd.+base64 = "0.23"# Phase D PR-D3: Prometheus metrics for Bedrock observability. The# `prometheus` crate's default-features pull in `protobuf`, which we# don't need (we serve text-format scrapes only), so we disable