soothe-client-python 1.0.17__tar.gz → 1.0.18__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.
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/PKG-INFO +1 -1
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/websocket.py +90 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/.gitignore +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/LICENSE +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/README.md +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/pyproject.toml +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/__init__.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/__init__.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/attachments.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/broadcaster.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/card_projection.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/chunk_filter.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/classifier.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/daemon_session.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/events.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/loop_session_store.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/managed_client.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/observability.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/pool.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/query_gate.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/thinking_step.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/turn.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/turn_boundary.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/turn_runner.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/command_client.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/errors.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/helpers.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/intent_hints.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/protocol_params.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/py.typed +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/schemas.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/session.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/stream_terminal.py +0 -0
- {soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/turn_boundary.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: soothe-client-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.18
|
|
4
4
|
Summary: WebSocket client + appkit for soothe-daemon (Python)
|
|
5
5
|
Project-URL: Homepage, https://github.com/mirasoth/soothe-client-python
|
|
6
6
|
Project-URL: Documentation, https://soothe.readthedocs.io
|
|
@@ -1123,6 +1123,96 @@ class WebSocketClient:
|
|
|
1123
1123
|
params["as_node"] = as_node
|
|
1124
1124
|
return await self.request("loop_state_update", params, timeout=timeout)
|
|
1125
1125
|
|
|
1126
|
+
async def loop_tree(
|
|
1127
|
+
self,
|
|
1128
|
+
loop_id: str,
|
|
1129
|
+
*,
|
|
1130
|
+
timeout: float = 15.0,
|
|
1131
|
+
) -> dict[str, Any]:
|
|
1132
|
+
"""Fetch the loop checkpoint tree (``loop_tree``)."""
|
|
1133
|
+
return await self.request(
|
|
1134
|
+
"loop_tree",
|
|
1135
|
+
{"loop_id": loop_id},
|
|
1136
|
+
timeout=timeout,
|
|
1137
|
+
)
|
|
1138
|
+
|
|
1139
|
+
async def loop_prune(
|
|
1140
|
+
self,
|
|
1141
|
+
loop_id: str,
|
|
1142
|
+
*,
|
|
1143
|
+
keep_latest: int = 1,
|
|
1144
|
+
timeout: float = 15.0,
|
|
1145
|
+
) -> dict[str, Any]:
|
|
1146
|
+
"""Prune old checkpoints from a loop (``loop_prune``)."""
|
|
1147
|
+
return await self.request(
|
|
1148
|
+
"loop_prune",
|
|
1149
|
+
{"loop_id": loop_id, "keep_latest": keep_latest},
|
|
1150
|
+
timeout=timeout,
|
|
1151
|
+
)
|
|
1152
|
+
|
|
1153
|
+
async def loop_delete(self, loop_id: str, *, timeout: float = 15.0) -> dict[str, Any]:
|
|
1154
|
+
"""Delete a loop and its checkpoints (``loop_delete``)."""
|
|
1155
|
+
return await self.request(
|
|
1156
|
+
"loop_delete",
|
|
1157
|
+
{"loop_id": loop_id},
|
|
1158
|
+
timeout=timeout,
|
|
1159
|
+
)
|
|
1160
|
+
|
|
1161
|
+
async def loop_reattach(self, loop_id: str, *, timeout: float = 15.0) -> dict[str, Any]:
|
|
1162
|
+
"""Reattach to an existing loop (``loop_reattach``)."""
|
|
1163
|
+
return await self.request(
|
|
1164
|
+
"loop_reattach",
|
|
1165
|
+
{"loop_id": loop_id},
|
|
1166
|
+
timeout=timeout,
|
|
1167
|
+
)
|
|
1168
|
+
|
|
1169
|
+
async def config_get(
|
|
1170
|
+
self,
|
|
1171
|
+
section: str | None = None,
|
|
1172
|
+
*,
|
|
1173
|
+
timeout: float = 10.0,
|
|
1174
|
+
) -> dict[str, Any]:
|
|
1175
|
+
"""Fetch a daemon config section (``config_get``)."""
|
|
1176
|
+
params: dict[str, Any] = {}
|
|
1177
|
+
if section:
|
|
1178
|
+
params["section"] = section
|
|
1179
|
+
return await self.request("config_get", params, timeout=timeout)
|
|
1180
|
+
|
|
1181
|
+
async def config_reload(self, *, timeout: float = 15.0) -> dict[str, Any]:
|
|
1182
|
+
"""Reload daemon config from disk (``config_reload``)."""
|
|
1183
|
+
return await self.request("config_reload", {}, timeout=timeout)
|
|
1184
|
+
|
|
1185
|
+
async def daemon_shutdown(self, *, timeout: float = 10.0) -> dict[str, Any]:
|
|
1186
|
+
"""Request a graceful daemon shutdown (``daemon_shutdown``)."""
|
|
1187
|
+
return await self.request("daemon_shutdown", {}, timeout=timeout)
|
|
1188
|
+
|
|
1189
|
+
async def authenticate(
|
|
1190
|
+
self,
|
|
1191
|
+
access_key: str,
|
|
1192
|
+
secret_key: str,
|
|
1193
|
+
*,
|
|
1194
|
+
timeout: float = 15.0,
|
|
1195
|
+
) -> dict[str, Any]:
|
|
1196
|
+
"""Submit credentials for daemon-side auth (``auth``)."""
|
|
1197
|
+
return await self.request(
|
|
1198
|
+
"auth",
|
|
1199
|
+
{"access_key": access_key, "secret_key": secret_key},
|
|
1200
|
+
timeout=timeout,
|
|
1201
|
+
)
|
|
1202
|
+
|
|
1203
|
+
async def refresh_auth_token(
|
|
1204
|
+
self,
|
|
1205
|
+
refresh_token: str,
|
|
1206
|
+
*,
|
|
1207
|
+
timeout: float = 15.0,
|
|
1208
|
+
) -> dict[str, Any]:
|
|
1209
|
+
"""Refresh the daemon-side auth token (``auth_refresh``)."""
|
|
1210
|
+
return await self.request(
|
|
1211
|
+
"auth_refresh",
|
|
1212
|
+
{"refresh_token": refresh_token},
|
|
1213
|
+
timeout=timeout,
|
|
1214
|
+
)
|
|
1215
|
+
|
|
1126
1216
|
def _reset_disconnect_signal(self) -> None:
|
|
1127
1217
|
"""Clear the mid-session drop signal (called from ``connect``)."""
|
|
1128
1218
|
self._disconn_event = asyncio.Event()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/__init__.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/attachments.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/broadcaster.py
RENAMED
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/chunk_filter.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/classifier.py
RENAMED
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/events.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/pool.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/query_gate.py
RENAMED
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/turn.py
RENAMED
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/appkit/turn_runner.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/command_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/intent_hints.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/protocol_params.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/stream_terminal.py
RENAMED
|
File without changes
|
{soothe_client_python-1.0.17 → soothe_client_python-1.0.18}/src/soothe_client/turn_boundary.py
RENAMED
|
File without changes
|