Releases: 42ch-dev/dsh-rust-sdk
Releases · 42ch-dev/dsh-rust-sdk
Release list
v0.1.0-alpha.2
[0.1.0-alpha.2] - 2026-08-17
Added
- GitHub Workflow release pipeline: dispatch Release prep → review one
release v<version>PR → merging publishes (annotated tag → verify → GitHub Release → crates.io via Trusted Publishing; no registry token, no localcargo publish). - Fragment-driven changelog: user-visible changes accumulate as
.changes/unreleased/fragments and are assembled intoCHANGELOG.mdby the Release prep run. - Backfilled
0.1.0-alpha.1history:CHANGELOG.mdsection, git tagv0.1.0-alpha.1, and a GitHub Release for the published crate.
Fixed
- Release prep now opens a new release PR when a previous PR for the same version was already merged (re-prep after a rollback), instead of failing on
gh pr reopen.
v0.1.0
[0.1.0] - 2026-08-17
Changed
- README install instructions no longer pin a point version: the documented command is a bare
cargo add deepseek-harness-sdkwith a"*"dependency line, leaving version selection to the user; the pre-release note keeps only channel-level guidance (explicit@0.1.0-alphastyle request while on a pre-release line).
v0.1.0-alpha.1
[0.1.0-alpha.1] - 2026-08-16
Added
- Initial release:
deepseek-harness-sdkis a pure-client Rust SDK that spawns the official DeepSeek Harness (DSH) runtime as a subprocess and speaks its stdio JSON-RPC 2.0 protocol. - Protocol types with serde 1:1 wire mapping and a merge-extensible
ContentBlockwith unknown-content passthrough; line-framed stdio transport with skip-malformed-lines parity and an oversized-frame guard. - Low-level
HarnessClient: request dispatch with timeout abandonment, session-tree tracking fromsubagent.startededges, broadcast notifications, and an unconditional close ladder. - High-level Python-parity API:
DeepSeekHarness::start,Session::run, andRunResultwithfinish_reasonandsession_root. - Typed errors across the API surface:
Error::SdkProtocol,Error::JsonRpc(preservingcodeanddata), andError::RuntimeNotFound. - Published to crates.io as
0.1.0-alpha.1— install withcargo add deepseek-harness-sdk@0.1.0-alpha.1(pre-release versions require an explicit version; a barecargo adddoes not resolve to a pre-release). - Bilingual installation-first READMEs (English / 中文) covering the quickstart, runtime acquisition routes, and platform support.
- Bring-your-own runtime (Plan A): the binary is resolved from
Config::launch_args_override(full argv, verbatim),Config::runtime_bin, or theDSH_RUNTIME_BINenvironment variable — the crate never downloads, bundles, or ships a runtime. - Bundled default
cordis.ymlinjection (byte-identical to the official default) when noDSH_CORDIS_CONFIGis set, plus environment injection ofDSH_CWD,DSH_SESSION_ROOT, and model credentials. - A missing runtime fails fast with
Error::RuntimeNotFound, whose message names the acquisition routes and points to https://github.com/deepseek-ai/deepseek-harness.
Compatibility
RunResultfollows the Python SDK field set, includingfinish_reasonandsession_root— fields the TypeScript SDK'sRunResultlacks.- The wire protocol is pre-release: the runtime identifies as
serverInfo0.0.1 with a strict name check and no version negotiation. - Consumes runtime builds for linux-x64, linux-arm64, and macos-arm64; there is no Windows support (upstream ships no Windows runtime builds).
- No mid-turn cancel or session-close RPC:
Session::runwaits until the root session reportsidle.