harness-sdk-python 0.40.3__py3-none-any.whl → 0.40.4__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/langgraph.py +1 -1
- harness_sdk/run_manager.py +4 -4
- harness_sdk/threads.py +1 -1
- harness_sdk/voice.py +1 -1
- {harness_sdk_python-0.40.3.dist-info → harness_sdk_python-0.40.4.dist-info}/METADATA +8 -8
- {harness_sdk_python-0.40.3.dist-info → harness_sdk_python-0.40.4.dist-info}/RECORD +7 -7
- {harness_sdk_python-0.40.3.dist-info → harness_sdk_python-0.40.4.dist-info}/WHEEL +0 -0
harness_sdk/langgraph.py
CHANGED
harness_sdk/run_manager.py
CHANGED
|
@@ -83,10 +83,10 @@ from typing import (
|
|
|
83
83
|
Protocol,
|
|
84
84
|
)
|
|
85
85
|
|
|
86
|
-
from
|
|
87
|
-
from
|
|
88
|
-
from
|
|
89
|
-
from
|
|
86
|
+
from pinboard import EvictionRequested
|
|
87
|
+
from pinboard.durability import FenceLost
|
|
88
|
+
from pinboard.trays import Tray, TrayDescriptor, TrayCtx, TrayMapNamespace, inbox
|
|
89
|
+
from pinboard.trays import persistent, persistent_outbox, persistent_queue
|
|
90
90
|
from statepatch import observable
|
|
91
91
|
from statewire import StatewireReject
|
|
92
92
|
from statewire.api import (
|
harness_sdk/threads.py
CHANGED
|
@@ -8,7 +8,7 @@ from datetime import datetime, timezone
|
|
|
8
8
|
from typing import Any, Literal, NotRequired, Protocol, TypedDict, get_args
|
|
9
9
|
|
|
10
10
|
from fastapi import HTTPException, Request
|
|
11
|
-
from
|
|
11
|
+
from pinboard import Attestation, AuthRejected, attestation, route
|
|
12
12
|
from starlette.requests import HTTPConnection
|
|
13
13
|
from statewire import Statewire, StatewireReject, command
|
|
14
14
|
|
harness_sdk/voice.py
CHANGED
|
@@ -56,7 +56,7 @@ from time import monotonic
|
|
|
56
56
|
from typing import Any, Callable, Literal, Protocol, TypedDict
|
|
57
57
|
from uuid import uuid4
|
|
58
58
|
|
|
59
|
-
from
|
|
59
|
+
from pinboard.trays import Tray, TrayDescriptor, TrayMapNamespace
|
|
60
60
|
from statepatch import observable, plain
|
|
61
61
|
from statewire import StatewireReject
|
|
62
62
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: harness-sdk-python
|
|
3
|
-
Version: 0.40.
|
|
3
|
+
Version: 0.40.4
|
|
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
|
-
Requires-Dist:
|
|
9
|
-
Requires-Dist: statewire<0.24,>=0.23.
|
|
8
|
+
Requires-Dist: pinboard-sdk>=0.18.0
|
|
9
|
+
Requires-Dist: statewire<0.24,>=0.23.6
|
|
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'
|
|
@@ -26,7 +26,7 @@ Description-Content-Type: text/markdown
|
|
|
26
26
|
|
|
27
27
|
# harness-sdk-python
|
|
28
28
|
|
|
29
|
-
The runs subsystem for Python Statewire hosts: `@run_manager` turns one async method into the run executor and mounts the `run/*` command surface (send, dequeue, edit, reload, stop, continue, input), each run in its own tray. Part of [harness-sdk](https://github.com/assistant-ui/harness-sdk), with `statewire` and
|
|
29
|
+
The runs subsystem for Python Statewire hosts: `@run_manager` turns one async method into the run executor and mounts the `run/*` command surface (send, dequeue, edit, reload, stop, continue, input), each run in its own tray. Part of [harness-sdk](https://github.com/assistant-ui/harness-sdk), with `statewire` and Pinboard.
|
|
30
30
|
|
|
31
31
|
## Install
|
|
32
32
|
|
|
@@ -88,7 +88,7 @@ async def run(self, ctx: RunManager.RunContext): ...
|
|
|
88
88
|
|
|
89
89
|
## Docs
|
|
90
90
|
|
|
91
|
-
- Get started: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/app/docs/get-started/chat-app/page.mdx
|
|
92
|
-
- Guide: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/app/docs/guides/harness/host/page.mdx
|
|
93
|
-
- Reference: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/app/docs/reference/harness-sdk-python/page.mdx
|
|
94
|
-
- Spec: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/app/docs/spec/runs-protocol/page.mdx
|
|
91
|
+
- Get started: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/docs/get-started/chat-app/page.mdx
|
|
92
|
+
- Guide: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/docs/guides/harness/host/page.mdx
|
|
93
|
+
- Reference: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/docs/reference/harness-sdk-python/page.mdx
|
|
94
|
+
- Spec: https://github.com/assistant-ui/harness-sdk/blob/main/apps/docs/src/app/docs/spec/runs-protocol/page.mdx
|
|
@@ -4,19 +4,19 @@ harness_sdk/deepagents.py,sha256=A9wV8UEYMAbeIRbvnwoZ98kGUKVVy4QZ2naqIF3XA3c,216
|
|
|
4
4
|
harness_sdk/deepagents_host.py,sha256=nRca-YxskBagnQIgrKNEp_Ee37K3_pXu39uWQPGr5_I,9272
|
|
5
5
|
harness_sdk/fenced_postgres.py,sha256=hbbrMR1WaqrHTNgd4wFrXfRrzQFGnyim-c8nZXgwWp4,13235
|
|
6
6
|
harness_sdk/interest.py,sha256=KnmbTcF7fQha69Zuvu0_solI44Olp-eSv-qkltZ-hAU,5141
|
|
7
|
-
harness_sdk/langgraph.py,sha256=
|
|
7
|
+
harness_sdk/langgraph.py,sha256=35r1KSgrqK8KUPe6ELAGq3q5TuyeTeXwmkOnlbC5F9c,2682
|
|
8
8
|
harness_sdk/linear_thread.py,sha256=laDRXKLFsMlyWS4snqNAM6t38wO26gevLWXRNivhHSM,1810
|
|
9
9
|
harness_sdk/messages.py,sha256=amx-vPWlZh-W2fKrPgmaspSvc90rqcIqXgkr9aj_k5w,6148
|
|
10
10
|
harness_sdk/parts.py,sha256=mHhYvmQx6J56Ah5K7dUZ4qUOlKk-L02AR64asSqOT5I,6400
|
|
11
11
|
harness_sdk/prioritize.py,sha256=Li8IoI_ACiwbWDNa2DSDpNhoXY0utPhGevBQqQonsQc,4203
|
|
12
12
|
harness_sdk/protocol.py,sha256=VxWOIg_2vitFGTJmpiD2wNNAJnwSgQFy69Hds-frfvs,1207
|
|
13
|
-
harness_sdk/run_manager.py,sha256=
|
|
14
|
-
harness_sdk/threads.py,sha256=
|
|
15
|
-
harness_sdk/voice.py,sha256=
|
|
13
|
+
harness_sdk/run_manager.py,sha256=Gg5sgLS67GJHz5PSfhUkHBlIuG_bS1KDJ43jceYHv78,111423
|
|
14
|
+
harness_sdk/threads.py,sha256=hpsS7GOZPVKfWFSMydJSdzzz5KY38pLWQQR-DkdoG2M,7151
|
|
15
|
+
harness_sdk/voice.py,sha256=XJakSJrjS-RVT1PIaDDxm1RZDp9QpLWCdX36k-UvGHA,25852
|
|
16
16
|
harness_sdk/voice_thread.py,sha256=B616W1efohEd9RwWssrOkTne7Lu8s0kn07kMof1v_nI,6910
|
|
17
17
|
harness_sdk/wire.py,sha256=m3hixpDPls413Ihr0tym5dlgsd334WaK0fISMpVMY3g,7978
|
|
18
18
|
harness_sdk/providers/__init__.py,sha256=PjVKflqdtYSipq0ISTNuIYKeCOm3KX8ov9XuNtBhFrs,75
|
|
19
19
|
harness_sdk/providers/gpt_live.py,sha256=cuODSm3Kztemf51BIOuPwy1Wf-0pOhf1LPYzmSdCvl8,8453
|
|
20
|
-
harness_sdk_python-0.40.
|
|
21
|
-
harness_sdk_python-0.40.
|
|
22
|
-
harness_sdk_python-0.40.
|
|
20
|
+
harness_sdk_python-0.40.4.dist-info/METADATA,sha256=q0Rn_on2P6QJ2ENGYpczdAYlUnARIwz1Ix-YU-BmoXc,4022
|
|
21
|
+
harness_sdk_python-0.40.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
22
|
+
harness_sdk_python-0.40.4.dist-info/RECORD,,
|
|
File without changes
|