diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c5c833d2..a56671ac 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.12" + ".": "0.4.13" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index bd1fb205..eed231f9 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-6eec9554350594d13aa61f6d3c384a54cbaba95481ee06c228a9d0a0aefaeda8.yml -openapi_spec_hash: 63770414d1be9807d9b7ebbef0ae9fee +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-80c50e5d150c0baca970fa26bc298a878e02bf5869a16fd3a812255cca077333.yml +openapi_spec_hash: 41bed3c1c935a8054600e6d177faa396 config_hash: aeabb3a919ad2763f5d0f41961a2520a diff --git a/CHANGELOG.md b/CHANGELOG.md index bc945851..4a632cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.4.13 (2025-09-12) + +Full Changelog: [v0.4.12...v0.4.13](https://github.com/scaleapi/agentex-python/compare/v0.4.12...v0.4.13) + +### Features + +* **api:** api update ([0102183](https://github.com/scaleapi/agentex-python/commit/0102183a8f5a23dbdaf905ffbe7ffbcf59bf7b21)) +* **api:** api update ([8a6edb1](https://github.com/scaleapi/agentex-python/commit/8a6edb13046ca24bf6c45fc018e32de498d48869)) + ## 0.4.12 (2025-09-08) Full Changelog: [v0.4.11...v0.4.12](https://github.com/scaleapi/agentex-python/compare/v0.4.11...v0.4.12) diff --git a/pyproject.toml b/pyproject.toml index b2215479..8750c84f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentex-sdk" -version = "0.4.12" +version = "0.4.13" description = "The official Python library for the agentex API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/agentex/_version.py b/src/agentex/_version.py index 7ff38883..13cf0a6a 100644 --- a/src/agentex/_version.py +++ b/src/agentex/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "agentex" -__version__ = "0.4.12" # x-release-please-version +__version__ = "0.4.13" # x-release-please-version diff --git a/src/agentex/resources/tasks.py b/src/agentex/resources/tasks.py index 5a28465b..031053b6 100644 --- a/src/agentex/resources/tasks.py +++ b/src/agentex/resources/tasks.py @@ -232,7 +232,7 @@ def stream_events( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> Stream[object]: """ - Stream message updates for a task by its unique ID. + Stream events for a task by its unique ID. Args: extra_headers: Send extra headers @@ -267,7 +267,7 @@ def stream_events_by_name( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> Stream[object]: """ - Stream message updates for a task by its unique name. + Stream events for a task by its unique name. Args: extra_headers: Send extra headers @@ -497,7 +497,7 @@ async def stream_events( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> AsyncStream[object]: """ - Stream message updates for a task by its unique ID. + Stream events for a task by its unique ID. Args: extra_headers: Send extra headers @@ -532,7 +532,7 @@ async def stream_events_by_name( timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN, ) -> AsyncStream[object]: """ - Stream message updates for a task by its unique name. + Stream events for a task by its unique name. Args: extra_headers: Send extra headers diff --git a/src/agentex/types/agent.py b/src/agentex/types/agent.py index 9b921e8e..8dfcac0c 100644 --- a/src/agentex/types/agent.py +++ b/src/agentex/types/agent.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import Optional +from typing import Dict, Optional from datetime import datetime from typing_extensions import Literal @@ -29,6 +29,12 @@ class Agent(BaseModel): updated_at: datetime """The timestamp when the agent was last updated""" + registered_at: Optional[datetime] = None + """The timestamp when the agent was last registered""" + + registration_metadata: Optional[Dict[str, object]] = None + """The metadata for the agent's registration.""" + status: Optional[Literal["Pending", "Building", "Ready", "Failed", "Unknown"]] = None """The status of the action, indicating if it's building, ready, failed, etc.""" diff --git a/src/agentex/types/task.py b/src/agentex/types/task.py index 710ad445..3b22f819 100644 --- a/src/agentex/types/task.py +++ b/src/agentex/types/task.py @@ -22,4 +22,6 @@ class Task(BaseModel): status_reason: Optional[str] = None + task_metadata: Optional[Dict[str, object]] = None + updated_at: Optional[datetime] = None