Skip to content

Commit 6256daf

Browse files
committed
Merge branch 'main' into RF/fix-test-error-handling
2 parents b80074a + f93ace8 commit 6256daf

File tree

7 files changed

+88
-8
lines changed

7 files changed

+88
-8
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.8.0"
2+
".": "0.8.1"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 35
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-cdb8c2bba2a7afe729633081644f04f118739f8c5119ed6947003ca1beb356c9.yml
3-
openapi_spec_hash: 53c804f1c35a6733b69499e47b109664
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sgp%2Fagentex-sdk-43921054bad3c6969dc10f5899faa5924f3c029ccffb55965bbb6e7c9a0f22c6.yml
3+
openapi_spec_hash: 17b74748a86bc159767dbb66ba46f54d
44
config_hash: 32eb65911c08ac84d117cecdf2759869

CHANGELOG.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# Changelog
22

3+
## 0.8.1 (2025-12-22)
4+
5+
Full Changelog: [v0.8.0...v0.8.1](https://github.com/scaleapi/scale-agentex-python/compare/v0.8.0...v0.8.1)
6+
7+
### Features
8+
9+
* **api:** add messages/paginated endpoint ([3e03aff](https://github.com/scaleapi/scale-agentex-python/commit/3e03aff8490e0556cb05052d385156eda8f28107))
10+
* **api:** add messages/paginated to stainless config ([2473ded](https://github.com/scaleapi/scale-agentex-python/commit/2473ded39274bcd0a16d7314667fcf7f55e829c2))
11+
* **api:** api update ([2e4ec2f](https://github.com/scaleapi/scale-agentex-python/commit/2e4ec2f28413ee58afa664b793565d6be4da5dfe))
12+
* **api:** api update ([ed21ad8](https://github.com/scaleapi/scale-agentex-python/commit/ed21ad8c34cd11e80af9128181764489a0541740))
13+
* **api:** api update ([86a166a](https://github.com/scaleapi/scale-agentex-python/commit/86a166aba5538411ebcc0ed74291505e01a466f2))
14+
* **api:** api update ([4c95c94](https://github.com/scaleapi/scale-agentex-python/commit/4c95c94df570277fc49281f1343cb012e8da2334))
15+
* **api:** api update ([f6eccdf](https://github.com/scaleapi/scale-agentex-python/commit/f6eccdf975eaef9b257ef3f20f087f2f2f9b3665))
16+
* **api:** api update ([41067fb](https://github.com/scaleapi/scale-agentex-python/commit/41067fb79725787e0ceb20dcf16029998bcbca24))
17+
* **api:** api update ([cdc9c63](https://github.com/scaleapi/scale-agentex-python/commit/cdc9c636be6f26e84772d1d1ef9d47cddcd9dabc))
18+
* **api:** api update ([413d9c8](https://github.com/scaleapi/scale-agentex-python/commit/413d9c806d918d7c5da3d0249c0f11d4b9f0894e))
19+
* **api:** api update ([1b4bf7d](https://github.com/scaleapi/scale-agentex-python/commit/1b4bf7d3a11306a50ec0eb9c20764c585d0e98e4))
20+
* **api:** manual updates ([131e836](https://github.com/scaleapi/scale-agentex-python/commit/131e836b5bda8248f847b00308b6711a1ee84ee0))
21+
* **api:** update via SDK Studio ([2a6c7fa](https://github.com/scaleapi/scale-agentex-python/commit/2a6c7fa919ad255f9e53e7f97f195065599a05e9))
22+
23+
24+
### Bug Fixes
25+
26+
* ensure streams are always closed ([7bb9db8](https://github.com/scaleapi/scale-agentex-python/commit/7bb9db851a213d261e585cd2f156046f05cf85db))
27+
* **types:** allow pyright to infer TypedDict types within SequenceNotStr ([9cfc9d6](https://github.com/scaleapi/scale-agentex-python/commit/9cfc9d66579a11f3eaf248bafbfddb422e878a58))
28+
* use async_to_httpx_files in patch method ([8abb539](https://github.com/scaleapi/scale-agentex-python/commit/8abb539a340af3a2a42482757412c0c408817461))
29+
30+
31+
### Chores
32+
33+
* add missing docstrings ([81f1fa9](https://github.com/scaleapi/scale-agentex-python/commit/81f1fa9b3c440d893b8ea8f773ab2592eb333d65))
34+
* **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([e20aaa4](https://github.com/scaleapi/scale-agentex-python/commit/e20aaa495384f547dd18c8d31496f70b4a37e0dd))
35+
* **docs:** use environment variables for authentication in code snippets ([a30f6ae](https://github.com/scaleapi/scale-agentex-python/commit/a30f6aebca8de5be72eb7bcf7a3b3ccea28479bc))
36+
* **internal:** add `--fix` argument to lint script ([0ef4242](https://github.com/scaleapi/scale-agentex-python/commit/0ef4242888cc6ed341536e1ab1fbf6b03c723de9))
37+
* **internal:** add missing files argument to base client ([28d1738](https://github.com/scaleapi/scale-agentex-python/commit/28d1738d3af8feb00f6f641e159221fb41c42983))
38+
* speedup initial import ([8e50946](https://github.com/scaleapi/scale-agentex-python/commit/8e50946321c32e42a7b25cf9ae8b8e9b020a7ac9))
39+
* update lockfile ([a3a2e4f](https://github.com/scaleapi/scale-agentex-python/commit/a3a2e4fbcf6e6e4bcbadab50c6b9236e4514dae2))
40+
341
## 0.8.0 (2025-12-17)
442

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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "agentex-sdk"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
description = "The official Python library for the agentex API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

scripts/lint

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ set -e
44

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

7-
echo "==> Running lints"
8-
rye run lint
7+
if [ "$1" = "--fix" ]; then
8+
echo "==> Running lints with --fix"
9+
rye run fix:ruff
10+
else
11+
echo "==> Running lints"
12+
rye run lint
13+
fi
914

1015
echo "==> Making sure it imports"
1116
rye run python -c 'import agentex'

src/agentex/_client.py

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
)
3232

3333
if TYPE_CHECKING:
34-
from .resources import spans, tasks, agents, events, states, tracker, messages
34+
from .resources import spans, tasks, agents, events, states, tracker, messages, deployment_history
3535
from .resources.spans import SpansResource, AsyncSpansResource
3636
from .resources.tasks import TasksResource, AsyncTasksResource
3737
from .resources.agents import AgentsResource, AsyncAgentsResource
3838
from .resources.events import EventsResource, AsyncEventsResource
3939
from .resources.states import StatesResource, AsyncStatesResource
4040
from .resources.tracker import TrackerResource, AsyncTrackerResource
4141
from .resources.messages.messages import MessagesResource, AsyncMessagesResource
42+
from .resources.deployment_history import DeploymentHistoryResource, AsyncDeploymentHistoryResource
4243

4344
__all__ = [
4445
"ENVIRONMENTS",
@@ -175,6 +176,12 @@ def tracker(self) -> TrackerResource:
175176

176177
return TrackerResource(self)
177178

179+
@cached_property
180+
def deployment_history(self) -> DeploymentHistoryResource:
181+
from .resources.deployment_history import DeploymentHistoryResource
182+
183+
return DeploymentHistoryResource(self)
184+
178185
@cached_property
179186
def with_raw_response(self) -> AgentexWithRawResponse:
180187
return AgentexWithRawResponse(self)
@@ -409,6 +416,12 @@ def tracker(self) -> AsyncTrackerResource:
409416

410417
return AsyncTrackerResource(self)
411418

419+
@cached_property
420+
def deployment_history(self) -> AsyncDeploymentHistoryResource:
421+
from .resources.deployment_history import AsyncDeploymentHistoryResource
422+
423+
return AsyncDeploymentHistoryResource(self)
424+
412425
@cached_property
413426
def with_raw_response(self) -> AsyncAgentexWithRawResponse:
414427
return AsyncAgentexWithRawResponse(self)
@@ -574,6 +587,12 @@ def tracker(self) -> tracker.TrackerResourceWithRawResponse:
574587

575588
return TrackerResourceWithRawResponse(self._client.tracker)
576589

590+
@cached_property
591+
def deployment_history(self) -> deployment_history.DeploymentHistoryResourceWithRawResponse:
592+
from .resources.deployment_history import DeploymentHistoryResourceWithRawResponse
593+
594+
return DeploymentHistoryResourceWithRawResponse(self._client.deployment_history)
595+
577596

578597
class AsyncAgentexWithRawResponse:
579598
_client: AsyncAgentex
@@ -623,6 +642,12 @@ def tracker(self) -> tracker.AsyncTrackerResourceWithRawResponse:
623642

624643
return AsyncTrackerResourceWithRawResponse(self._client.tracker)
625644

645+
@cached_property
646+
def deployment_history(self) -> deployment_history.AsyncDeploymentHistoryResourceWithRawResponse:
647+
from .resources.deployment_history import AsyncDeploymentHistoryResourceWithRawResponse
648+
649+
return AsyncDeploymentHistoryResourceWithRawResponse(self._client.deployment_history)
650+
626651

627652
class AgentexWithStreamedResponse:
628653
_client: Agentex
@@ -672,6 +697,12 @@ def tracker(self) -> tracker.TrackerResourceWithStreamingResponse:
672697

673698
return TrackerResourceWithStreamingResponse(self._client.tracker)
674699

700+
@cached_property
701+
def deployment_history(self) -> deployment_history.DeploymentHistoryResourceWithStreamingResponse:
702+
from .resources.deployment_history import DeploymentHistoryResourceWithStreamingResponse
703+
704+
return DeploymentHistoryResourceWithStreamingResponse(self._client.deployment_history)
705+
675706

676707
class AsyncAgentexWithStreamedResponse:
677708
_client: AsyncAgentex
@@ -721,6 +752,12 @@ def tracker(self) -> tracker.AsyncTrackerResourceWithStreamingResponse:
721752

722753
return AsyncTrackerResourceWithStreamingResponse(self._client.tracker)
723754

755+
@cached_property
756+
def deployment_history(self) -> deployment_history.AsyncDeploymentHistoryResourceWithStreamingResponse:
757+
from .resources.deployment_history import AsyncDeploymentHistoryResourceWithStreamingResponse
758+
759+
return AsyncDeploymentHistoryResourceWithStreamingResponse(self._client.deployment_history)
760+
724761

725762
Client = Agentex
726763

src/agentex/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "agentex"
4-
__version__ = "0.8.0" # x-release-please-version
4+
__version__ = "0.8.1" # x-release-please-version

0 commit comments

Comments
 (0)