acp-sdk 0.5.0__tar.gz → 0.6.0__tar.gz

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.
Files changed (44) hide show
  1. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/PKG-INFO +1 -1
  2. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/pyproject.toml +1 -1
  3. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/client/client.py +40 -3
  4. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/.gitignore +0 -0
  5. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/.python-version +0 -0
  6. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/README.md +0 -0
  7. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/docs/_sidebar.md +0 -0
  8. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/docs/client.md +0 -0
  9. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/docs/index.html +0 -0
  10. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/docs/models.md +0 -0
  11. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/docs/server.md +0 -0
  12. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/pytest.ini +0 -0
  13. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/__init__.py +0 -0
  14. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/client/__init__.py +0 -0
  15. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/instrumentation.py +0 -0
  16. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/models/__init__.py +0 -0
  17. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/models/errors.py +0 -0
  18. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/models/models.py +0 -0
  19. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/models/schemas.py +0 -0
  20. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/py.typed +0 -0
  21. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/__init__.py +0 -0
  22. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/agent.py +0 -0
  23. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/app.py +0 -0
  24. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/bundle.py +0 -0
  25. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/context.py +0 -0
  26. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/errors.py +0 -0
  27. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/logging.py +0 -0
  28. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/server.py +0 -0
  29. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/session.py +0 -0
  30. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/telemetry.py +0 -0
  31. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/types.py +0 -0
  32. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/server/utils.py +0 -0
  33. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/src/acp_sdk/version.py +0 -0
  34. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/conftest.py +0 -0
  35. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/__init__.py +0 -0
  36. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/config.py +0 -0
  37. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/fixtures/__init__.py +0 -0
  38. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/fixtures/client.py +0 -0
  39. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/fixtures/server.py +0 -0
  40. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/test_suites/__init__.py +0 -0
  41. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/e2e/test_suites/test_runs.py +0 -0
  42. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/unit/client/test_client.py +0 -0
  43. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/unit/models/__init__.py +0 -0
  44. {acp_sdk-0.5.0 → acp_sdk-0.6.0}/tests/unit/models/test_models.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acp-sdk
3
- Version: 0.5.0
3
+ Version: 0.6.0
4
4
  Summary: Agent Communication Protocol SDK
5
5
  Author: IBM Corp.
6
6
  Maintainer-email: Tomas Pilar <thomas7pilar@gmail.com>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "acp-sdk"
3
- version = "0.5.0"
3
+ version = "0.6.0"
4
4
  description = "Agent Communication Protocol SDK"
5
5
  license = "Apache-2.0"
6
6
  readme = "README.md"
@@ -1,3 +1,5 @@
1
+ import ssl
2
+ import typing
1
3
  import uuid
2
4
  from collections.abc import AsyncGenerator, AsyncIterator
3
5
  from contextlib import asynccontextmanager
@@ -40,14 +42,49 @@ class Client:
40
42
  def __init__(
41
43
  self,
42
44
  *,
43
- base_url: httpx.URL | str = "",
44
- timeout: httpx.Timeout | None = None,
45
45
  session_id: SessionId | None = None,
46
46
  client: httpx.AsyncClient | None = None,
47
47
  instrument: bool = True,
48
+ auth: httpx._types.AuthTypes | None = None,
49
+ params: httpx._types.QueryParamTypes | None = None,
50
+ headers: httpx._types.HeaderTypes | None = None,
51
+ cookies: httpx._types.CookieTypes | None = None,
52
+ timeout: httpx._types.TimeoutTypes = None,
53
+ verify: ssl.SSLContext | str | bool = True,
54
+ cert: httpx._types.CertTypes | None = None,
55
+ http1: bool = True,
56
+ http2: bool = False,
57
+ proxy: httpx._types.ProxyTypes | None = None,
58
+ mounts: None | (typing.Mapping[str, httpx.AsyncBaseTransport | None]) = None,
59
+ follow_redirects: bool = False,
60
+ limits: httpx.Limits = httpx._config.DEFAULT_LIMITS,
61
+ max_redirects: int = httpx._config.DEFAULT_MAX_REDIRECTS,
62
+ event_hooks: None | (typing.Mapping[str, list[httpx._client.EventHook]]) = None,
63
+ base_url: httpx.URL | str = "",
64
+ transport: httpx.AsyncBaseTransport | None = None,
65
+ trust_env: bool = True,
48
66
  ) -> None:
49
67
  self._session_id = session_id
50
- self._client = client or httpx.AsyncClient(base_url=base_url, timeout=timeout)
68
+ self._client = client or httpx.AsyncClient(
69
+ auth=auth,
70
+ params=params,
71
+ headers=headers,
72
+ cookies=cookies,
73
+ timeout=timeout,
74
+ verify=verify,
75
+ cert=cert,
76
+ http1=http1,
77
+ http2=http2,
78
+ proxy=proxy,
79
+ mounts=mounts,
80
+ follow_redirects=follow_redirects,
81
+ limits=limits,
82
+ max_redirects=max_redirects,
83
+ event_hooks=event_hooks,
84
+ base_url=base_url,
85
+ transport=transport,
86
+ trust_env=trust_env,
87
+ )
51
88
  if instrument:
52
89
  HTTPXClientInstrumentor.instrument_client(self._client)
53
90
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes