From f54272068b0637932dcc44d617f988b49efa3614 Mon Sep 17 00:00:00 2001 From: zhanghanduo Date: Mon, 5 Oct 2026 16:41:15 +0800 Subject: [PATCH] chore(release): prepare 0.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 两个 feature 片段(PR #58 refusal/stop telemetry、PR #59 model capabilities), 按 scripts/prepare_release.py 的规则取 minor bump。 Co-Authored-By: Claude Opus 5 --- CHANGELOG.md | 7 +++++++ changes/58.feature.md | 1 - changes/model-capabilities.feature.md | 1 - pyproject.toml | 2 +- uv.lock | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) delete mode 100644 changes/58.feature.md delete mode 100644 changes/model-capabilities.feature.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d9482d..e5c6718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,13 @@ the GitHub Release body, so a release with no entry here fails. Versioning follows [docs/versioning.md](docs/versioning.md). +## [0.13.0] - 2026-10-05 + +### Added + +- Expose Anthropic refusal details and original stop reasons consistently in ordinary and streamed responses, and record finish reasons and refusal details in JSON and JSONL trajectories. Preserve signed thinking and tool-call ordering for Claude Fable 5.1 and Opus 5.5, forward effort independently of thinking configuration (direct clients that set effort without thinking now send it), and recover once from thinking signatures the API rejects after conversation edits. +- Add typed, source-documented model capability records shared by model profiles and Anthropic request construction. Known models select compatible thinking defaults and reject unsupported thinking, effort, or output-token settings before API calls; unknown models retain pass-through behavior and hosts can override deployment-specific facts without global mutable state. Enable CI for stacked pull requests. Behavior changes: an unrecognized `thinking_type` now raises instead of falling back to adaptive (`off`/`none`/`false` mean disabled on every builder); configuring `effort` for Sonnet 4.5 or Haiku 4.5 now raises instead of being dropped; and Sonnet/Haiku/Opus 4.5 without an explicit `thinking_type` now default to `enabled` (budget 8192, which may raise `max_tokens`) instead of the rejected adaptive mode. + ## [0.12.3] - 2026-10-01 ### Fixed diff --git a/changes/58.feature.md b/changes/58.feature.md deleted file mode 100644 index dba3c0e..0000000 --- a/changes/58.feature.md +++ /dev/null @@ -1 +0,0 @@ -Expose Anthropic refusal details and original stop reasons consistently in ordinary and streamed responses, and record finish reasons and refusal details in JSON and JSONL trajectories. Preserve signed thinking and tool-call ordering for Claude Fable 5.1 and Opus 5.5, forward effort independently of thinking configuration (direct clients that set effort without thinking now send it), and recover once from thinking signatures the API rejects after conversation edits. diff --git a/changes/model-capabilities.feature.md b/changes/model-capabilities.feature.md deleted file mode 100644 index d12985c..0000000 --- a/changes/model-capabilities.feature.md +++ /dev/null @@ -1 +0,0 @@ -Add typed, source-documented model capability records shared by model profiles and Anthropic request construction. Known models select compatible thinking defaults and reject unsupported thinking, effort, or output-token settings before API calls; unknown models retain pass-through behavior and hosts can override deployment-specific facts without global mutable state. Enable CI for stacked pull requests. Behavior changes: an unrecognized `thinking_type` now raises instead of falling back to adaptive (`off`/`none`/`false` mean disabled on every builder); configuring `effort` for Sonnet 4.5 or Haiku 4.5 now raises instead of being dropped; and Sonnet/Haiku/Opus 4.5 without an explicit `thinking_type` now default to `enabled` (budget 8192, which may raise `max_tokens`) instead of the rejected adaptive mode. diff --git a/pyproject.toml b/pyproject.toml index d4519ab..833382c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "apodex-agent-core" -version = "0.12.3" +version = "0.13.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 d1a4c3c..23c8835 100644 --- a/uv.lock +++ b/uv.lock @@ -50,7 +50,7 @@ wheels = [ [[package]] name = "apodex-agent-core" -version = "0.12.3" +version = "0.13.0" source = { editable = "." } dependencies = [ { name = "anthropic", extra = ["bedrock"] },