meshagent-api 0.24.1__tar.gz → 0.24.4__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.24.1/meshagent_api.egg-info → meshagent_api-0.24.4}/PKG-INFO +1 -1
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/room_server_client.py +18 -1
- meshagent_api-0.24.4/meshagent/api/version.py +1 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4/meshagent_api.egg-info}/PKG-INFO +1 -1
- meshagent_api-0.24.1/meshagent/api/version.py +0 -1
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/LICENSE +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/MANIFEST.in +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/README.md +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/__init__.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/chan.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/client.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/crdt.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/entrypoint.js +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/helpers.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/keys.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/messaging.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/oauth.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/participant.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/participant_token.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/participant_token_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/port_forward.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/protocol.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/protocol_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/py.typed +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/reasoning_schema.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/runtime.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/runtime_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema_document.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema_document_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema_registry.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/schema_util.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/service_template_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/services.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/specs/service.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/token_test.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/urls.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/webhooks.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent/api/websocket_protocol.py +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent_api.egg-info/SOURCES.txt +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent_api.egg-info/dependency_links.txt +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent_api.egg-info/requires.txt +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/meshagent_api.egg-info/top_level.txt +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/pyproject.toml +0 -0
- {meshagent_api-0.24.1 → meshagent_api-0.24.4}/setup.cfg +0 -0
|
@@ -2620,6 +2620,7 @@ class RoomContainer(BaseModel):
|
|
|
2620
2620
|
started_by: ContainerStartedBy
|
|
2621
2621
|
state: Literal["CREATED", "RUNNING", "EXITED", "UNKNOWN"]
|
|
2622
2622
|
private: bool
|
|
2623
|
+
service_id: Optional[str] = None
|
|
2623
2624
|
|
|
2624
2625
|
# Accept arbitrary extras (names, created, state, etc.)
|
|
2625
2626
|
class Config:
|
|
@@ -2958,11 +2959,27 @@ class ContainersClient:
|
|
|
2958
2959
|
else:
|
|
2959
2960
|
raise RoomException(f"Unexpected response type {resp}")
|
|
2960
2961
|
|
|
2962
|
+
async def run_service(
|
|
2963
|
+
self, *, service_id: str, env: Optional[dict[str, str]] = None
|
|
2964
|
+
) -> str:
|
|
2965
|
+
req = {
|
|
2966
|
+
"service_id": service_id,
|
|
2967
|
+
"env": env,
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
resp = await self.room.send_request("containers.run_service", req)
|
|
2971
|
+
if isinstance(resp, JsonResponse):
|
|
2972
|
+
container_id: str = resp.json["container_id"]
|
|
2973
|
+
return container_id
|
|
2974
|
+
|
|
2975
|
+
else:
|
|
2976
|
+
raise RoomException(f"Unexpected response type {resp}")
|
|
2977
|
+
|
|
2961
2978
|
async def exec(
|
|
2962
2979
|
self,
|
|
2963
2980
|
*,
|
|
2964
2981
|
container_id: str,
|
|
2965
|
-
command: Optional[
|
|
2982
|
+
command: Optional[str] = None,
|
|
2966
2983
|
tty: Optional[bool] = None,
|
|
2967
2984
|
) -> ExecSession:
|
|
2968
2985
|
request_id = str(uuid.uuid4())
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.24.4"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.24.1"
|
|
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
|