agentex-sdk 0.8.0__py3-none-any.whl → 0.8.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
agentex/_client.py CHANGED
@@ -31,7 +31,7 @@ from ._base_client import (
31
31
  )
32
32
 
33
33
  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
35
35
  from .resources.spans import SpansResource, AsyncSpansResource
36
36
  from .resources.tasks import TasksResource, AsyncTasksResource
37
37
  from .resources.agents import AgentsResource, AsyncAgentsResource
@@ -39,6 +39,7 @@ if TYPE_CHECKING:
39
39
  from .resources.states import StatesResource, AsyncStatesResource
40
40
  from .resources.tracker import TrackerResource, AsyncTrackerResource
41
41
  from .resources.messages.messages import MessagesResource, AsyncMessagesResource
42
+ from .resources.deployment_history import DeploymentHistoryResource, AsyncDeploymentHistoryResource
42
43
 
43
44
  __all__ = [
44
45
  "ENVIRONMENTS",
@@ -175,6 +176,12 @@ class Agentex(SyncAPIClient):
175
176
 
176
177
  return TrackerResource(self)
177
178
 
179
+ @cached_property
180
+ def deployment_history(self) -> DeploymentHistoryResource:
181
+ from .resources.deployment_history import DeploymentHistoryResource
182
+
183
+ return DeploymentHistoryResource(self)
184
+
178
185
  @cached_property
179
186
  def with_raw_response(self) -> AgentexWithRawResponse:
180
187
  return AgentexWithRawResponse(self)
@@ -409,6 +416,12 @@ class AsyncAgentex(AsyncAPIClient):
409
416
 
410
417
  return AsyncTrackerResource(self)
411
418
 
419
+ @cached_property
420
+ def deployment_history(self) -> AsyncDeploymentHistoryResource:
421
+ from .resources.deployment_history import AsyncDeploymentHistoryResource
422
+
423
+ return AsyncDeploymentHistoryResource(self)
424
+
412
425
  @cached_property
413
426
  def with_raw_response(self) -> AsyncAgentexWithRawResponse:
414
427
  return AsyncAgentexWithRawResponse(self)
@@ -574,6 +587,12 @@ class AgentexWithRawResponse:
574
587
 
575
588
  return TrackerResourceWithRawResponse(self._client.tracker)
576
589
 
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
+
577
596
 
578
597
  class AsyncAgentexWithRawResponse:
579
598
  _client: AsyncAgentex
@@ -623,6 +642,12 @@ class AsyncAgentexWithRawResponse:
623
642
 
624
643
  return AsyncTrackerResourceWithRawResponse(self._client.tracker)
625
644
 
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
+
626
651
 
627
652
  class AgentexWithStreamedResponse:
628
653
  _client: Agentex
@@ -672,6 +697,12 @@ class AgentexWithStreamedResponse:
672
697
 
673
698
  return TrackerResourceWithStreamingResponse(self._client.tracker)
674
699
 
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
+
675
706
 
676
707
  class AsyncAgentexWithStreamedResponse:
677
708
  _client: AsyncAgentex
@@ -721,6 +752,12 @@ class AsyncAgentexWithStreamedResponse:
721
752
 
722
753
  return AsyncTrackerResourceWithStreamingResponse(self._client.tracker)
723
754
 
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
+
724
761
 
725
762
  Client = Agentex
726
763
 
agentex/_version.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "agentex"
4
- __version__ = "0.8.0" # x-release-please-version
4
+ __version__ = "0.8.1" # x-release-please-version
agentex/types/__init__.py CHANGED
@@ -62,9 +62,9 @@ from .agent_rpc_by_name_params import AgentRpcByNameParams as AgentRpcByNamePara
62
62
  from .task_message_content_param import TaskMessageContentParam as TaskMessageContentParam
63
63
  from .tool_request_content_param import ToolRequestContentParam as ToolRequestContentParam
64
64
  from .tool_response_content_param import ToolResponseContentParam as ToolResponseContentParam
65
- from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
66
- from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse
67
65
  from .task_retrieve_by_name_params import TaskRetrieveByNameParams as TaskRetrieveByNameParams
68
66
  from .message_list_paginated_params import MessageListPaginatedParams as MessageListPaginatedParams
67
+ from .deployment_history_list_params import DeploymentHistoryListParams as DeploymentHistoryListParams
69
68
  from .task_retrieve_by_name_response import TaskRetrieveByNameResponse as TaskRetrieveByNameResponse
70
69
  from .message_list_paginated_response import MessageListPaginatedResponse as MessageListPaginatedResponse
70
+ from .deployment_history_list_response import DeploymentHistoryListResponse as DeploymentHistoryListResponse
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agentex-sdk
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: The official Python library for the agentex API
5
5
  Project-URL: Homepage, https://github.com/scaleapi/scale-agentex-python
6
6
  Project-URL: Repository, https://github.com/scaleapi/scale-agentex-python
@@ -1,6 +1,6 @@
1
1
  agentex/__init__.py,sha256=TvS8DtvGAnubcoUjYIsuCpBzpsdpxBaJCS76s-l-PRo,2712
2
2
  agentex/_base_client.py,sha256=bYjTh_wPlo7zWeUO4hnrh30DrWsCAAVdohUlt-zsqUg,67248
3
- agentex/_client.py,sha256=WJM1kkmccMO8RNEuqUgxMyTcHXsIxVh3dOENIo0jXWw,26659
3
+ agentex/_client.py,sha256=39ydvoIqEPVYkM891ZMhCMKrbXR59QUxuKTtrTJGgMM,28482
4
4
  agentex/_compat.py,sha256=DQBVORjFb33zch24jzkhM14msvnzY7mmSmgDLaVFUM8,6562
5
5
  agentex/_constants.py,sha256=oGldMuFz7eZtwD8_6rJUippKhZB5fGSA7ffbCDGourA,466
6
6
  agentex/_exceptions.py,sha256=B09aFjWFRSShb9BFJd-MNDblsGDyGk3w-vItYmjg_AI,3222
@@ -11,7 +11,7 @@ agentex/_resource.py,sha256=S1t7wmR5WUvoDIhZjo_x-E7uoTJBynJ3d8tPJMQYdjw,1106
11
11
  agentex/_response.py,sha256=Tb9zazsnemO2rTxWtBjAD5WBqlhli5ZaXGbiKgdu5DE,28794
12
12
  agentex/_streaming.py,sha256=aOvLOte7kaclPGm-D0iNdM3uRcWrZ-T2B8t9BDNmpuA,10225
13
13
  agentex/_types.py,sha256=00q2kgDxUPJC16dU-YIUeOFsN5MzNW0zjzVXMlBYGV0,7296
14
- agentex/_version.py,sha256=jYEKs7ucbzh9GPs80L_jA7UO51E0BafioisYgZPYL5g,159
14
+ agentex/_version.py,sha256=SprjymQjfV2BjyuFEaxil784EZtHqtGJvTME7Wtpx2s,159
15
15
  agentex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  agentex/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
17
17
  agentex/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
@@ -278,7 +278,7 @@ agentex/resources/tracker.py,sha256=bxRuzI9ThHrZtJbZoctU9vodE1kxAqcdlwQVrcbQTb4,
278
278
  agentex/resources/messages/__init__.py,sha256=_J1eusFtr_k6zrAntJSuqx6LWEUBSTrV1OZZh7MaDPE,1015
279
279
  agentex/resources/messages/batch.py,sha256=bYDIf0ZF3-sTKnGfFmzFQUn8LMtMYoniY977J3zr8q8,9653
280
280
  agentex/resources/messages/messages.py,sha256=YFmyAHMNCoAyLMi8ckSJD0cYQ9_ccf24ohUhu9K9VC8,105228
281
- agentex/types/__init__.py,sha256=p14jAyCFSwh8rtQQhA-6Kpf28G77wYIQFCfUPUfwyx8,4725
281
+ agentex/types/__init__.py,sha256=8Hg4rMRoOY8k9Vl69Hr9bzb1U_tWNw9DNQtUarLXx18,4725
282
282
  agentex/types/acp_type.py,sha256=lEn_w4z-RIgyUVTQr8mm5l9OdFDQMDclbJU_lKa4Mi8,217
283
283
  agentex/types/agent.py,sha256=hwgmtylJYezzmGJbzbBQ7sn3oV2_bCZqgqlNq9WpZ0g,1318
284
284
  agentex/types/agent_list_params.py,sha256=s4heb3MQwMprmuol_smUDL2N0u-5WUbUCxt3J5Dqnag,515
@@ -351,8 +351,8 @@ agentex/types/messages/batch_update_params.py,sha256=Ug5CThbD49a8j4qucg04OdmVrp_
351
351
  agentex/types/messages/batch_update_response.py,sha256=TbSBe6SuPzjXXWSj-nRjT1JHGBooTshHQQDa1AixQA8,278
352
352
  agentex/types/shared/__init__.py,sha256=IKs-Qn5Yja0kFh1G1kDqYZo43qrOu1hSoxlPdN-85dI,149
353
353
  agentex/types/shared/delete_response.py,sha256=8qH3zvQXaOHYQSHyXi7UQxdR4miTzR7V9K4zXVsiUyk,215
354
- agentex_sdk-0.8.0.dist-info/METADATA,sha256=J-CzixLxEoZQeJ35VgioZHh8V0c5a7Z5ThKIVRw-yTg,15553
355
- agentex_sdk-0.8.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
356
- agentex_sdk-0.8.0.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
357
- agentex_sdk-0.8.0.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
358
- agentex_sdk-0.8.0.dist-info/RECORD,,
354
+ agentex_sdk-0.8.1.dist-info/METADATA,sha256=Hp1HQXnaGaB3pROJpb4izGi--8pv7doi7TBTzJddQYI,15553
355
+ agentex_sdk-0.8.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
356
+ agentex_sdk-0.8.1.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
357
+ agentex_sdk-0.8.1.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
358
+ agentex_sdk-0.8.1.dist-info/RECORD,,