acp-sdk 0.11.0__tar.gz → 0.12.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.
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/PKG-INFO +1 -1
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/pyproject.toml +1 -1
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/models/models.py +7 -1
- acp_sdk-0.12.0/src/acp_sdk/models/platform.py +22 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/.gitignore +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/.python-version +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/README.md +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/docs/.gitignore +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/docs/Makefile +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/docs/conf.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/docs/index.rst +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/docs/make.bat +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/pytest.ini +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/client/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/client/client.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/client/types.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/client/utils.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/instrumentation.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/models/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/models/errors.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/models/schemas.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/models/types.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/py.typed +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/agent.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/app.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/context.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/errors.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/executor.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/logging.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/server.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/memory_store.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/postgresql_store.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/redis_store.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/store.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/store/utils.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/telemetry.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/types.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/server/utils.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/shared/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/shared/resources.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/src/acp_sdk/version.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/conftest.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/config.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/fixtures/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/fixtures/client.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/fixtures/server.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/test_suites/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/test_suites/test_discovery.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/test_suites/test_runs.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/e2e/test_suites/test_sessions.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/client/test_client.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/client/test_utils.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/models/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/models/test_models.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/server/__init__.py +0 -0
- {acp_sdk-0.11.0 → acp_sdk-0.12.0}/tests/unit/server/test_server.py +0 -0
@@ -8,6 +8,7 @@ from typing import Any, Literal, Optional, Union
|
|
8
8
|
from pydantic import AnyUrl, BaseModel, ConfigDict, Field
|
9
9
|
|
10
10
|
from acp_sdk.models.errors import ACPError, Error
|
11
|
+
from acp_sdk.models.platform import PlatformUIAnnotation
|
11
12
|
from acp_sdk.models.types import AgentName, ResourceId, ResourceUrl, RunId, SessionId
|
12
13
|
from acp_sdk.shared import ResourceLoader, ResourceStore
|
13
14
|
|
@@ -56,8 +57,13 @@ class Capability(BaseModel):
|
|
56
57
|
description: str
|
57
58
|
|
58
59
|
|
60
|
+
class Annotations(BaseModel):
|
61
|
+
beeai_ui: PlatformUIAnnotation | None = None
|
62
|
+
model_config = ConfigDict(extra="allow")
|
63
|
+
|
64
|
+
|
59
65
|
class Metadata(BaseModel):
|
60
|
-
annotations:
|
66
|
+
annotations: Annotations | None = None
|
61
67
|
documentation: str | None = None
|
62
68
|
license: str | None = None
|
63
69
|
programming_language: str | None = None
|
@@ -0,0 +1,22 @@
|
|
1
|
+
from enum import Enum
|
2
|
+
|
3
|
+
from pydantic import BaseModel, ConfigDict
|
4
|
+
|
5
|
+
|
6
|
+
class PlatformUIType(str, Enum):
|
7
|
+
CHAT = "chat"
|
8
|
+
HANDSOFF = "hands-off"
|
9
|
+
|
10
|
+
|
11
|
+
class AgentToolInfo(BaseModel):
|
12
|
+
name: str
|
13
|
+
description: str | None = None
|
14
|
+
model_config = ConfigDict(extra="allow")
|
15
|
+
|
16
|
+
|
17
|
+
class PlatformUIAnnotation(BaseModel):
|
18
|
+
ui_type: PlatformUIType
|
19
|
+
user_greeting: str | None = None
|
20
|
+
display_name: str | None = None
|
21
|
+
tools: list[AgentToolInfo] = []
|
22
|
+
model_config = ConfigDict(extra="allow")
|
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
|
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
|
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
|
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
|