Skip to content

Commit 1a5e85e

Browse files
committed
chore: bump version to v2.5.0
Release v2.5.0 with ConfirmationInheritance feature for child run Ask resolution control. Updates version across core, Node SDK, and Python SDK packages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4c01055 commit 1a5e85e

8 files changed

Lines changed: 58 additions & 22 deletions

File tree

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.5.0] - 2026-05-12
11+
12+
### Added
13+
14+
- Added `ConfirmationInheritance` enum for controlling how child runs resolve Ask
15+
decisions: `AutoApprove` (default), `DenyOnAsk`, and `InheritParent`.
16+
- Added `confirmation_inheritance` field to `WorkerAgentSpec` in Node and Python
17+
SDKs, allowing fine-grained control over child run confirmation behavior.
18+
- Added `ChildRunContext` for explicit parent capability inheritance, ensuring
19+
child runs properly inherit permission checkers and confirmation policies.
20+
- Added comprehensive integration tests for task delegation with real LLM calls
21+
and mock LLM contract tests for permission and confirmation inheritance.
22+
- Added SDK integration tests for `confirmation_inheritance` in both Node and
23+
Python SDKs with `.a3s/config.acl` configuration support.
24+
25+
### Fixed
26+
27+
- Fixed task delegation to properly inherit permission checker from agent
28+
definition in child runs (Issue #28).
29+
- Fixed child runs to respect parent's confirmation policy when using
30+
`InheritParent` mode.
31+
32+
### Changed
33+
34+
- Unified `AgentDefinition``AgentConfig` conversion via `apply_to()` method
35+
for consistent configuration application.
36+
- Refactored `ToolExecutor` to remove redundant `guard_policy` field, relying
37+
on `PermissionChecker` for all permission decisions.
38+
39+
### Documentation
40+
41+
- Updated Node and Python SDK READMEs with `confirmation_inheritance` examples
42+
and usage guidance.
43+
- Updated English and Chinese documentation for teams and tasks with worker
44+
agent confirmation inheritance patterns.
45+
1046
## [2.4.0] - 2026-05-11
1147

1248
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "a3s-code-core"
3-
version = "2.4.0"
3+
version = "2.5.0"
44
edition = "2021"
55
authors = ["A3S Lab Team"]
66
license = "MIT"

sdk/node/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "a3s-code-node"
3-
version = "2.4.0"
3+
version = "2.5.0"
44
edition = "2021"
55
authors = ["A3S Lab Team"]
66
license = "MIT"
@@ -11,7 +11,7 @@ description = "A3S Code Node.js bindings - Native addon via napi-rs"
1111
crate-type = ["cdylib"]
1212

1313
[dependencies]
14-
a3s-code-core = { version = "2.4.0", path = "../../core", features = ["ahp"] }
14+
a3s-code-core = { version = "2.5.0", path = "../../core", features = ["ahp"] }
1515
napi = { version = "2", features = ["async", "napi6", "serde-json"] }
1616
napi-derive = "2"
1717
tokio = { version = "1.35", features = ["full"] }

sdk/node/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/node/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@a3s-lab/code",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "A3S Code - Native Node.js bindings for the coding-agent runtime",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -40,11 +40,11 @@
4040
"test:helpers": "node test-helpers.mjs"
4141
},
4242
"optionalDependencies": {
43-
"@a3s-lab/code-darwin-arm64": "2.4.0",
44-
"@a3s-lab/code-linux-x64-gnu": "2.4.0",
45-
"@a3s-lab/code-linux-x64-musl": "2.4.0",
46-
"@a3s-lab/code-linux-arm64-gnu": "2.4.0",
47-
"@a3s-lab/code-linux-arm64-musl": "2.4.0",
48-
"@a3s-lab/code-win32-x64-msvc": "2.4.0"
43+
"@a3s-lab/code-darwin-arm64": "2.5.0",
44+
"@a3s-lab/code-linux-x64-gnu": "2.5.0",
45+
"@a3s-lab/code-linux-x64-musl": "2.5.0",
46+
"@a3s-lab/code-linux-arm64-gnu": "2.5.0",
47+
"@a3s-lab/code-linux-arm64-musl": "2.5.0",
48+
"@a3s-lab/code-win32-x64-msvc": "2.5.0"
4949
}
5050
}

sdk/python/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "a3s-code-py"
3-
version = "2.4.0"
3+
version = "2.5.0"
44
edition = "2021"
55
authors = ["A3S Lab Team"]
66
license = "MIT"
@@ -12,7 +12,7 @@ name = "a3s_code"
1212
crate-type = ["cdylib"]
1313

1414
[dependencies]
15-
a3s-code-core = { version = "2.4.0", path = "../../core", features = ["ahp"] }
15+
a3s-code-core = { version = "2.5.0", path = "../../core", features = ["ahp"] }
1616
pyo3 = "0.23"
1717
tokio = { version = "1.35", features = ["full"] }
1818
serde_json = "1.0"

sdk/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "a3s-code"
7-
version = "2.4.0"
7+
version = "2.5.0"
88
description = "A3S Code - Native Python bindings for the coding-agent runtime"
99
readme = "README.md"
1010
license = {text = "MIT"}

0 commit comments

Comments
 (0)