diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d68ac0..e32f45a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ the GitHub Release body, so a release with no entry here fails. Versioning follows [docs/versioning.md](docs/versioning.md). +## [0.18.0] - 2026-10-13 + +### Fixed + +- Compaction now counts `reasoning_content` in loop and middleware token estimates and drops it from older assistant turns (Tier 1 keeps at least the latest turn, or the last `keep_tool_result` turns when greater than one; tool-result compression and the Tier 2 input keep only the latest). Long `thinking_format: reasoning_content` runs previously looked ~19x smaller than their real prompts, so compaction rarely fired; expect compaction to trigger earlier and prompts to shrink on those profiles. Proxy compatibility was verified with llm-hub deepseek-flash; the self-hosted DSV4 checkpoint and long-task quality were not tested. + ## [0.17.0] - 2026-10-09 ### Added diff --git a/changes/79.fix.md b/changes/79.fix.md deleted file mode 100644 index 5da435e..0000000 --- a/changes/79.fix.md +++ /dev/null @@ -1 +0,0 @@ -Compaction now counts `reasoning_content` in loop and middleware token estimates and drops it from older assistant turns (Tier 1 keeps at least the latest turn, or the last `keep_tool_result` turns when greater than one; tool-result compression and the Tier 2 input keep only the latest). Long `thinking_format: reasoning_content` runs previously looked ~19x smaller than their real prompts, so compaction rarely fired; expect compaction to trigger earlier and prompts to shrink on those profiles. diff --git a/pyproject.toml b/pyproject.toml index 30bc88a..70aab8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "apodex-agent-core" -version = "0.17.0" +version = "0.18.0" description = "Shared, product-neutral runtime primitives for Apodex agents" readme = "README.md" license = "Apache-2.0" diff --git a/uv.lock b/uv.lock index b8b8a1d..5b39e9e 100644 --- a/uv.lock +++ b/uv.lock @@ -50,7 +50,7 @@ wheels = [ [[package]] name = "apodex-agent-core" -version = "0.17.0" +version = "0.18.0" source = { editable = "." } dependencies = [ { name = "anthropic", extra = ["bedrock"] },