agentex-sdk 0.2.5__py3-none-any.whl → 0.2.6__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/_base_client.py +4 -1
- agentex/_files.py +4 -4
- agentex/_version.py +1 -1
- agentex/lib/adk/_modules/acp.py +2 -2
- agentex/lib/adk/_modules/agent_task_tracker.py +2 -2
- agentex/lib/adk/_modules/agents.py +2 -2
- agentex/lib/adk/_modules/events.py +2 -2
- agentex/lib/adk/_modules/messages.py +2 -2
- agentex/lib/adk/_modules/state.py +2 -2
- agentex/lib/adk/_modules/streaming.py +2 -2
- agentex/lib/adk/_modules/tasks.py +2 -2
- agentex/lib/adk/_modules/tracing.py +2 -2
- agentex/lib/adk/providers/_modules/litellm.py +2 -1
- agentex/lib/adk/providers/_modules/openai.py +2 -1
- agentex/lib/adk/providers/_modules/sgp.py +2 -1
- agentex/lib/adk/utils/_modules/client.py +20 -35
- agentex/lib/adk/utils/_modules/templating.py +2 -1
- agentex/lib/cli/handlers/deploy_handlers.py +1 -1
- agentex/lib/core/temporal/activities/__init__.py +2 -1
- agentex/lib/core/tracing/processors/agentex_tracing_processor.py +2 -1
- agentex/lib/environment_variables.py +5 -1
- agentex/lib/sdk/fastacp/base/base_acp_server.py +5 -4
- agentex/lib/sdk/fastacp/impl/agentic_base_acp.py +3 -1
- agentex/resources/tasks.py +54 -4
- agentex/types/__init__.py +1 -0
- agentex/types/task_list_params.py +14 -0
- {agentex_sdk-0.2.5.dist-info → agentex_sdk-0.2.6.dist-info}/METADATA +1 -1
- {agentex_sdk-0.2.5.dist-info → agentex_sdk-0.2.6.dist-info}/RECORD +31 -30
- {agentex_sdk-0.2.5.dist-info → agentex_sdk-0.2.6.dist-info}/WHEEL +0 -0
- {agentex_sdk-0.2.5.dist-info → agentex_sdk-0.2.6.dist-info}/entry_points.txt +0 -0
- {agentex_sdk-0.2.5.dist-info → agentex_sdk-0.2.6.dist-info}/licenses/LICENSE +0 -0
agentex/_base_client.py
CHANGED
@@ -532,7 +532,10 @@ class BaseClient(Generic[_HttpxClientT, _DefaultStreamT]):
|
|
532
532
|
is_body_allowed = options.method.lower() != "get"
|
533
533
|
|
534
534
|
if is_body_allowed:
|
535
|
-
|
535
|
+
if isinstance(json_data, bytes):
|
536
|
+
kwargs["content"] = json_data
|
537
|
+
else:
|
538
|
+
kwargs["json"] = json_data if is_given(json_data) else None
|
536
539
|
kwargs["files"] = files
|
537
540
|
else:
|
538
541
|
headers.pop("Content-Type", None)
|
agentex/_files.py
CHANGED
@@ -69,12 +69,12 @@ def _transform_file(file: FileTypes) -> HttpxFileTypes:
|
|
69
69
|
return file
|
70
70
|
|
71
71
|
if is_tuple_t(file):
|
72
|
-
return (file[0],
|
72
|
+
return (file[0], read_file_content(file[1]), *file[2:])
|
73
73
|
|
74
74
|
raise TypeError(f"Expected file types input to be a FileContent type or to be a tuple")
|
75
75
|
|
76
76
|
|
77
|
-
def
|
77
|
+
def read_file_content(file: FileContent) -> HttpxFileContent:
|
78
78
|
if isinstance(file, os.PathLike):
|
79
79
|
return pathlib.Path(file).read_bytes()
|
80
80
|
return file
|
@@ -111,12 +111,12 @@ async def _async_transform_file(file: FileTypes) -> HttpxFileTypes:
|
|
111
111
|
return file
|
112
112
|
|
113
113
|
if is_tuple_t(file):
|
114
|
-
return (file[0], await
|
114
|
+
return (file[0], await async_read_file_content(file[1]), *file[2:])
|
115
115
|
|
116
116
|
raise TypeError(f"Expected file types input to be a FileContent type or to be a tuple")
|
117
117
|
|
118
118
|
|
119
|
-
async def
|
119
|
+
async def async_read_file_content(file: FileContent) -> HttpxFileContent:
|
120
120
|
if isinstance(file, os.PathLike):
|
121
121
|
return await anyio.Path(file).read_bytes()
|
122
122
|
|
agentex/_version.py
CHANGED
agentex/lib/adk/_modules/acp.py
CHANGED
@@ -4,7 +4,7 @@ from typing import Any
|
|
4
4
|
from temporalio.common import RetryPolicy
|
5
5
|
|
6
6
|
from agentex import AsyncAgentex
|
7
|
-
from agentex.lib.adk.utils._modules.client import
|
7
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
8
8
|
from agentex.lib.core.services.adk.acp.acp import ACPService
|
9
9
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
10
10
|
from agentex.lib.core.temporal.activities.adk.acp.acp_activities import (
|
@@ -41,7 +41,7 @@ class ACPModule:
|
|
41
41
|
acp_activities (Optional[ACPActivities]): Optional pre-configured ACP activities. If None, will be auto-initialized.
|
42
42
|
"""
|
43
43
|
if acp_service is None:
|
44
|
-
agentex_client =
|
44
|
+
agentex_client = create_async_agentex_client()
|
45
45
|
tracer = AsyncTracer(agentex_client)
|
46
46
|
self._acp_service = ACPService(agentex_client=agentex_client, tracer=tracer)
|
47
47
|
else:
|
@@ -3,7 +3,7 @@ from datetime import timedelta
|
|
3
3
|
from temporalio.common import RetryPolicy
|
4
4
|
|
5
5
|
from agentex import AsyncAgentex
|
6
|
-
from agentex.lib.adk.utils._modules.client import
|
6
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
7
7
|
from agentex.lib.core.services.adk.agent_task_tracker import AgentTaskTrackerService
|
8
8
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
9
9
|
from agentex.lib.core.temporal.activities.adk.agent_task_tracker_activities import (
|
@@ -34,7 +34,7 @@ class AgentTaskTrackerModule:
|
|
34
34
|
agent_task_tracker_service: AgentTaskTrackerService | None = None,
|
35
35
|
):
|
36
36
|
if agent_task_tracker_service is None:
|
37
|
-
agentex_client =
|
37
|
+
agentex_client = create_async_agentex_client()
|
38
38
|
tracer = AsyncTracer(agentex_client)
|
39
39
|
self._agent_task_tracker_service = AgentTaskTrackerService(
|
40
40
|
agentex_client=agentex_client, tracer=tracer
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from datetime import timedelta
|
2
2
|
from typing import Optional
|
3
3
|
|
4
|
-
from agentex.lib.adk.utils._modules.client import
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
5
5
|
from agentex.lib.core.temporal.activities.adk.agents_activities import AgentsActivityName, GetAgentParams
|
6
6
|
from temporalio.common import RetryPolicy
|
7
7
|
|
@@ -29,7 +29,7 @@ class AgentsModule:
|
|
29
29
|
agents_service: Optional[AgentsService] = None,
|
30
30
|
):
|
31
31
|
if agents_service is None:
|
32
|
-
agentex_client =
|
32
|
+
agentex_client = create_async_agentex_client()
|
33
33
|
tracer = AsyncTracer(agentex_client)
|
34
34
|
self._agents_service = AgentsService(agentex_client=agentex_client, tracer=tracer)
|
35
35
|
else:
|
@@ -3,7 +3,7 @@ from datetime import timedelta
|
|
3
3
|
from temporalio.common import RetryPolicy
|
4
4
|
|
5
5
|
from agentex import AsyncAgentex
|
6
|
-
from agentex.lib.adk.utils._modules.client import
|
6
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
7
7
|
from agentex.lib.core.services.adk.events import EventsService
|
8
8
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
9
9
|
from agentex.lib.core.temporal.activities.adk.events_activities import (
|
@@ -33,7 +33,7 @@ class EventsModule:
|
|
33
33
|
events_service: EventsService | None = None,
|
34
34
|
):
|
35
35
|
if events_service is None:
|
36
|
-
agentex_client =
|
36
|
+
agentex_client = create_async_agentex_client()
|
37
37
|
tracer = AsyncTracer(agentex_client)
|
38
38
|
self._events_service = EventsService(
|
39
39
|
agentex_client=agentex_client, tracer=tracer
|
@@ -3,7 +3,7 @@ from datetime import timedelta
|
|
3
3
|
from temporalio.common import RetryPolicy
|
4
4
|
|
5
5
|
from agentex import AsyncAgentex
|
6
|
-
from agentex.lib.adk.utils._modules.client import
|
6
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
7
7
|
from agentex.lib.core.adapters.streams.adapter_redis import RedisStreamRepository
|
8
8
|
from agentex.lib.core.services.adk.messages import MessagesService
|
9
9
|
from agentex.lib.core.services.adk.streaming import StreamingService
|
@@ -38,7 +38,7 @@ class MessagesModule:
|
|
38
38
|
messages_service: MessagesService | None = None,
|
39
39
|
):
|
40
40
|
if messages_service is None:
|
41
|
-
agentex_client =
|
41
|
+
agentex_client = create_async_agentex_client()
|
42
42
|
stream_repository = RedisStreamRepository()
|
43
43
|
streaming_service = StreamingService(
|
44
44
|
agentex_client=agentex_client,
|
@@ -5,7 +5,7 @@ from pydantic import BaseModel
|
|
5
5
|
from temporalio.common import RetryPolicy
|
6
6
|
|
7
7
|
from agentex import AsyncAgentex
|
8
|
-
from agentex.lib.adk.utils._modules.client import
|
8
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
9
9
|
from agentex.lib.core.services.adk.state import StateService
|
10
10
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
11
11
|
from agentex.lib.core.temporal.activities.adk.state_activities import (
|
@@ -37,7 +37,7 @@ class StateModule:
|
|
37
37
|
state_service: StateService | None = None,
|
38
38
|
):
|
39
39
|
if state_service is None:
|
40
|
-
agentex_client =
|
40
|
+
agentex_client = create_async_agentex_client()
|
41
41
|
tracer = AsyncTracer(agentex_client)
|
42
42
|
self._state_service = StateService(
|
43
43
|
agentex_client=agentex_client, tracer=tracer
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from temporalio.common import RetryPolicy
|
2
2
|
|
3
3
|
from agentex import AsyncAgentex
|
4
|
-
from agentex.lib.adk.utils._modules.client import
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
5
5
|
from agentex.lib.core.adapters.streams.adapter_redis import RedisStreamRepository
|
6
6
|
from agentex.lib.core.services.adk.streaming import (
|
7
7
|
StreamingService,
|
@@ -35,7 +35,7 @@ class StreamingModule:
|
|
35
35
|
"""
|
36
36
|
if streaming_service is None:
|
37
37
|
stream_repository = RedisStreamRepository()
|
38
|
-
agentex_client =
|
38
|
+
agentex_client = create_async_agentex_client()
|
39
39
|
self._streaming_service = StreamingService(
|
40
40
|
agentex_client=agentex_client,
|
41
41
|
stream_repository=stream_repository,
|
@@ -3,7 +3,7 @@ from datetime import timedelta
|
|
3
3
|
from temporalio.common import RetryPolicy
|
4
4
|
|
5
5
|
from agentex import AsyncAgentex
|
6
|
-
from agentex.lib.adk.utils._modules.client import
|
6
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
7
7
|
from agentex.lib.core.services.adk.tasks import TasksService
|
8
8
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
9
9
|
from agentex.lib.core.temporal.activities.adk.tasks_activities import (
|
@@ -32,7 +32,7 @@ class TasksModule:
|
|
32
32
|
tasks_service: TasksService | None = None,
|
33
33
|
):
|
34
34
|
if tasks_service is None:
|
35
|
-
agentex_client =
|
35
|
+
agentex_client = create_async_agentex_client()
|
36
36
|
tracer = AsyncTracer(agentex_client)
|
37
37
|
self._tasks_service = TasksService(
|
38
38
|
agentex_client=agentex_client, tracer=tracer
|
@@ -6,7 +6,7 @@ from typing import Any
|
|
6
6
|
from temporalio.common import RetryPolicy
|
7
7
|
|
8
8
|
from agentex import AsyncAgentex
|
9
|
-
from agentex.lib.adk.utils._modules.client import
|
9
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
10
10
|
from agentex.lib.core.services.adk.tracing import TracingService
|
11
11
|
from agentex.lib.core.temporal.activities.activity_helpers import ActivityHelpers
|
12
12
|
from agentex.lib.core.temporal.activities.adk.tracing_activities import (
|
@@ -39,7 +39,7 @@ class TracingModule:
|
|
39
39
|
tracing_activities (Optional[TracingActivities]): Optional pre-configured tracing activities. If None, will be auto-initialized.
|
40
40
|
"""
|
41
41
|
if tracing_service is None:
|
42
|
-
agentex_client =
|
42
|
+
agentex_client = create_async_agentex_client()
|
43
43
|
tracer = AsyncTracer(agentex_client)
|
44
44
|
self._tracing_service = TracingService(tracer=tracer)
|
45
45
|
else:
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from collections.abc import AsyncGenerator
|
2
2
|
from datetime import timedelta
|
3
3
|
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
4
5
|
from temporalio.common import RetryPolicy
|
5
6
|
|
6
7
|
from agentex import AsyncAgentex
|
@@ -39,7 +40,7 @@ class LiteLLMModule:
|
|
39
40
|
):
|
40
41
|
if litellm_service is None:
|
41
42
|
# Create default service
|
42
|
-
agentex_client =
|
43
|
+
agentex_client = create_async_agentex_client()
|
43
44
|
stream_repository = RedisStreamRepository()
|
44
45
|
streaming_service = StreamingService(
|
45
46
|
agentex_client=agentex_client,
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from datetime import timedelta
|
2
2
|
from typing import Any, Literal
|
3
3
|
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
4
5
|
from agents import Agent, RunResult, RunResultStreaming
|
5
6
|
from agents.agent import StopAtTools, ToolsToFinalOutputFunction
|
6
7
|
from agents.agent_output import AgentOutputSchemaBase
|
@@ -46,7 +47,7 @@ class OpenAIModule:
|
|
46
47
|
):
|
47
48
|
if openai_service is None:
|
48
49
|
# Create default service
|
49
|
-
agentex_client =
|
50
|
+
agentex_client = create_async_agentex_client()
|
50
51
|
stream_repository = RedisStreamRepository()
|
51
52
|
streaming_service = StreamingService(
|
52
53
|
agentex_client=agentex_client,
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from datetime import timedelta
|
2
2
|
|
3
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
3
4
|
from scale_gp import SGPClient, SGPClientError
|
4
5
|
from temporalio.common import RetryPolicy
|
5
6
|
|
@@ -33,7 +34,7 @@ class SGPModule:
|
|
33
34
|
if sgp_service is None:
|
34
35
|
try:
|
35
36
|
sgp_client = SGPClient()
|
36
|
-
agentex_client =
|
37
|
+
agentex_client = create_async_agentex_client()
|
37
38
|
tracer = AsyncTracer(agentex_client)
|
38
39
|
self._sgp_service = SGPService(sgp_client=sgp_client, tracer=tracer)
|
39
40
|
except SGPClientError:
|
@@ -1,43 +1,28 @@
|
|
1
|
-
import
|
2
|
-
from typing import Dict, Optional, Any
|
1
|
+
import httpx
|
3
2
|
|
4
3
|
from agentex import AsyncAgentex
|
5
|
-
from agentex.lib.environment_variables import EnvironmentVariables
|
4
|
+
from agentex.lib.environment_variables import EnvironmentVariables
|
5
|
+
from agentex.lib.utils.logging import make_logger
|
6
6
|
|
7
|
-
|
8
|
-
_cached_headers: Dict[str, str] = {}
|
9
|
-
_init_kwargs: Dict[str, Any] = {}
|
10
|
-
_lock = threading.RLock()
|
7
|
+
logger = make_logger(__name__)
|
11
8
|
|
12
9
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
return {"x-agent-identity": refreshed_environment_variables.AGENT_ID}
|
17
|
-
return {}
|
10
|
+
class EnvAuth(httpx.Auth):
|
11
|
+
def __init__(self, header_name="x-agent-identity"):
|
12
|
+
self.header_name = header_name
|
18
13
|
|
14
|
+
def auth_flow(self, request):
|
15
|
+
# This gets called for every request
|
16
|
+
env_vars = EnvironmentVariables.refresh()
|
17
|
+
if env_vars:
|
18
|
+
agent_id = env_vars.AGENT_ID
|
19
|
+
if agent_id:
|
20
|
+
request.headers[self.header_name] = agent_id
|
21
|
+
logger.info(f"Adding header {self.header_name}:{agent_id}")
|
22
|
+
yield request
|
19
23
|
|
20
|
-
def get_async_agentex_client(**kwargs) -> "AsyncAgentex":
|
21
|
-
"""
|
22
|
-
Return a cached AsyncAgentex instance (created synchronously).
|
23
|
-
Each call re-checks env vars and updates client.default_headers if needed.
|
24
|
-
"""
|
25
|
-
global _client, _cached_headers, _init_kwargs
|
26
24
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
if _client is None or kwargs != _init_kwargs:
|
32
|
-
_client = AsyncAgentex(default_headers=new_headers.copy(), **kwargs)
|
33
|
-
_cached_headers = new_headers
|
34
|
-
_init_kwargs = dict(kwargs)
|
35
|
-
return _client
|
36
|
-
|
37
|
-
# Same client; maybe headers changed
|
38
|
-
if new_headers != _cached_headers:
|
39
|
-
_cached_headers = new_headers
|
40
|
-
_client.default_headers.clear()
|
41
|
-
_client.default_headers.update(new_headers)
|
42
|
-
|
43
|
-
return _client
|
25
|
+
def create_async_agentex_client(**kwargs) -> AsyncAgentex:
|
26
|
+
client = AsyncAgentex(**kwargs)
|
27
|
+
client._client.auth = EnvAuth()
|
28
|
+
return client
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from datetime import timedelta
|
2
2
|
from typing import Any
|
3
3
|
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
4
5
|
from temporalio.common import RetryPolicy
|
5
6
|
|
6
7
|
from agentex import AsyncAgentex
|
@@ -39,7 +40,7 @@ class TemplatingModule:
|
|
39
40
|
templating_service (Optional[TemplatingService]): Optional pre-configured templating service. If None, will be auto-initialized.
|
40
41
|
"""
|
41
42
|
if templating_service is None:
|
42
|
-
agentex_client =
|
43
|
+
agentex_client = create_async_agentex_client()
|
43
44
|
tracer = AsyncTracer(agentex_client)
|
44
45
|
self._templating_service = TemplatingService(tracer=tracer)
|
45
46
|
else:
|
@@ -1,3 +1,4 @@
|
|
1
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
1
2
|
from scale_gp import SGPClient, SGPClientError
|
2
3
|
|
3
4
|
from agentex import AsyncAgentex
|
@@ -58,7 +59,7 @@ def get_all_activities(sgp_client=None):
|
|
58
59
|
|
59
60
|
llm_gateway = LiteLLMGateway()
|
60
61
|
stream_repository = RedisStreamRepository()
|
61
|
-
agentex_client =
|
62
|
+
agentex_client = create_async_agentex_client()
|
62
63
|
tracer = AsyncTracer(agentex_client)
|
63
64
|
|
64
65
|
# Services
|
@@ -1,6 +1,7 @@
|
|
1
1
|
from typing import Any, Dict, override
|
2
2
|
|
3
3
|
from agentex import Agentex, AsyncAgentex
|
4
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
4
5
|
from agentex.lib.core.tracing.processors.tracing_processor_interface import (
|
5
6
|
AsyncTracingProcessor,
|
6
7
|
SyncTracingProcessor,
|
@@ -65,7 +66,7 @@ class AgentexSyncTracingProcessor(SyncTracingProcessor):
|
|
65
66
|
|
66
67
|
class AgentexAsyncTracingProcessor(AsyncTracingProcessor):
|
67
68
|
def __init__(self, config: AgentexTracingProcessorConfig):
|
68
|
-
self.client =
|
69
|
+
self.client = create_async_agentex_client()
|
69
70
|
|
70
71
|
@override
|
71
72
|
async def on_span_start(self, span: Span) -> None:
|
@@ -4,12 +4,15 @@ import os
|
|
4
4
|
from enum import Enum
|
5
5
|
from pathlib import Path
|
6
6
|
|
7
|
+
from agentex.lib.utils.logging import make_logger
|
7
8
|
from dotenv import load_dotenv
|
8
9
|
|
9
10
|
from agentex.lib.utils.model_utils import BaseModel
|
10
11
|
|
11
12
|
PROJECT_ROOT = Path(__file__).resolve().parents[2]
|
12
13
|
|
14
|
+
logger = make_logger(__name__)
|
15
|
+
|
13
16
|
|
14
17
|
class EnvVarKeys(str, Enum):
|
15
18
|
ENVIRONMENT = "ENVIRONMENT"
|
@@ -37,7 +40,7 @@ class Environment(str, Enum):
|
|
37
40
|
PROD = "production"
|
38
41
|
|
39
42
|
|
40
|
-
refreshed_environment_variables = None
|
43
|
+
refreshed_environment_variables: "EnvironmentVariables" | None = None
|
41
44
|
|
42
45
|
|
43
46
|
class EnvironmentVariables(BaseModel):
|
@@ -64,6 +67,7 @@ class EnvironmentVariables(BaseModel):
|
|
64
67
|
if refreshed_environment_variables is not None:
|
65
68
|
return refreshed_environment_variables
|
66
69
|
|
70
|
+
logger.info("Refreshing environment variables")
|
67
71
|
if os.environ.get(EnvVarKeys.ENVIRONMENT) == Environment.DEV:
|
68
72
|
# Load global .env file first
|
69
73
|
global_env_path = PROJECT_ROOT / ".env"
|
@@ -9,7 +9,7 @@ from typing import Any
|
|
9
9
|
|
10
10
|
import httpx
|
11
11
|
import uvicorn
|
12
|
-
from agentex.lib.adk.utils._modules.client import
|
12
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
13
13
|
from fastapi import FastAPI, Request
|
14
14
|
from fastapi.responses import StreamingResponse
|
15
15
|
from pydantic import TypeAdapter, ValidationError
|
@@ -397,9 +397,10 @@ class BaseACPServer(FastAPI):
|
|
397
397
|
|
398
398
|
os.environ["AGENT_ID"] = agent_id
|
399
399
|
os.environ["AGENT_NAME"] = agent_name
|
400
|
-
|
401
|
-
|
402
|
-
|
400
|
+
env_vars.AGENT_ID = agent_id
|
401
|
+
env_vars.AGENT_NAME = agent_name
|
402
|
+
global refreshed_environment_variables
|
403
|
+
refreshed_environment_variables = env_vars
|
403
404
|
logger.info(
|
404
405
|
f"Successfully registered agent '{env_vars.AGENT_NAME}' with Agentex server with acp_url: {full_acp_url}. Registration data: {registration_data}"
|
405
406
|
)
|
@@ -1,4 +1,6 @@
|
|
1
1
|
from typing import Any
|
2
|
+
|
3
|
+
from agentex.lib.adk.utils._modules.client import create_async_agentex_client
|
2
4
|
from typing_extensions import override
|
3
5
|
from agentex import AsyncAgentex
|
4
6
|
from agentex.lib.sdk.fastacp.base.base_acp_server import BaseACPServer
|
@@ -24,7 +26,7 @@ class AgenticBaseACP(BaseACPServer):
|
|
24
26
|
def __init__(self):
|
25
27
|
super().__init__()
|
26
28
|
self._setup_handlers()
|
27
|
-
self._agentex_client =
|
29
|
+
self._agentex_client = create_async_agentex_client()
|
28
30
|
|
29
31
|
@classmethod
|
30
32
|
@override
|
agentex/resources/tasks.py
CHANGED
@@ -2,9 +2,13 @@
|
|
2
2
|
|
3
3
|
from __future__ import annotations
|
4
4
|
|
5
|
+
from typing import Optional
|
6
|
+
|
5
7
|
import httpx
|
6
8
|
|
9
|
+
from ..types import task_list_params
|
7
10
|
from .._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
11
|
+
from .._utils import maybe_transform, async_maybe_transform
|
8
12
|
from .._compat import cached_property
|
9
13
|
from .._resource import SyncAPIResource, AsyncAPIResource
|
10
14
|
from .._response import (
|
@@ -78,6 +82,8 @@ class TasksResource(SyncAPIResource):
|
|
78
82
|
def list(
|
79
83
|
self,
|
80
84
|
*,
|
85
|
+
agent_id: Optional[str] | NotGiven = NOT_GIVEN,
|
86
|
+
agent_name: Optional[str] | NotGiven = NOT_GIVEN,
|
81
87
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
82
88
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
83
89
|
extra_headers: Headers | None = None,
|
@@ -85,11 +91,32 @@ class TasksResource(SyncAPIResource):
|
|
85
91
|
extra_body: Body | None = None,
|
86
92
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
87
93
|
) -> TaskListResponse:
|
88
|
-
"""
|
94
|
+
"""
|
95
|
+
List all tasks.
|
96
|
+
|
97
|
+
Args:
|
98
|
+
extra_headers: Send extra headers
|
99
|
+
|
100
|
+
extra_query: Add additional query parameters to the request
|
101
|
+
|
102
|
+
extra_body: Add additional JSON properties to the request
|
103
|
+
|
104
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
105
|
+
"""
|
89
106
|
return self._get(
|
90
107
|
"/tasks",
|
91
108
|
options=make_request_options(
|
92
|
-
extra_headers=extra_headers,
|
109
|
+
extra_headers=extra_headers,
|
110
|
+
extra_query=extra_query,
|
111
|
+
extra_body=extra_body,
|
112
|
+
timeout=timeout,
|
113
|
+
query=maybe_transform(
|
114
|
+
{
|
115
|
+
"agent_id": agent_id,
|
116
|
+
"agent_name": agent_name,
|
117
|
+
},
|
118
|
+
task_list_params.TaskListParams,
|
119
|
+
),
|
93
120
|
),
|
94
121
|
cast_to=TaskListResponse,
|
95
122
|
)
|
@@ -320,6 +347,8 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
320
347
|
async def list(
|
321
348
|
self,
|
322
349
|
*,
|
350
|
+
agent_id: Optional[str] | NotGiven = NOT_GIVEN,
|
351
|
+
agent_name: Optional[str] | NotGiven = NOT_GIVEN,
|
323
352
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
324
353
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
325
354
|
extra_headers: Headers | None = None,
|
@@ -327,11 +356,32 @@ class AsyncTasksResource(AsyncAPIResource):
|
|
327
356
|
extra_body: Body | None = None,
|
328
357
|
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
|
329
358
|
) -> TaskListResponse:
|
330
|
-
"""
|
359
|
+
"""
|
360
|
+
List all tasks.
|
361
|
+
|
362
|
+
Args:
|
363
|
+
extra_headers: Send extra headers
|
364
|
+
|
365
|
+
extra_query: Add additional query parameters to the request
|
366
|
+
|
367
|
+
extra_body: Add additional JSON properties to the request
|
368
|
+
|
369
|
+
timeout: Override the client-level default timeout for this request, in seconds
|
370
|
+
"""
|
331
371
|
return await self._get(
|
332
372
|
"/tasks",
|
333
373
|
options=make_request_options(
|
334
|
-
extra_headers=extra_headers,
|
374
|
+
extra_headers=extra_headers,
|
375
|
+
extra_query=extra_query,
|
376
|
+
extra_body=extra_body,
|
377
|
+
timeout=timeout,
|
378
|
+
query=await async_maybe_transform(
|
379
|
+
{
|
380
|
+
"agent_id": agent_id,
|
381
|
+
"agent_name": agent_name,
|
382
|
+
},
|
383
|
+
task_list_params.TaskListParams,
|
384
|
+
),
|
335
385
|
),
|
336
386
|
cast_to=TaskListResponse,
|
337
387
|
)
|
agentex/types/__init__.py
CHANGED
@@ -19,6 +19,7 @@ from .message_author import MessageAuthor as MessageAuthor
|
|
19
19
|
from .agent_rpc_params import AgentRpcParams as AgentRpcParams
|
20
20
|
from .agent_rpc_result import AgentRpcResult as AgentRpcResult
|
21
21
|
from .span_list_params import SpanListParams as SpanListParams
|
22
|
+
from .task_list_params import TaskListParams as TaskListParams
|
22
23
|
from .agent_list_params import AgentListParams as AgentListParams
|
23
24
|
from .event_list_params import EventListParams as EventListParams
|
24
25
|
from .state_list_params import StateListParams as StateListParams
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
2
|
+
|
3
|
+
from __future__ import annotations
|
4
|
+
|
5
|
+
from typing import Optional
|
6
|
+
from typing_extensions import TypedDict
|
7
|
+
|
8
|
+
__all__ = ["TaskListParams"]
|
9
|
+
|
10
|
+
|
11
|
+
class TaskListParams(TypedDict, total=False):
|
12
|
+
agent_id: Optional[str]
|
13
|
+
|
14
|
+
agent_name: Optional[str]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: agentex-sdk
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.6
|
4
4
|
Summary: The official Python library for the agentex API
|
5
5
|
Project-URL: Homepage, https://github.com/scaleapi/agentex-python
|
6
6
|
Project-URL: Repository, https://github.com/scaleapi/agentex-python
|
@@ -1,17 +1,17 @@
|
|
1
1
|
agentex/__init__.py,sha256=j0BX5IfIjYaWdXQC7P4bh1Ev2-0bJe4Uh7IbqG551ng,2667
|
2
|
-
agentex/_base_client.py,sha256=
|
2
|
+
agentex/_base_client.py,sha256=q63ijJoTHK1JW9gdjw-EH7seYy5rOJ3UlHSkZvGNt0M,67036
|
3
3
|
agentex/_client.py,sha256=Fae6qw42eIjFaENpQ5nrq5SyW1310UoHZGNrG-DSa_g,20493
|
4
4
|
agentex/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
5
5
|
agentex/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
6
|
agentex/_exceptions.py,sha256=B09aFjWFRSShb9BFJd-MNDblsGDyGk3w-vItYmjg_AI,3222
|
7
|
-
agentex/_files.py,sha256=
|
7
|
+
agentex/_files.py,sha256=KnEzGi_O756MvKyJ4fOCW_u3JhOeWPQ4RsmDvqihDQU,3545
|
8
8
|
agentex/_models.py,sha256=KvjsMfb88XZlFUKVoOxr8OyDj47MhoH2OKqWNEbBhk4,30010
|
9
9
|
agentex/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
10
10
|
agentex/_resource.py,sha256=S1t7wmR5WUvoDIhZjo_x-E7uoTJBynJ3d8tPJMQYdjw,1106
|
11
11
|
agentex/_response.py,sha256=Tb9zazsnemO2rTxWtBjAD5WBqlhli5ZaXGbiKgdu5DE,28794
|
12
12
|
agentex/_streaming.py,sha256=FNGJExRCF-vTRUZHFKUfoAWFhDGOB3XbioVCF37Jr7E,10104
|
13
13
|
agentex/_types.py,sha256=KyKYySGIfHPod2hho1fPxssk5NuVn8C4MeMTtA-lg80,6198
|
14
|
-
agentex/_version.py,sha256=
|
14
|
+
agentex/_version.py,sha256=aolBlxCYy9VLUtx44zgLOoBoWwq2ENVlfc7ry58WRF8,159
|
15
15
|
agentex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
agentex/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
17
17
|
agentex/_utils/_logs.py,sha256=LUjFPc3fweSChBUmjhQD8uYmwQAmFMNDuVFKfjYBQfM,777
|
@@ -25,28 +25,28 @@ agentex/_utils/_typing.py,sha256=D0DbbNu8GnYQTSICnTSHDGsYXj8TcAKyhejb0XcnjtY,460
|
|
25
25
|
agentex/_utils/_utils.py,sha256=ts4CiiuNpFiGB6YMdkQRh2SZvYvsl7mAF-JWHCcLDf4,12312
|
26
26
|
agentex/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
27
27
|
agentex/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
28
|
-
agentex/lib/environment_variables.py,sha256=
|
28
|
+
agentex/lib/environment_variables.py,sha256=80YcUTKR5edoX2yNgajpLdS9dIe_RpHp68jlcbNR5ow,3175
|
29
29
|
agentex/lib/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
30
|
agentex/lib/adk/__init__.py,sha256=-PpVfEvYr_HD7TnxUWU8RCW2OnxfwpPxTW97dKTnqvI,1082
|
31
31
|
agentex/lib/adk/_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
|
-
agentex/lib/adk/_modules/acp.py,sha256=
|
33
|
-
agentex/lib/adk/_modules/agent_task_tracker.py,sha256=
|
34
|
-
agentex/lib/adk/_modules/agents.py,sha256=
|
35
|
-
agentex/lib/adk/_modules/events.py,sha256=
|
36
|
-
agentex/lib/adk/_modules/messages.py,sha256=
|
37
|
-
agentex/lib/adk/_modules/state.py,sha256=
|
38
|
-
agentex/lib/adk/_modules/streaming.py,sha256=
|
39
|
-
agentex/lib/adk/_modules/tasks.py,sha256=
|
40
|
-
agentex/lib/adk/_modules/tracing.py,sha256
|
32
|
+
agentex/lib/adk/_modules/acp.py,sha256=0D9HLwBO3SX4eEsx1BY9G90jyvTABmaxdOzANg1rmzQ,9027
|
33
|
+
agentex/lib/adk/_modules/agent_task_tracker.py,sha256=fXMDs1zgAC6n8EmWTU5_trs79EGVBCEPxd5eBOZmdE0,7022
|
34
|
+
agentex/lib/adk/_modules/agents.py,sha256=VlT_PXnyb3Knh-nx1rfflD9N6gjp5O0_6Z_QL5SCThU,2788
|
35
|
+
agentex/lib/adk/_modules/events.py,sha256=RHQZ4ircC60zdm1chRzo3cdt7LNqDoJfPLNJXEz4BH0,5262
|
36
|
+
agentex/lib/adk/_modules/messages.py,sha256=1LxexTBif7HXltN3b1u6A5upXuXuq6ZkFAdIrbSv2zo,10636
|
37
|
+
agentex/lib/adk/_modules/state.py,sha256=z2Zh1JB3qJo-4BsVABnFZIeDWWKQDbcOw6itl0hU_E4,10730
|
38
|
+
agentex/lib/adk/_modules/streaming.py,sha256=lbRQBmySsx63wKiHeR5ueNW_6DJckCNStQ0wQynC4r4,3095
|
39
|
+
agentex/lib/adk/_modules/tasks.py,sha256=q3IBdnwVXrv9Ht7z4jkm8RWOpzU9n3VKgrX3FTNXSZ8,4220
|
40
|
+
agentex/lib/adk/_modules/tracing.py,sha256=A_kH332f_DFVfMftPHGEg3oi4RFcwDXohg7xtvWUuTY,7344
|
41
41
|
agentex/lib/adk/providers/__init__.py,sha256=KPWC8AYsl8lPgpFoRXlGwzozb-peKLAzV_DcTWXBsz4,306
|
42
42
|
agentex/lib/adk/providers/_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
43
|
-
agentex/lib/adk/providers/_modules/litellm.py,sha256=
|
44
|
-
agentex/lib/adk/providers/_modules/openai.py,sha256=
|
45
|
-
agentex/lib/adk/providers/_modules/sgp.py,sha256=
|
43
|
+
agentex/lib/adk/providers/_modules/litellm.py,sha256=11LxGsverxarRgxoP7Ni17GOCZwSlQlxHBz7ksToEkc,9486
|
44
|
+
agentex/lib/adk/providers/_modules/openai.py,sha256=QyjujK4JHiATB4xI9CiR67agcRhAPkNkcp4VqFsrqfk,17786
|
45
|
+
agentex/lib/adk/providers/_modules/sgp.py,sha256=QszUPyeGBODfI5maYvlzErD87PsMsX6vrfC7n65WNjE,3224
|
46
46
|
agentex/lib/adk/utils/__init__.py,sha256=7f6ayV0_fqyw5cwzVANNcZWGJZ-vrrYtZ0qi7KKBRFs,130
|
47
47
|
agentex/lib/adk/utils/_modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
|
-
agentex/lib/adk/utils/_modules/client.py,sha256=
|
49
|
-
agentex/lib/adk/utils/_modules/templating.py,sha256=
|
48
|
+
agentex/lib/adk/utils/_modules/client.py,sha256=1OltPs65W6B_g8SDAOrbLxmiDqxYodmbq5PtUdBmj-U,847
|
49
|
+
agentex/lib/adk/utils/_modules/templating.py,sha256=wgjkE4uC1gsArK-exyxOOZwp5Yu7ePqviZuyTDlP9m0,3595
|
50
50
|
agentex/lib/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
51
51
|
agentex/lib/cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
52
52
|
agentex/lib/cli/commands/agents.py,sha256=PJVkopMLQEg4lOQf-Dvjb_b0TL6qaWTH2dN6_cxRneo,11417
|
@@ -58,7 +58,7 @@ agentex/lib/cli/commands/uv.py,sha256=n6nk2F2gPUXrvWOljSN06Y5bOEnhaZH4rulproAJkt
|
|
58
58
|
agentex/lib/cli/handlers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
59
59
|
agentex/lib/cli/handlers/agent_handlers.py,sha256=ovhnQOa-lAi5g2J3BVutA0vbprsOFe0lt2qw-qIZah4,5470
|
60
60
|
agentex/lib/cli/handlers/cleanup_handlers.py,sha256=V1V0zeErOUGTgCQqjyUl6CWtzGjFW878uzFaLOQJEyQ,7073
|
61
|
-
agentex/lib/cli/handlers/deploy_handlers.py,sha256=
|
61
|
+
agentex/lib/cli/handlers/deploy_handlers.py,sha256=ULiW5hZr1PJ4wOJ1UnOkUpQiZaSDDk5w3BZxdDPMhos,14896
|
62
62
|
agentex/lib/cli/handlers/run_handlers.py,sha256=2DkaGN27nHcL5pZeoOVdlhttnft_jtVdmv_POgnRASE,13923
|
63
63
|
agentex/lib/cli/handlers/secret_handlers.py,sha256=VfAdAQovW9tG36Xgk_gGIGwTyFMxR3P6xc7fmAviNA8,24719
|
64
64
|
agentex/lib/cli/templates/default/.dockerignore.j2,sha256=hweGFxw5eDZYsb5EnRHpv27o9M1HF2PEWOxqsfBBcAE,320
|
@@ -135,7 +135,7 @@ agentex/lib/core/services/adk/providers/sgp.py,sha256=9gm-sPNQ_OSTaBzL0onerKhokP
|
|
135
135
|
agentex/lib/core/services/adk/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
136
136
|
agentex/lib/core/services/adk/utils/templating.py,sha256=eaXSFq31Y9p5pRD6J6SL4QdTFtxy81dilbF2XXc2JYQ,1889
|
137
137
|
agentex/lib/core/temporal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
138
|
-
agentex/lib/core/temporal/activities/__init__.py,sha256
|
138
|
+
agentex/lib/core/temporal/activities/__init__.py,sha256=-XmQcWIMdk7xdpOKdg4rtuIlE0K2UABcIHlzUi8e_os,7634
|
139
139
|
agentex/lib/core/temporal/activities/activity_helpers.py,sha256=QCiEFwNSMtpJuZKiAV_UolTtlf84NZk_lG3EEQmQT0s,1208
|
140
140
|
agentex/lib/core/temporal/activities/adk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
141
141
|
agentex/lib/core/temporal/activities/adk/agent_task_tracker_activities.py,sha256=cqND3YrRybE9Li4fw-oLfTyKzcI9M0lGBhoCq37vThc,2668
|
@@ -165,7 +165,7 @@ agentex/lib/core/tracing/__init__.py,sha256=3dLjXGTwAJxi_xxwdh8Mt04pdLyzN9VxAl8X
|
|
165
165
|
agentex/lib/core/tracing/trace.py,sha256=45Nn0Z97kC_9XNyb9N8IWUFo0OIdb7dDZShhgOTGJB0,8952
|
166
166
|
agentex/lib/core/tracing/tracer.py,sha256=nznv2deDCKmhiFv5kCfExvePtVuEKpb3LfDWTQrFl_g,1846
|
167
167
|
agentex/lib/core/tracing/tracing_processor_manager.py,sha256=KrJb7UfKBWnm9o4pMYFfgS4HtLnG7D_5zZhqS3ZDuRA,2588
|
168
|
-
agentex/lib/core/tracing/processors/agentex_tracing_processor.py,sha256=
|
168
|
+
agentex/lib/core/tracing/processors/agentex_tracing_processor.py,sha256=zauHCJf1WCirgMHzEEP7wMthpWlaZCOFnYPlbLzUpMk,3643
|
169
169
|
agentex/lib/core/tracing/processors/sgp_tracing_processor.py,sha256=HDt6Z5zbm1YRtXAooHHVpTTrdDGWD6Mo73hfI1Q8IBo,3788
|
170
170
|
agentex/lib/core/tracing/processors/tracing_processor_interface.py,sha256=wxnBA_hnOUFsABVUnVz2aWI3rv5bZpXYR4H62g5TyVw,861
|
171
171
|
agentex/lib/sdk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -178,8 +178,8 @@ agentex/lib/sdk/config/local_development_config.py,sha256=b1AZsOVo1RoHKbk8Nm5nC8
|
|
178
178
|
agentex/lib/sdk/config/project_config.py,sha256=CGH_r9KbnSFMj2CnBkZnfg41L2o0TeVNz6MwBDKPT_U,3642
|
179
179
|
agentex/lib/sdk/fastacp/__init__.py,sha256=UvAdexdnfb4z0F4a2sfXROFyh9EjH89kf3AxHPybzCM,75
|
180
180
|
agentex/lib/sdk/fastacp/fastacp.py,sha256=K4D7a9EiJfCgWp2hrE_TbpZBaF4Uc46MfndZK3F9mA0,3061
|
181
|
-
agentex/lib/sdk/fastacp/base/base_acp_server.py,sha256=
|
182
|
-
agentex/lib/sdk/fastacp/impl/agentic_base_acp.py,sha256=
|
181
|
+
agentex/lib/sdk/fastacp/base/base_acp_server.py,sha256=sD2p6xC0vXiD6LTj-bYz4-dvh_HxH8_q-51f-hIV0jI,17670
|
182
|
+
agentex/lib/sdk/fastacp/impl/agentic_base_acp.py,sha256=LWLAlHrs-2Lc2UICBAEFL8c3JwTA6oxPnzUzW0qQWSA,2694
|
183
183
|
agentex/lib/sdk/fastacp/impl/sync_acp.py,sha256=8FEDfBxI31NoVLX9nyckQ8QwA0UV4svC3fhGKgXBIwk,3862
|
184
184
|
agentex/lib/sdk/fastacp/impl/temporal_acp.py,sha256=ZLqjzBBVrXJCXD2bFlrcDkFvpsXZp3thC2rTwZ6xNaY,3737
|
185
185
|
agentex/lib/sdk/fastacp/tests/README.md,sha256=HejScemERLCs-wCgU3l1Xo4tcQ4gQy15GgoF-CkNh-0,8270
|
@@ -227,12 +227,12 @@ agentex/resources/agents.py,sha256=Iwt2jnBUgSynMdfxYjW7KV9o0nZjT7cgiSqS_Zd4jmU,4
|
|
227
227
|
agentex/resources/events.py,sha256=Zc9JhUm3bq2VFnBAolC0M7KZernzj1AjZ_vj0ibP4GY,10412
|
228
228
|
agentex/resources/spans.py,sha256=wmcUs4XbXIF5rPeyU_f39c2RTbTLnkuh2LYogZEBD6s,20936
|
229
229
|
agentex/resources/states.py,sha256=O31A8--n7n0rHsng2e1oCUAzLNjQIxDUk7rq0IXfgGM,19262
|
230
|
-
agentex/resources/tasks.py,sha256=
|
230
|
+
agentex/resources/tasks.py,sha256=R-pfvSt6W9n0QxPyxrgY6nTSG20YtkH_NXgXPNbnRuo,24780
|
231
231
|
agentex/resources/tracker.py,sha256=YxSeiloMwIqrS9nY7SlHclauRA7142qrKw34xgwqYbA,14103
|
232
232
|
agentex/resources/messages/__init__.py,sha256=_J1eusFtr_k6zrAntJSuqx6LWEUBSTrV1OZZh7MaDPE,1015
|
233
233
|
agentex/resources/messages/batch.py,sha256=pegCmnjK_J0jek5ChX1pKpq5RmCucTYLbK69H6qGVS4,9629
|
234
234
|
agentex/resources/messages/messages.py,sha256=fuFmmGNOjRJVzmYHcfP2trg0yii0n9MPPCpt7F8fDs4,17930
|
235
|
-
agentex/types/__init__.py,sha256=
|
235
|
+
agentex/types/__init__.py,sha256=v-2hxFsIvOZ_2mZy-5RqILX0VJWG4sN9MRvXAbThqYI,3514
|
236
236
|
agentex/types/acp_type.py,sha256=Fj-4SzmM6m95ck_ZXtNbcWggHiD9F49bxBLPbl1fxe4,208
|
237
237
|
agentex/types/agent.py,sha256=WZRc8VZtc-JIeNHw5FsVTSMrxlaJ5A0ABvHv3t_zA4s,792
|
238
238
|
agentex/types/agent_list_params.py,sha256=81IWnRZ2rLfHH7GB6VkXShYjb44DO0guG1znJcV3tuI,316
|
@@ -265,6 +265,7 @@ agentex/types/state_list_params.py,sha256=jsBeE98mVvS-pk9iytNTVVSW6pz7OM4Zt-OxC2
|
|
265
265
|
agentex/types/state_list_response.py,sha256=3UyMRzP3zdEKo9hTkJdvBHjmv6II4KnwoZ8GvlzPCSI,254
|
266
266
|
agentex/types/state_update_params.py,sha256=TpCXMrYaT2MWeOPng9-RGvGX9vE61Te9r3CFRQzzIDg,377
|
267
267
|
agentex/types/task.py,sha256=Pgj5HSrThPJgFRKWXPgW3LRT9Jwgn9eR_CCnlbNznzU,543
|
268
|
+
agentex/types/task_list_params.py,sha256=euvsWpK2kjJOfvrkUnSFiofZlU2sZHd2mar3qYtAA8I,328
|
268
269
|
agentex/types/task_list_response.py,sha256=8Q-RIanLmUC9vOuDXoW5gjpZeE-HR6IrBugG7-cUAZQ,249
|
269
270
|
agentex/types/task_message.py,sha256=hoLAkiQJd1Fl7EjLof-vZq6zVnDw9SKmnV6V74Po58A,918
|
270
271
|
agentex/types/task_message_content.py,sha256=57ebp-65y52KOZ7usVJShArIdXqBhFo5eOn8uy4HM_c,575
|
@@ -290,8 +291,8 @@ agentex/types/messages/batch_update_params.py,sha256=Ug5CThbD49a8j4qucg04OdmVrp_
|
|
290
291
|
agentex/types/messages/batch_update_response.py,sha256=TbSBe6SuPzjXXWSj-nRjT1JHGBooTshHQQDa1AixQA8,278
|
291
292
|
agentex/types/shared/__init__.py,sha256=IKs-Qn5Yja0kFh1G1kDqYZo43qrOu1hSoxlPdN-85dI,149
|
292
293
|
agentex/types/shared/delete_response.py,sha256=8qH3zvQXaOHYQSHyXi7UQxdR4miTzR7V9K4zXVsiUyk,215
|
293
|
-
agentex_sdk-0.2.
|
294
|
-
agentex_sdk-0.2.
|
295
|
-
agentex_sdk-0.2.
|
296
|
-
agentex_sdk-0.2.
|
297
|
-
agentex_sdk-0.2.
|
294
|
+
agentex_sdk-0.2.6.dist-info/METADATA,sha256=qKBqHbctWyM-HfcIoAqlq01C9hGTktyz5k5XLMFkV7Y,14118
|
295
|
+
agentex_sdk-0.2.6.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
296
|
+
agentex_sdk-0.2.6.dist-info/entry_points.txt,sha256=V7vJuMZdF0UlvgX6KiBN7XUvq_cxF5kplcYvc1QlFaQ,62
|
297
|
+
agentex_sdk-0.2.6.dist-info/licenses/LICENSE,sha256=Q1AOx2FtRcMlyMgQJ9eVN2WKPq2mQ33lnB4tvWxabLA,11337
|
298
|
+
agentex_sdk-0.2.6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|