mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
- @deepseek-ai/dsh-sdk-protocol: extract the line transport from dsh-jsonrpc and name the request/result/notification wire types both ends share; error responses preserve wire code/data via JsonRpcResponseError. - @deepseek-ai/dsh-sdk-client: TypeScript twin of the Python SDK — spawns the dsh-jsonrpc-agent runtime as a subprocess, drives stdio JSON-RPC turns (DeepSeekHarness high-level API + HarnessClient protocol client), scopes notifications to session trees client-side, and reaps the child through the shared subprocess dispose ladder. - @deepseek-ai/dsh-subagent-sdk: out-of-process subagent backend driving a child harness runtime through the TS SDK; shares cwd resolution with subagent-acp via new dsh-subagent-subprocess cwd helpers. - Keyless unit suites drive real subprocesses (scripted fake runtime peer); 100% per-file coverage on all touched packages.
15 lines
555 B
TypeScript
15 lines
555 B
TypeScript
/**
|
|
* TypeScript client SDK for the DeepSeek Harness runtime: spawn the
|
|
* `dsh-jsonrpc-agent` runtime as a subprocess and drive agent turns over
|
|
* stdio JSON-RPC. `DeepSeekHarness` is the high-level turns API;
|
|
* `HarnessClient` is the lower-level protocol client. A pure library — it
|
|
* registers nothing on a Cordis context; the runtime process it spawns is a
|
|
* complete harness configured by its own `cordis.yml`.
|
|
*
|
|
* @module @deepseek-ai/dsh-sdk-client
|
|
*/
|
|
|
|
export * from './api.ts'
|
|
export * from './client.ts'
|
|
export type * from './types.ts'
|