Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
8532589
codegen metadata
stainless-app[bot] Dec 17, 2025
801a620
codegen metadata
stainless-app[bot] Dec 17, 2025
7459eda
codegen metadata
stainless-app[bot] Dec 18, 2025
a3c893a
codegen metadata
stainless-app[bot] Dec 18, 2025
47c1c09
codegen metadata
stainless-app[bot] Dec 18, 2025
0c7c891
codegen metadata
stainless-app[bot] Dec 18, 2025
86f6cee
codegen metadata
stainless-app[bot] Dec 18, 2025
de95301
codegen metadata
stainless-app[bot] Dec 18, 2025
c4bc0fb
codegen metadata
stainless-app[bot] Dec 18, 2025
8c71703
codegen metadata
stainless-app[bot] Dec 18, 2025
1be3f01
codegen metadata
stainless-app[bot] Dec 18, 2025
9276eaf
codegen metadata
stainless-app[bot] Dec 18, 2025
2a6c7fa
feat(api): update via SDK Studio
stainless-app[bot] Dec 18, 2025
524c06e
fixing linter
RoxyFarhad Dec 18, 2025
5bc1e23
codegen metadata
stainless-app[bot] Dec 18, 2025
899afec
Merge branch 'next' into RF/fix-deployment-history
RoxyFarhad Dec 18, 2025
063d257
Merge pull request #34 from stainless-sdks/RF/fix-deployment-history
RoxyFarhad Dec 18, 2025
5f52523
codegen metadata
stainless-app[bot] Dec 18, 2025
a7ee2a3
codegen metadata
stainless-app[bot] Dec 18, 2025
d173099
codegen metadata
stainless-app[bot] Dec 18, 2025
3d626e9
codegen metadata
stainless-app[bot] Dec 18, 2025
0ef4242
chore(internal): add `--fix` argument to lint script
stainless-app[bot] Dec 18, 2025
edd116f
codegen metadata
stainless-app[bot] Dec 19, 2025
64f043b
codegen metadata
stainless-app[bot] Dec 19, 2025
109ad7b
codegen metadata
stainless-app[bot] Dec 19, 2025
194c0cf
codegen metadata
stainless-app[bot] Dec 19, 2025
73257f1
codegen metadata
stainless-app[bot] Dec 19, 2025
b334887
codegen metadata
stainless-app[bot] Dec 19, 2025
03750d5
codegen metadata
stainless-app[bot] Dec 19, 2025
6d5150c
codegen metadata
stainless-app[bot] Dec 19, 2025
4cfd6ac
codegen metadata
stainless-app[bot] Dec 19, 2025
6756a88
codegen metadata
stainless-app[bot] Dec 20, 2025
2fd82f1
codegen metadata
stainless-app[bot] Dec 20, 2025
12175bd
codegen metadata
stainless-app[bot] Dec 20, 2025
b9813ba
codegen metadata
stainless-app[bot] Dec 20, 2025
19fe13a
codegen metadata
stainless-app[bot] Dec 20, 2025
595175e
codegen metadata
stainless-app[bot] Dec 20, 2025
dbcf3c8
codegen metadata
stainless-app[bot] Dec 20, 2025
8828652
codegen metadata
stainless-app[bot] Dec 20, 2025
5c70fd3
codegen metadata
stainless-app[bot] Dec 20, 2025
c7c1f47
codegen metadata
Dec 20, 2025
347b2ed
codegen metadata
stainless-app[bot] Dec 20, 2025
3cdc4bd
codegen metadata
stainless-app[bot] Dec 20, 2025
1e6ac5e
codegen metadata
stainless-app[bot] Dec 20, 2025
77d810c
codegen metadata
stainless-app[bot] Dec 21, 2025
bd65293
codegen metadata
stainless-app[bot] Dec 21, 2025
f669412
codegen metadata
stainless-app[bot] Dec 21, 2025
7fc0284
codegen metadata
stainless-app[bot] Dec 21, 2025
5208884
codegen metadata
stainless-app[bot] Dec 21, 2025
4886992
codegen metadata
stainless-app[bot] Dec 21, 2025
880faf9
codegen metadata
stainless-app[bot] Dec 21, 2025
6060efd
codegen metadata
stainless-app[bot] Dec 21, 2025
b501bb3
codegen metadata
stainless-app[bot] Dec 21, 2025
22e897d
codegen metadata
stainless-app[bot] Dec 21, 2025
8482551
codegen metadata
stainless-app[bot] Dec 21, 2025
249905c
codegen metadata
stainless-app[bot] Dec 21, 2025
49aa80e
codegen metadata
stainless-app[bot] Dec 22, 2025
135532c
codegen metadata
stainless-app[bot] Dec 22, 2025
b96e9dc
codegen metadata
stainless-app[bot] Dec 22, 2025
e82d3b2
codegen metadata
stainless-app[bot] Dec 22, 2025
423026b
codegen metadata
stainless-app[bot] Dec 22, 2025
5e77ef4
codegen metadata
stainless-app[bot] Dec 22, 2025
119ecad
codegen metadata
stainless-app[bot] Dec 22, 2025
abf5766
release: 0.8.1
stainless-app[bot] Dec 22, 2025
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.8.0"
".": "0.8.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 35
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-cdb8c2bba2a7afe729633081644f04f118739f8c5119ed6947003ca1beb356c9.yml
openapi_spec_hash: 53c804f1c35a6733b69499e47b109664
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-43921054bad3c6969dc10f5899faa5924f3c029ccffb55965bbb6e7c9a0f22c6.yml
openapi_spec_hash: 17b74748a86bc159767dbb66ba46f54d
config_hash: 32eb65911c08ac84d117cecdf2759869
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## 0.8.1 (2025-12-22)

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

