harness-sdk-python 0.35.0__py3-none-any.whl → 0.36.0__py3-none-any.whl
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.
- harness_sdk/__init__.py +2 -0
- harness_sdk/protocol.py +5 -0
- {harness_sdk_python-0.35.0.dist-info → harness_sdk_python-0.36.0.dist-info}/METADATA +5 -3
- {harness_sdk_python-0.35.0.dist-info → harness_sdk_python-0.36.0.dist-info}/RECORD +5 -4
- {harness_sdk_python-0.35.0.dist-info → harness_sdk_python-0.36.0.dist-info}/WHEEL +0 -0
harness_sdk/__init__.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from .protocol import HARNESS_PROTOCOL
|
|
1
2
|
from .checkpoints import (
|
|
2
3
|
CheckpointIndex,
|
|
3
4
|
CheckpointStore,
|
|
@@ -36,6 +37,7 @@ from .voice import (
|
|
|
36
37
|
)
|
|
37
38
|
|
|
38
39
|
__all__ = [
|
|
40
|
+
"HARNESS_PROTOCOL",
|
|
39
41
|
"CheckpointIndex",
|
|
40
42
|
"CheckpointStore",
|
|
41
43
|
"CheckpointThread",
|
harness_sdk/protocol.py
ADDED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: harness-sdk-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.36.0
|
|
4
4
|
Summary: RunManager: the harness-sdk runs subsystem for Python Statewire hosts
|
|
5
5
|
Project-URL: Repository, https://github.com/assistant-ui/harness-sdk
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Requires-Python: <4.0,>=3.12
|
|
8
8
|
Requires-Dist: pinned<0.16,>=0.15.0
|
|
9
|
-
Requires-Dist: statewire<0.
|
|
9
|
+
Requires-Dist: statewire<0.17,>=0.16.0
|
|
10
10
|
Provides-Extra: deepagents
|
|
11
11
|
Requires-Dist: deepagents>=0.6.12; extra == 'deepagents'
|
|
12
12
|
Requires-Dist: langchain-core>=0.3; extra == 'deepagents'
|
|
@@ -34,10 +34,12 @@ Extras: `uv add "harness-sdk-python[postgres]"`, `uv add "harness-sdk-python[dee
|
|
|
34
34
|
```python
|
|
35
35
|
from statewire import Statewire, command
|
|
36
36
|
|
|
37
|
-
from harness_sdk import RunManager, run_manager
|
|
37
|
+
from harness_sdk import HARNESS_PROTOCOL, RunManager, run_manager
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
class RunsHost(Statewire):
|
|
41
|
+
protocols = (HARNESS_PROTOCOL,)
|
|
42
|
+
|
|
41
43
|
async def lifespan(self):
|
|
42
44
|
self.state = {"messages": []}
|
|
43
45
|
yield
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
harness_sdk/__init__.py,sha256=
|
|
1
|
+
harness_sdk/__init__.py,sha256=zoABjY3ixYzh5YyWtHQKs3MjphMJrwklzV0LOacDA5c,1740
|
|
2
2
|
harness_sdk/checkpoints.py,sha256=4Jv0eyjGoUv9lC6ZZSOpHmZ4j_vMFkFPSxFcrpJ-NTQ,28195
|
|
3
3
|
harness_sdk/deepagents.py,sha256=3iWadYjG-Yv0fli4x8s5n3jOTs11JHS2cK6tj8foyvk,14520
|
|
4
4
|
harness_sdk/fenced_postgres.py,sha256=hbbrMR1WaqrHTNgd4wFrXfRrzQFGnyim-c8nZXgwWp4,13235
|
|
5
5
|
harness_sdk/linear_thread.py,sha256=laDRXKLFsMlyWS4snqNAM6t38wO26gevLWXRNivhHSM,1810
|
|
6
|
+
harness_sdk/protocol.py,sha256=4diqaWeYIVEKRjyKkqzeMMHJb7zrOQCvPkjQzkeIku8,140
|
|
6
7
|
harness_sdk/run_manager.py,sha256=9yfxzelb5Ugs3qbsKiWDPfASljjlc0BbmoQv-8Bw72Y,81438
|
|
7
8
|
harness_sdk/voice.py,sha256=bRloaKSS1d0mFvfIM4Bhp50ADBK_7GpdarGvmDBubjg,32370
|
|
8
|
-
harness_sdk_python-0.
|
|
9
|
-
harness_sdk_python-0.
|
|
10
|
-
harness_sdk_python-0.
|
|
9
|
+
harness_sdk_python-0.36.0.dist-info/METADATA,sha256=rDfjbNchuYQEZzstgtiaspw-lFXIvBChAHPYSOH0s1E,2488
|
|
10
|
+
harness_sdk_python-0.36.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
11
|
+
harness_sdk_python-0.36.0.dist-info/RECORD,,
|
|
File without changes
|