You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3cbe0cb
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,38 @@ existing `0.1.0` release; earlier development prereleases are not listed.
5
5
6
6
## [Unreleased]
7
7
8
+
### Added
9
+
10
+
- Add Forward Session `auto_title` on creation and nullable `config.multiagent` on update. Omit `auto_title` for the server's false default; when true, omit `title` entirely. Clearing a roster with `None` does not restore Template inheritance, and create config still does not accept a roster.
11
+
- Add independent Forward Template A2A publication settings and synchronous/asynchronous `templates.retrieve_agent_card()` discovery for A2A 0.3 and 1.0, with typed protocol fields and unknown-field preservation. PAT callers can select a runtime Identity; SAT callers omit it. No task invocation client is included.
12
+
- Add typed Forward Environment config, packages and OSS bucket storage with separate write credentials and safe read models. Updates replace the whole config; omit a bucket credential to retain it, or use `buckets=[]` to remove future mounts without changing existing Sessions. Forward supports up to seven buckets through the existing `oss-bucket-2026-09-23` beta header.
13
+
- Add Managed `AlwaysDenyPolicy`/`AlwaysDenyPolicyParam` and `always_deny` to all built-in and MCP request policy unions, including defaults.
14
+
- Add Managed ImageGen, ImageSearch, VideoGen and DeliverArtifacts config types with required canonical or supported snake-case names. Add type-only BrowserToolset20260714 request/response types across Agent and Session snapshots; use the existing `betas=["browser-use-2026-07-14"]` option when configuring Browser Use.
15
+
8
16
### Fixed
9
17
18
+
- Preserve historical string `configs[].permission_policy` values when leniently parsing Managed Agent, Session and Thread tool snapshots. Tools and configs retain model attribute access instead of becoming Browser models or raw dictionaries; known Browser/media variants keep their concrete types and strict validation still rejects invalid payloads.
19
+
- Expose Managed MCP toolsets' top-level `permission_policy` in requests and Agent/Session/Thread responses, including `always_deny` without `configs`. Set server-wide defaults here: nested `default_config.permission_policy` is retained unchanged for compatibility but does not set the MCP default; omitting the top-level policy defaults to allow.
10
20
- Accept `"latest"` and positive integer strings for child Agent `version` in Managed Agent multiagent rosters through the new `MultiagentAgentParams` type, and parse saved `"latest"` versions in Agent responses, including with `_strict_response_validation=True`. `MultiagentAgentUnion.version` is now typed `int | str`; Session and Deployment Agent references keep numeric versions.
11
21
22
+
### Breaking changes
23
+
24
+
- Managed Agent, Session and Thread tool snapshots now return `BrowserToolset20260714` for Browser entries instead of a generic tool model. Browser supports only `type`, so attributes such as `configs` and `mcp_server_name` are not available on that variant.
25
+
26
+
### Migration
27
+
28
+
- Check each tool's variant before reading toolset-specific fields. The same branching applies to Agent, Session and Thread snapshots in synchronous and asynchronous clients:
29
+
30
+
```python
31
+
from qca.managed.types import BrowserToolset20260714
Media config entries require `name` (canonical name or supported snake-case
271
+
alias); generation prompts and media parameters belong in Session messages, not
272
+
tool config. Browser request entries contain only `type`, not `enabled` or
273
+
`configs`. Agent updates do not require `version` and affect future Session
274
+
snapshots, not existing ones.
275
+
276
+
For MCP, set the server-wide default in the toolset's **top-level**
277
+
`permission_policy`: `always_allow`, `always_ask`, or `always_deny`, even without
278
+
`configs`. Use `configs[].permission_policy` for per-tool policies. Omitting the
279
+
top-level policy defaults to allow, not the built-in tool default.
280
+
`default_config` remains available for raw payload compatibility, but its nested
281
+
`permission_policy` does not set the MCP server-wide default. The example assumes
282
+
`weather` is already configured in the Agent's `mcp_servers`.
283
+
176
284
## Streaming
177
285
178
286
Streaming responses are consumed incrementally. Close the stream when finished and handle interruption explicitly; closing a local stream does not cancel server-side work.
@@ -216,6 +324,12 @@ except APIStatusError as exc:
216
324
217
325
By default, responses are constructed into models without requiring every field to match the declared schema, matching Anthropic's Python SDK. Nested objects are still converted to models and unknown fields are retained. Unexpected field values may keep their original type, so type annotations describe the expected API schema rather than guaranteeing the runtime value.
218
326
327
+
Managed Agent, Session and Thread snapshots with historical string
328
+
`configs[].permission_policy` values keep tool/config model attribute access and
329
+
preserve those strings unchanged. Known Browser and media variants retain their
330
+
concrete response classes; unknown tools use the generic model. This compatibility
331
+
does not relax strict response validation.
332
+
219
333
To require Pydantic response validation and raise `APIResponseValidationError` on a schema mismatch, enable the constructor option:
0 commit comments