Skip to content

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.

chore: bump RTK from v0.28.2 to v0.42.4 (#1362)

Parideboy26e1253df054
diff --git a/headroom/rtk/__init__.py b/headroom/rtk/__init__.py
index 60632acd5..c6b5f335b 100644
--- a/headroom/rtk/__init__.py
+++ b/headroom/rtk/__init__.py
@@ -12,7 +12,7 @@ from pathlib import Path
from headroom import paths as _paths
-RTK_VERSION = "v0.28.2"
+RTK_VERSION = "v0.42.4"
RTK_BIN_DIR = _paths.bin_dir()
_RTK_NAME = "rtk.exe" if platform.system() == "Windows" else "rtk"
RTK_BIN_PATH = RTK_BIN_DIR / _RTK_NAME
diff --git a/headroom/rtk/installer.py b/headroom/rtk/installer.py
index 4d7468b32..47be8403d 100644
--- a/headroom/rtk/installer.py
+++ b/headroom/rtk/installer.py
@@ -76,7 +76,7 @@ def download_rtk(version: str | None = None) -> Path:
"""Download rtk binary from GitHub releases.
Args:
- version: Version to download (e.g., "v0.28.2"). Defaults to pinned version.
+ version: Version to download (e.g., "v0.42.4"). Defaults to pinned version.
Returns:
Path to the installed binary.
diff --git a/tests/test_rtk_installer.py b/tests/test_rtk_installer.py
index 54e33134c..88f92ada0 100644
--- a/tests/test_rtk_installer.py
+++ b/tests/test_rtk_installer.py
@@ -52,7 +52,7 @@ def test_download_rtk_skips_verify_for_non_native_target(monkeypatch, tmp_path:
with patch.object(installer, "RTK_BIN_DIR", tmp_path):
with patch.object(installer, "urlopen", return_value=_Response()):
with patch.object(installer.subprocess, "run") as subprocess_run:
- installed_path = installer.download_rtk("v0.28.2")
+ installed_path = installer.download_rtk("v0.42.4")
assert installed_path == tmp_path / "rtk"
assert installed_path.exists()