meshagent-api 0.44.13__tar.gz → 0.45.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.
- {meshagent_api-0.44.13/meshagent_api.egg-info → meshagent_api-0.45.0}/PKG-INFO +2 -2
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/README.md +1 -1
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/__init__.py +97 -93
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/client.py +1655 -1706
- meshagent_api-0.45.0/meshagent/api/client_test.py +2004 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/http.py +52 -2
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/managed_agents.py +49 -59
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/managed_agents_test.py +9 -25
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/messaging.py +40 -8
- meshagent_api-0.45.0/meshagent/api/messaging_test.py +119 -0
- meshagent_api-0.45.0/meshagent/api/oauth_scopes.py +70 -0
- meshagent_api-0.45.0/meshagent/api/oauth_scopes_test.py +90 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/participant_token.py +243 -41
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/participant_token_test.py +120 -6
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/protocol_test.py +0 -22
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/room_server_client.py +1800 -785
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/room_server_client_test.py +888 -335
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema_document.py +4 -2
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema_document_test.py +3 -4
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema_test.py +1 -1
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/service_spec_test.py +126 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/services.py +12 -13
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/specs/service.py +92 -27
- meshagent_api-0.45.0/meshagent/api/version.py +1 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/webhooks.py +63 -12
- meshagent_api-0.45.0/meshagent/api/webhooks_test.py +69 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0/meshagent_api.egg-info}/PKG-INFO +2 -2
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent_api.egg-info/SOURCES.txt +1 -0
- meshagent_api-0.44.13/meshagent/api/client_test.py +0 -1128
- meshagent_api-0.44.13/meshagent/api/messaging_test.py +0 -46
- meshagent_api-0.44.13/meshagent/api/oauth_scopes.py +0 -16
- meshagent_api-0.44.13/meshagent/api/oauth_scopes_test.py +0 -21
- meshagent_api-0.44.13/meshagent/api/version.py +0 -1
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/LICENSE +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/MANIFEST.in +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/agent_content.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/aiohttp_redaction.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/chan.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/crdt.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/dataset_schema.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/entrypoint.js +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/error_codes.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/helpers.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/image_runtime.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/keys.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/oauth.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/participant.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/port_forward.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/port_forward_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/protocol.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/py.typed +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/reasoning_schema.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/registry_auth.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/room_ports.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/runtime.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/runtime_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema_registry.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/schema_util.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/service_template_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/sql.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/sql_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/token_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/urls.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/websocket_protocol.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent/api/websocket_protocol_test.py +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent_api.egg-info/dependency_links.txt +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent_api.egg-info/requires.txt +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/meshagent_api.egg-info/top_level.txt +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/pyproject.toml +0 -0
- {meshagent_api-0.44.13 → meshagent_api-0.45.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshagent-api
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.45.0
|
|
4
4
|
Summary: Python Server API for Meshagent
|
|
5
5
|
License-Expression: Apache-2.0
|
|
6
6
|
Project-URL: Documentation, https://docs.meshagent.com
|
|
@@ -74,7 +74,7 @@ Messages are encoded and decoded using a ``Protocol`` layer that is transport-ag
|
|
|
74
74
|
``SyncClient`` and the document runtime allow multiple participants to edit structured documents (defined by a ``MeshSchema``) with real-time updates propagated via WebSocket messages.
|
|
75
75
|
|
|
76
76
|
### WebhookServer
|
|
77
|
-
``WebhookServer`` can run in your own service to receive signed
|
|
77
|
+
``WebhookServer`` can run in your own service to receive signed ``room.call`` handoffs from MeshAgent.
|
|
78
78
|
|
|
79
79
|
### Meshagent
|
|
80
80
|
Separate from rooms, ``Meshagent`` is a REST-based client for managing projects, API keys, and secrets. It is useful for administrative tasks.
|
|
@@ -43,7 +43,7 @@ Messages are encoded and decoded using a ``Protocol`` layer that is transport-ag
|
|
|
43
43
|
``SyncClient`` and the document runtime allow multiple participants to edit structured documents (defined by a ``MeshSchema``) with real-time updates propagated via WebSocket messages.
|
|
44
44
|
|
|
45
45
|
### WebhookServer
|
|
46
|
-
``WebhookServer`` can run in your own service to receive signed
|
|
46
|
+
``WebhookServer`` can run in your own service to receive signed ``room.call`` handoffs from MeshAgent.
|
|
47
47
|
|
|
48
48
|
### Meshagent
|
|
49
49
|
Separate from rooms, ``Meshagent`` is a REST-based client for managing projects, API keys, and secrets. It is useful for administrative tasks.
|
|
@@ -32,11 +32,9 @@ from .room_server_client import (
|
|
|
32
32
|
StorageEntry,
|
|
33
33
|
)
|
|
34
34
|
from .client import (
|
|
35
|
-
AgentRoomGrant,
|
|
36
35
|
Meshagent,
|
|
37
36
|
CreateProjectRepositoryRequest,
|
|
38
37
|
CreateRepositoryTokenRequest,
|
|
39
|
-
ProjectAgentRoomGrant,
|
|
40
38
|
UpdateProjectRepositoryRequest,
|
|
41
39
|
ProjectInfo,
|
|
42
40
|
ProjectRepository,
|
|
@@ -47,6 +45,9 @@ from .participant_token import (
|
|
|
47
45
|
ParticipantGrant,
|
|
48
46
|
ApiScope,
|
|
49
47
|
DatasetGrant,
|
|
48
|
+
SqliteDatabaseGrant,
|
|
49
|
+
SqliteGrant,
|
|
50
|
+
SqliteTableGrant,
|
|
50
51
|
LLMGrant,
|
|
51
52
|
)
|
|
52
53
|
from .managed_agents import (
|
|
@@ -55,6 +56,7 @@ from .managed_agents import (
|
|
|
55
56
|
AllowedOpenAIModel,
|
|
56
57
|
ManagedAgentImageGeneration,
|
|
57
58
|
ManagedAgentMetadata,
|
|
59
|
+
ManagedAgentRunAs,
|
|
58
60
|
ManagedAgentSpec,
|
|
59
61
|
ManagedAgentToolkit,
|
|
60
62
|
ManagedAgentWebFetch,
|
|
@@ -101,95 +103,97 @@ from .error_codes import ErrorCode
|
|
|
101
103
|
from .dataset_schema import LANCE_COMPRESSION_METADATA_KEY, LANCE_ZSTD_FIELD_METADATA
|
|
102
104
|
|
|
103
105
|
__all__ = [
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
106
|
+
"Meshagent",
|
|
107
|
+
"CreateProjectRepositoryRequest",
|
|
108
|
+
"CreateRepositoryTokenRequest",
|
|
109
|
+
"UpdateProjectRepositoryRequest",
|
|
110
|
+
"ProjectInfo",
|
|
111
|
+
"ProjectRepository",
|
|
112
|
+
"RepositoryToken",
|
|
113
|
+
"DatasetJson",
|
|
114
|
+
"DatasetRecord",
|
|
115
|
+
"DatasetRowChunks",
|
|
116
|
+
"DatasetRows",
|
|
117
|
+
"DatasetStruct",
|
|
118
|
+
"DatasetValue",
|
|
119
|
+
"DatasetValueEncoder",
|
|
120
|
+
"DatasetExpression",
|
|
121
|
+
"DatasetIndexConfig",
|
|
122
|
+
"DatasetOptimizeConfig",
|
|
123
|
+
"DatasetOptimizeResult",
|
|
124
|
+
"DatasetTableStats",
|
|
125
|
+
"TOOL_SEARCH_ANNOTATION",
|
|
126
|
+
"WebSocketClientProtocol",
|
|
127
|
+
"RequiredToolkit",
|
|
128
|
+
"RequiredSchema",
|
|
129
|
+
"RequiredTable",
|
|
130
|
+
"Requirement",
|
|
131
|
+
"RoomClient",
|
|
132
|
+
"RoomMessage",
|
|
133
|
+
"RoomLogEvent",
|
|
134
|
+
"RoomException",
|
|
135
|
+
"ToolContentType",
|
|
136
|
+
"ToolContentSpec",
|
|
137
|
+
"ToolDescription",
|
|
138
|
+
"ToolkitDescription",
|
|
139
|
+
"RemoteParticipant",
|
|
140
|
+
"LocalParticipant",
|
|
141
|
+
"MeshDocument",
|
|
142
|
+
"FileHandle",
|
|
143
|
+
"StorageEntry",
|
|
144
|
+
"ParticipantToken",
|
|
145
|
+
"ParticipantGrant",
|
|
146
|
+
"ApiScope",
|
|
147
|
+
"DatasetGrant",
|
|
148
|
+
"SqliteDatabaseGrant",
|
|
149
|
+
"SqliteGrant",
|
|
150
|
+
"SqliteTableGrant",
|
|
151
|
+
"LLMGrant",
|
|
152
|
+
"AllowedAnthropicModel",
|
|
153
|
+
"AllowedModel",
|
|
154
|
+
"AllowedOpenAIModel",
|
|
155
|
+
"ManagedAgentImageGeneration",
|
|
156
|
+
"ManagedAgentMetadata",
|
|
157
|
+
"ManagedAgentRunAs",
|
|
158
|
+
"ManagedAgentSpec",
|
|
159
|
+
"ManagedAgentToolkit",
|
|
160
|
+
"ManagedAgentWebFetch",
|
|
161
|
+
"ManagedAgentWebSearch",
|
|
162
|
+
"Participant",
|
|
163
|
+
"MeshSchema",
|
|
164
|
+
"ElementType",
|
|
165
|
+
"ChildProperty",
|
|
166
|
+
"ValueProperty",
|
|
167
|
+
"Element",
|
|
168
|
+
"Content",
|
|
169
|
+
"BinaryContent",
|
|
170
|
+
"JsonContent",
|
|
171
|
+
"TextContent",
|
|
172
|
+
"FileContent",
|
|
173
|
+
"LinkContent",
|
|
174
|
+
"ErrorContent",
|
|
175
|
+
"RawOutputsContent",
|
|
176
|
+
"EmptyContent",
|
|
177
|
+
"AgentAudioContent",
|
|
178
|
+
"AgentContent",
|
|
179
|
+
"AgentFileContent",
|
|
180
|
+
"AgentInputContent",
|
|
181
|
+
"AgentTextContent",
|
|
182
|
+
"SchemaRegistration",
|
|
183
|
+
"SchemaRegistry",
|
|
184
|
+
"deploy_schema",
|
|
185
|
+
"websocket_room_url",
|
|
186
|
+
"participant_token",
|
|
187
|
+
"websocket_protocol",
|
|
188
|
+
"meshagent_base_url",
|
|
189
|
+
"FULL_OAUTH_SCOPE",
|
|
190
|
+
"FULL_OAUTH_SCOPES",
|
|
191
|
+
"WebhookServer",
|
|
192
|
+
"RoomStartedEvent",
|
|
193
|
+
"RoomEndedEvent",
|
|
194
|
+
"CallEvent",
|
|
195
|
+
"ErrorCode",
|
|
196
|
+
"LANCE_COMPRESSION_METADATA_KEY",
|
|
197
|
+
"LANCE_ZSTD_FIELD_METADATA",
|
|
198
|
+
"__version__",
|
|
195
199
|
]
|