aiohttp-tiny-mcp 0.2.3__tar.gz → 0.2.5__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.
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/PKG-INFO +1 -1
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/pyproject.toml +1 -1
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/pyproject.toml.orig +1 -1
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/__init__.py +6 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/models.py +22 -14
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/LICENSE +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/README.md +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/adapter.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/auth.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/client.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/client_base.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/console/__init__.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/console/console.css +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/console/console.js +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/console/index.html +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/core.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/dispatcher.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/endpoint.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/exchange.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/http_sse.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/hub.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/namespaces.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/postgres.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/__init__.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/selection.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2024_11_05.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_03_26.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_06_18.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_11_25.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2026_07_28.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/py.typed +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/redis.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/registry.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/request_state.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/schema.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/sessions.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/specs.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/sqlite.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/sse.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/stdio.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/stdio_client.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/subscriptions.py +0 -0
- {aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/testing.py +0 -0
|
@@ -19,14 +19,17 @@ from .http_sse import SseEndpoint
|
|
|
19
19
|
from .hub import Hub, MemoryHub
|
|
20
20
|
from .models import (
|
|
21
21
|
AudioContent,
|
|
22
|
+
BlobResourceContents,
|
|
22
23
|
CallToolResult,
|
|
23
24
|
Completion,
|
|
25
|
+
EmbeddedResource,
|
|
24
26
|
GetPromptResult,
|
|
25
27
|
Hint,
|
|
26
28
|
ImageContent,
|
|
27
29
|
PromptMessage,
|
|
28
30
|
ResourceLink,
|
|
29
31
|
TextContent,
|
|
32
|
+
TextResourceContents,
|
|
30
33
|
)
|
|
31
34
|
from .namespaces import namespace
|
|
32
35
|
from .protocol.selection import AdapterSet
|
|
@@ -42,11 +45,13 @@ __all__ = [
|
|
|
42
45
|
"Answer",
|
|
43
46
|
"AnswerAction",
|
|
44
47
|
"AudioContent",
|
|
48
|
+
"BlobResourceContents",
|
|
45
49
|
"CallToolResult",
|
|
46
50
|
"Client",
|
|
47
51
|
"ClientError",
|
|
48
52
|
"Elicitor",
|
|
49
53
|
"Completion",
|
|
54
|
+
"EmbeddedResource",
|
|
50
55
|
"Endpoint",
|
|
51
56
|
"SSEResponse",
|
|
52
57
|
"Exchange",
|
|
@@ -67,6 +72,7 @@ __all__ = [
|
|
|
67
72
|
"SessionStore",
|
|
68
73
|
"StdioClient",
|
|
69
74
|
"TextContent",
|
|
75
|
+
"TextResourceContents",
|
|
70
76
|
"elicit",
|
|
71
77
|
"elicit_accept",
|
|
72
78
|
"elicit_cancel",
|
|
@@ -52,8 +52,27 @@ class ResourceLink(Model):
|
|
|
52
52
|
mime_type: str | None = None
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
class TextResourceContents(Model):
|
|
56
|
+
uri: str
|
|
57
|
+
text: str
|
|
58
|
+
mime_type: str | None = None
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class BlobResourceContents(Model):
|
|
62
|
+
uri: str
|
|
63
|
+
blob: str
|
|
64
|
+
mime_type: str | None = None
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class EmbeddedResource(Model):
|
|
68
|
+
"""Resource contents carried in the result, instead of a link to read later."""
|
|
69
|
+
|
|
70
|
+
type: Literal["resource"] = "resource"
|
|
71
|
+
resource: TextResourceContents | BlobResourceContents
|
|
72
|
+
|
|
73
|
+
|
|
55
74
|
ContentBlock = Annotated[
|
|
56
|
-
TextContent | ImageContent | AudioContent | ResourceLink,
|
|
75
|
+
TextContent | ImageContent | AudioContent | ResourceLink | EmbeddedResource,
|
|
57
76
|
Field(discriminator="type"),
|
|
58
77
|
]
|
|
59
78
|
|
|
@@ -107,7 +126,8 @@ class Hint(Enum):
|
|
|
107
126
|
class ToolDef(Model):
|
|
108
127
|
name: str
|
|
109
128
|
title: str | None = None
|
|
110
|
-
description
|
|
129
|
+
# A server may omit the description, so a tool list stays readable without one.
|
|
130
|
+
description: str = ""
|
|
111
131
|
input_schema: dict[str, Any]
|
|
112
132
|
output_schema: dict[str, Any] | None = None
|
|
113
133
|
annotations: dict[str, Any] | None = None
|
|
@@ -163,18 +183,6 @@ class ResourceTemplateDef(Model):
|
|
|
163
183
|
mime_type: str | None = None
|
|
164
184
|
|
|
165
185
|
|
|
166
|
-
class TextResourceContents(Model):
|
|
167
|
-
uri: str
|
|
168
|
-
text: str
|
|
169
|
-
mime_type: str | None = None
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
class BlobResourceContents(Model):
|
|
173
|
-
uri: str
|
|
174
|
-
blob: str
|
|
175
|
-
mime_type: str | None = None
|
|
176
|
-
|
|
177
|
-
|
|
178
186
|
class ListResourcesResult(CacheableResult):
|
|
179
187
|
resources: list[ResourceDef]
|
|
180
188
|
next_cursor: str | None = None
|
|
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
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/selection.py
RENAMED
|
File without changes
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2024_11_05.py
RENAMED
|
File without changes
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_03_26.py
RENAMED
|
File without changes
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_06_18.py
RENAMED
|
File without changes
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2025_11_25.py
RENAMED
|
File without changes
|
{aiohttp_tiny_mcp-0.2.3 → aiohttp_tiny_mcp-0.2.5}/src/aiohttp_tiny_mcp/protocol/v2026_07_28.py
RENAMED
|
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
|