Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
a1d015c
codegen metadata
stainless-app[bot] Apr 8, 2026
d806d8d
codegen metadata
stainless-app[bot] Apr 8, 2026
fa0b173
codegen metadata
stainless-app[bot] Apr 8, 2026
2798aa1
codegen metadata
stainless-app[bot] Apr 8, 2026
e1e2d7b
codegen metadata
stainless-app[bot] Apr 8, 2026
6e8c905
codegen metadata
stainless-app[bot] Apr 8, 2026
a3ef70b
codegen metadata
stainless-app[bot] Apr 8, 2026
f827371
codegen metadata
stainless-app[bot] Apr 8, 2026
0fb9b08
codegen metadata
stainless-app[bot] Apr 8, 2026
9cb8a1b
codegen metadata
stainless-app[bot] Apr 8, 2026
c3c69e5
codegen metadata
stainless-app[bot] Apr 8, 2026
d8afe14
codegen metadata
stainless-app[bot] Apr 8, 2026
0410b33
codegen metadata
stainless-app[bot] Apr 8, 2026
bdb923c
codegen metadata
stainless-app[bot] Apr 8, 2026
a663265
codegen metadata
stainless-app[bot] Apr 8, 2026
aa68a0a
codegen metadata
stainless-app[bot] Apr 8, 2026
ca12d9e
codegen metadata
stainless-app[bot] Apr 8, 2026
857d5dd
codegen metadata
stainless-app[bot] Apr 9, 2026
af0ec49
codegen metadata
stainless-app[bot] Apr 9, 2026
26af02a
codegen metadata
stainless-app[bot] Apr 9, 2026
c25392b
codegen metadata
stainless-app[bot] Apr 9, 2026
a5c8b06
codegen metadata
stainless-app[bot] Apr 9, 2026
679786a
codegen metadata
stainless-app[bot] Apr 9, 2026
a7118e7
codegen metadata
stainless-app[bot] Apr 9, 2026
83ba975
codegen metadata
stainless-app[bot] Apr 9, 2026
8abce2b
feat(api): api update
stainless-app[bot] Apr 9, 2026
adf8a04
codegen metadata
stainless-app[bot] Apr 9, 2026
afeecd3
codegen metadata
stainless-app[bot] Apr 9, 2026
67ca84e
codegen metadata
stainless-app[bot] Apr 9, 2026
3874ea1
codegen metadata
stainless-app[bot] Apr 10, 2026
ef719c2
codegen metadata
stainless-app[bot] Apr 10, 2026
48fae27
fix: ensure file data are only sent as 1 parameter
stainless-app[bot] Apr 10, 2026
6fca5c6
codegen metadata
stainless-app[bot] Apr 10, 2026
f828d1c
codegen metadata
stainless-app[bot] Apr 10, 2026
4402e18
codegen metadata
stainless-app[bot] Apr 13, 2026
46e79f7
codegen metadata
stainless-app[bot] Apr 13, 2026
e9cca5d
codegen metadata
stainless-app[bot] Apr 13, 2026
484bc2a
codegen metadata
stainless-app[bot] Apr 13, 2026
297f199
codegen metadata
stainless-app[bot] Apr 13, 2026
96cd996
codegen metadata
stainless-app[bot] Apr 13, 2026
5968282
codegen metadata
stainless-app[bot] Apr 13, 2026
928b1b5
codegen metadata
stainless-app[bot] Apr 13, 2026
d67a44a
codegen metadata
stainless-app[bot] Apr 13, 2026
db5a327
codegen metadata
stainless-app[bot] Apr 13, 2026
d0b6299
codegen metadata
stainless-app[bot] Apr 13, 2026
8375fe3
codegen metadata
stainless-app[bot] Apr 14, 2026
aced004
codegen metadata
stainless-app[bot] Apr 14, 2026
1367099
codegen metadata
stainless-app[bot] Apr 14, 2026
fc69b92
codegen metadata
stainless-app[bot] Apr 14, 2026
f8f9943
release: 0.10.0
stainless-app[bot] Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.9.10"
".": "0.10.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 45
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-5fa3cb3c867281c804913c7c3e6d2143b5606d4924d42119f4b2b246f33e3db3.yml
openapi_spec_hash: 7372cd7b99d93e200d7b9a63440cdc6f
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-fe7288ac9aa515c44238c1d931db3eb86fd0ac36cf19da2f5d15c565f48b4039.yml
openapi_spec_hash: 5339c136760ece9fa1efb9a4f7749673
config_hash: fb079ef7936611b032568661b8165f19
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 0.10.0 (2026-04-14)

Full Changelog: [v0.9.10...v0.10.0](https://github.com/scaleapi/scale-agentex-python/compare/v0.9.10...v0.10.0)

### Features

* add AgentCard for self-describing agent capabilities ([#296](https://github.com/scaleapi/scale-agentex-python/issues/296)) ([6509be1](https://github.com/scaleapi/scale-agentex-python/commit/6509be1e5d9bc53e6058b22c45c760e04a4c4006))
* **api:** api update ([8abce2b](https://github.com/scaleapi/scale-agentex-python/commit/8abce2ba6131732688f04bacff33da506e47c77f))


### Bug Fixes

* ensure file data are only sent as 1 parameter ([48fae27](https://github.com/scaleapi/scale-agentex-python/commit/48fae27b6a761984f7fb70cb7a87da76a4192d12))
* Temporal Union deserialization causing tool_response messages to be lost ([79ef4dd](https://github.com/scaleapi/scale-agentex-python/commit/79ef4dd7a0ab1b8bb1151f5e16124ec5a947dfd4))
* **temporal:** allowing-ACP-temporal-telemetry ([9b44eb0](https://github.com/scaleapi/scale-agentex-python/commit/9b44eb0f5c6482984f972674d7a8612980c5b576))

## 0.9.10 (2026-04-07)

Full Changelog: [v0.9.9...v0.9.10](https://github.com/scaleapi/scale-agentex-python/compare/v0.9.9...v0.9.10)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "agentex-sdk"
version = "0.9.10"
version = "0.10.0"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
5 changes: 3 additions & 2 deletions src/agentex/_utils/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ def _extract_items(
index += 1
if is_dict(obj):
try:
# We are at the last entry in the path so we must remove the field
if (len(path)) == index:
# Remove the field if there are no more dict keys in the path,
# only "<array>" traversal markers or end.
if all(p == "<array>" for p in path[index:]):
item = obj.pop(key)
else:
item = obj[key]
Expand Down
2 changes: 1 addition & 1 deletion src/agentex/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "agentex"
__version__ = "0.9.10" # x-release-please-version
__version__ = "0.10.0" # x-release-please-version
3 changes: 3 additions & 0 deletions src/agentex/types/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ class Agent(BaseModel):
agent_input_type: Optional[Literal["text", "json"]] = None
"""The type of input the agent expects."""

production_deployment_id: Optional[str] = None
"""ID of the current production deployment."""

registered_at: Optional[datetime] = None
"""The timestamp when the agent was last registered"""

Expand Down
9 changes: 9 additions & 0 deletions tests/test_extract_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ def test_multiple_files() -> None:
assert query == {"documents": [{}, {}]}


def test_top_level_file_array() -> None:
query = {"files": [b"file one", b"file two"], "title": "hello"}
assert extract_files(query, paths=[["files", "<array>"]]) == [
("files[]", b"file one"),
("files[]", b"file two"),
]
assert query == {"title": "hello"}


@pytest.mark.parametrize(
"query,paths,expected",
[
Expand Down
Loading