diff --git a/.release-please-manifest.json b/.release-please-manifest.json index a7d961b3..8d63a17d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.25" + ".": "0.4.26" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 36a55644..a4548297 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-24426221ca34bef99c2533d049fc93a3b28718229d79339ff4a6f613a4f44ef6.yml -openapi_spec_hash: cb4a09c023345455749bfc45040951d6 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-c34c0577d9716c22554633ecb41d091675248d1385e9d1cc7c19479d55b56cb1.yml +openapi_spec_hash: 3daaeab87b12b271ba2ee39e7dc166f2 config_hash: 6481ea6b42040f435dedcb00a98f35f8 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ac0c5f1..bb1c0391 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.4.26 (2025-10-21) + +Full Changelog: [v0.4.25...v0.4.26](https://github.com/scaleapi/agentex-python/compare/v0.4.25...v0.4.26) + +### Features + +* **api:** api update ([0c1dedd](https://github.com/scaleapi/agentex-python/commit/0c1dedd0fecb05e3684f110cc589f2abe55acb97)) +* **api:** api update ([719dc74](https://github.com/scaleapi/agentex-python/commit/719dc74f7844e2a3c14e46996e353d9c632b8e0a)) + + +### Chores + +* bump `httpx-aiohttp` version to 0.1.9 ([21c7921](https://github.com/scaleapi/agentex-python/commit/21c79210a0d65944fec5010fcc581a2d85fb94ab)) + ## 0.4.25 (2025-10-10) Full Changelog: [v0.4.24...v0.4.25](https://github.com/scaleapi/agentex-python/compare/v0.4.24...v0.4.25) diff --git a/pyproject.toml b/pyproject.toml index 8c2270c3..8797415c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "agentex-sdk" -version = "0.4.25" +version = "0.4.26" description = "The official Python library for the agentex API" dynamic = ["readme"] license = "Apache-2.0" @@ -66,7 +66,7 @@ Homepage = "https://github.com/scaleapi/agentex-python" Repository = "https://github.com/scaleapi/agentex-python" [project.optional-dependencies] -aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"] +aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"] dev = [ "ruff>=0.3.4", ] diff --git a/requirements-dev.lock b/requirements-dev.lock index 8057bb29..a282ef7f 100644 --- a/requirements-dev.lock +++ b/requirements-dev.lock @@ -113,9 +113,9 @@ httpx==0.27.2 # via mcp # via openai # via respx +httpx-aiohttp==0.1.9 # via scale-gp # via scale-gp-beta -httpx-aiohttp==0.1.8 # via agentex-sdk httpx-sse==0.4.1 # via mcp diff --git a/requirements.lock b/requirements.lock index 50e7ea25..81d91576 100644 --- a/requirements.lock +++ b/requirements.lock @@ -99,12 +99,12 @@ httpcore==1.0.9 httpx==0.27.2 # via agentex-sdk # via httpx-aiohttp +httpx-aiohttp==0.1.9 # via litellm # via mcp # via openai # via scale-gp # via scale-gp-beta -httpx-aiohttp==0.1.8 # via agentex-sdk httpx-sse==0.4.1 # via mcp diff --git a/src/agentex/_version.py b/src/agentex/_version.py index 510e8037..0b1244ab 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.25" # x-release-please-version +__version__ = "0.4.26" # x-release-please-version diff --git a/src/agentex/types/agent.py b/src/agentex/types/agent.py index 8dfcac0c..731332ab 100644 --- a/src/agentex/types/agent.py +++ b/src/agentex/types/agent.py @@ -35,7 +35,7 @@ class Agent(BaseModel): registration_metadata: Optional[Dict[str, object]] = None """The metadata for the agent's registration.""" - status: Optional[Literal["Pending", "Building", "Ready", "Failed", "Unknown"]] = None + status: Optional[Literal["Ready", "Failed", "Unknown", "Deleted"]] = None """The status of the action, indicating if it's building, ready, failed, etc.""" status_reason: Optional[str] = None diff --git a/src/agentex/types/agent_rpc_by_name_params.py b/src/agentex/types/agent_rpc_by_name_params.py index b84da84c..ec0f638e 100644 --- a/src/agentex/types/agent_rpc_by_name_params.py +++ b/src/agentex/types/agent_rpc_by_name_params.py @@ -54,6 +54,12 @@ class ParamsSendMessageRequest(TypedDict, total=False): task_id: Optional[str] """The ID of the task that the message was sent to""" + task_name: Optional[str] + """The name of the task that the message was sent to""" + + task_params: Optional[Dict[str, object]] + """The parameters for the task (only used when creating new tasks)""" + class ParamsSendEventRequest(TypedDict, total=False): content: Optional[TaskMessageContentParam] diff --git a/src/agentex/types/agent_rpc_params.py b/src/agentex/types/agent_rpc_params.py index e4ae3ab1..fa101e79 100644 --- a/src/agentex/types/agent_rpc_params.py +++ b/src/agentex/types/agent_rpc_params.py @@ -54,6 +54,12 @@ class ParamsSendMessageRequest(TypedDict, total=False): task_id: Optional[str] """The ID of the task that the message was sent to""" + task_name: Optional[str] + """The name of the task that the message was sent to""" + + task_params: Optional[Dict[str, object]] + """The parameters for the task (only used when creating new tasks)""" + class ParamsSendEventRequest(TypedDict, total=False): content: Optional[TaskMessageContentParam] diff --git a/src/agentex/types/task.py b/src/agentex/types/task.py index 3b22f819..8b9cde47 100644 --- a/src/agentex/types/task.py +++ b/src/agentex/types/task.py @@ -18,7 +18,7 @@ class Task(BaseModel): params: Optional[Dict[str, object]] = None - status: Optional[Literal["CANCELED", "COMPLETED", "FAILED", "RUNNING", "TERMINATED", "TIMED_OUT"]] = None + status: Optional[Literal["CANCELED", "COMPLETED", "FAILED", "RUNNING", "TERMINATED", "TIMED_OUT", "DELETED"]] = None status_reason: Optional[str] = None