Rust SDK for DSH(Deepseek Harness)
42ch-dev/dsh-rust-sdk · skills
Rust SDK for DSH(Deepseek Harness).
★ 8GitHub stars
1Forks
2026-09-08Last updated
RustLanguage
Apache-2.0License
Key features
- HarnessClient (low-level)spawns the runtime process, owns the stdio transport, speaks the JSON-RPC 2.0 wire protocol, and fans notifications out to subscriptions.
- cargo test — wire-protocol, lifecycle, and Session::run semantics suites against a scripted fake runtime (no real runtime needed).
- Exposes LaunchSpec, ClientTimeouts, and NotificationSubscription.
- DeepSeekHarness / Session (high-level): the Python-parity owned-run API on top of HarnessClient.
- Input accepts either plain text (Input::Text) or raw content blocks (Input::Blocks), mirroring Python's normalize_input.
Requirements
- No mid-turn cancel — there is no session-close / cancel RPC on the wire.
- Session:run waits until the root session reports idle
Install command
dsh plugin --profile web add github:42ch-dev/dsh-rust-sdk