### Features

* **api:** add messages/paginated endpoint ([3e03aff](https://github.com/scaleapi/scale-agentex-python/commit/3e03aff8490e0556cb05052d385156eda8f28107))
* **api:** add messages/paginated to stainless config ([2473ded](https://github.com/scaleapi/scale-agentex-python/commit/2473ded39274bcd0a16d7314667fcf7f55e829c2))
* **api:** api update ([2e4ec2f](https://github.com/scaleapi/scale-agentex-python/commit/2e4ec2f28413ee58afa664b793565d6be4da5dfe))
* **api:** api update ([ed21ad8](https://github.com/scaleapi/scale-agentex-python/commit/ed21ad8c34cd11e80af9128181764489a0541740))
* **api:** api update ([86a166a](https://github.com/scaleapi/scale-agentex-python/commit/86a166aba5538411ebcc0ed74291505e01a466f2))
* **api:** api update ([4c95c94](https://github.com/scaleapi/scale-agentex-python/commit/4c95c94df570277fc49281f1343cb012e8da2334))
* **api:** api update ([f6eccdf](https://github.com/scaleapi/scale-agentex-python/commit/f6eccdf975eaef9b257ef3f20f087f2f2f9b3665))
* **api:** api update ([41067fb](https://github.com/scaleapi/scale-agentex-python/commit/41067fb79725787e0ceb20dcf16029998bcbca24))
* **api:** api update ([cdc9c63](https://github.com/scaleapi/scale-agentex-python/commit/cdc9c636be6f26e84772d1d1ef9d47cddcd9dabc))
* **api:** api update ([413d9c8](https://github.com/scaleapi/scale-agentex-python/commit/413d9c806d918d7c5da3d0249c0f11d4b9f0894e))
* **api:** api update ([1b4bf7d](https://github.com/scaleapi/scale-agentex-python/commit/1b4bf7d3a11306a50ec0eb9c20764c585d0e98e4))
* **api:** manual updates ([131e836](https://github.com/scaleapi/scale-agentex-python/commit/131e836b5bda8248f847b00308b6711a1ee84ee0))
* **api:** update via SDK Studio ([2a6c7fa](https://github.com/scaleapi/scale-agentex-python/commit/2a6c7fa919ad255f9e53e7f97f195065599a05e9))


### Bug Fixes

* ensure streams are always closed ([7bb9db8](https://github.com/scaleapi/scale-agentex-python/commit/7bb9db851a213d261e585cd2f156046f05cf85db))
* **types:** allow pyright to infer TypedDict types within SequenceNotStr ([9cfc9d6](https://github.com/scaleapi/scale-agentex-python/commit/9cfc9d66579a11f3eaf248bafbfddb422e878a58))
* use async_to_httpx_files in patch method ([8abb539](https://github.com/scaleapi/scale-agentex-python/commit/8abb539a340af3a2a42482757412c0c408817461))


### Chores

* add missing docstrings ([81f1fa9](https://github.com/scaleapi/scale-agentex-python/commit/81f1fa9b3c440d893b8ea8f773ab2592eb333d65))
* **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([e20aaa4](https://github.com/scaleapi/scale-agentex-python/commit/e20aaa495384f547dd18c8d31496f70b4a37e0dd))
* **docs:** use environment variables for authentication in code snippets ([a30f6ae](https://github.com/scaleapi/scale-agentex-python/commit/a30f6aebca8de5be72eb7bcf7a3b3ccea28479bc))
* **internal:** add `--fix` argument to lint script ([0ef4242](https://github.com/scaleapi/scale-agentex-python/commit/0ef4242888cc6ed341536e1ab1fbf6b03c723de9))
* **internal:** add missing files argument to base client ([28d1738](https://github.com/scaleapi/scale-agentex-python/commit/28d1738d3af8feb00f6f641e159221fb41c42983))
* speedup initial import ([8e50946](https://github.com/scaleapi/scale-agentex-python/commit/8e50946321c32e42a7b25cf9ae8b8e9b020a7ac9))
* update lockfile ([a3a2e4f](https://github.com/scaleapi/scale-agentex-python/commit/a3a2e4fbcf6e6e4bcbadab50c6b9236e4514dae2))

## 0.8.0 (2025-12-17)

Full Changelog: [v0.7.4...v0.8.0](https://github.com/scaleapi/scale-agentex-python/compare/v0.7.4...v0.8.0)
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.8.0"
version = "0.8.1"
description = "The official Python library for the agentex API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
9 changes: 7 additions & 2 deletions scripts/lint
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@ set -e

cd "$(dirname "$0")/.."

echo "==> Running lints"
rye run lint
if [ "$1" = "--fix" ]; then
echo "==> Running lints with --fix"
rye run fix:ruff
else
echo "==> Running lints"
rye run lint
fi

echo "==> Making sure it imports"
rye run python -c 'import agentex'
39 changes: 38 additions & 1 deletion src/agentex/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@
)

if TYPE_CHECKING:
from .resources import spans, tasks, agents, events, states, tracker, messages
from .resources import spans, tasks, agents, events, states, tracker, messages, deployment_history
from .resources.spans import SpansResource, AsyncSpansResource
from .resources.tasks import TasksResource, AsyncTasksResource
from .resources.agents import AgentsResource, AsyncAgentsResource
from .resources.events import EventsResource, AsyncEventsResource
from .resources.states import StatesResource, AsyncStatesResource
from .resources.tracker import TrackerResource, AsyncTrackerResource
from .resources.messages.messages import MessagesResource, AsyncMessagesResource
from .resources.deployment_history import DeploymentHistoryResource, AsyncDeploymentHistoryResource

__all__ = [
"ENVIRONMENTS",
Expand Down Expand Up @@ -175,6 +176,12 @@ def tracker(self) -> TrackerResource:

return TrackerResource(self)

@cached_property
def deployment_history(self) -> DeploymentHistoryResource:
from .resources.deployment_history import DeploymentHistoryResource

return DeploymentHistoryResource(self)

@cached_property
def with_raw_response(self) -> AgentexWithRawResponse:
return AgentexWithRawResponse(self)
Expand Down Expand Up @@ -409,6 +416,12 @@ def tracker(self) -> AsyncTrackerResource:

return AsyncTrackerResource(self)

@cached_property
def deployment_history(self) -> AsyncDeploymentHistoryResource:
from .resources.deployment_history import AsyncDeploymentHistoryResource

return AsyncDeploymentHistoryResource(self)

@cached_property
def with_raw_response(self) -> AsyncAgentexWithRawResponse:
return AsyncAgentexWithRawResponse(self)
Expand Down Expand Up @@ -574,6 +587,12 @@ def tracker(self) -> tracker.TrackerResourceWithRawResponse:

return TrackerResourceWithRawResponse(self._client.tracker)

@cached_property
def deployment_history(self) -> deployment_history.DeploymentHistoryResourceWithRawResponse:
from .resources.deployment_history import DeploymentHistoryResourceWithRawResponse

return DeploymentHistoryResourceWithRawResponse(self._client.deployment_history)


class AsyncAgentexWithRawResponse:
_client: AsyncAgentex
Expand Down Expand Up @@ -623,6 +642,12 @@ def tracker(self) -> tracker.AsyncTrackerResourceWithRawResponse:

return AsyncTrackerResourceWithRawResponse(self._client.tracker)

@cached_property
def deployment_history(self) -> deployment_history.AsyncDeploymentHistoryResourceWithRawResponse:
from .resources.deployment_history import AsyncDeploymentHistoryResourceWithRawResponse

return AsyncDeploymentHistoryResourceWithRawResponse(self._client.deployment_history)


class AgentexWithStreamedResponse:
_client: Agentex
Expand Down Expand Up @@ -672,6 +697,12 @@ def tracker(self) -> tracker.TrackerResourceWithStreamingResponse:

return TrackerResourceWithStreamingResponse(self._client.tracker)

@cached_property
def deployment_history(self) -> deployment_history.DeploymentHistoryResourceWithStreamingResponse:
from .resources.deployment_history import DeploymentHistoryResourceWithStreamingResponse

return DeploymentHistoryResourceWithStreamingResponse(self._client.deployment_history)


class AsyncAgentexWithStreamedResponse:
_client: AsyncAgentex
Expand Down Expand Up @@ -721,6 +752,12 @@ def tracker(self) -> tracker.AsyncTrackerResourceWithStreamingResponse:

return AsyncTrackerResourceWithStreamingResponse(self._client.tracker)

@cached_property
def deployment_history(self) -> deployment_history.AsyncDeploymentHistoryResourceWithStreamingResponse:
from .resources.deployment_history import AsyncDeploymentHistoryResourceWithStreamingResponse

return AsyncDeploymentHistoryResourceWithStreamingResponse(self._client.deployment_history)


Client = Agentex

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.8.0" # x-release-please-version
__version__ = "0.8.1" # x-release-please-version
4 changes: 2 additions & 2 deletions src/agentex/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
from .task_message_content_param import TaskMessageContentParam as TaskMessageContentParam
from .tool_request_content_param import ToolRequestContentParam as ToolRequestContentParam
from .tool_response_content_param import ToolResponseContentParam as ToolResponseContentParam
from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse
from .task_retrieve_by_name_params import TaskRetrieveByNameParams as TaskRetrieveByNameParams
from .message_list_paginated_params import MessageListPaginatedParams as MessageListPaginatedParams
from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
from .task_retrieve_by_name_response import TaskRetrieveByNameResponse as TaskRetrieveByNameResponse
from .message_list_paginated_response import MessageListPaginatedResponse as MessageListPaginatedResponse
from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse