mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-10-26 16:55:08 +00:00
33 lines
1.0 KiB
TypeScript
33 lines
1.0 KiB
TypeScript
/**
|
|
* TypeScript client SDK for the DeepSeek Harness runtime: spawn the
|
|
* same-version `dsh --profile sdk` runtime as a subprocess and drive agent
|
|
* turns over stdio JSON-RPC. `DeepSeekHarness` is the high-level run API;
|
|
* `HarnessClient` is the lower-level protocol client. A pure library — it
|
|
* registers nothing on a Cordis context; named profiles and ordered patch
|
|
* files customize the runtime process it spawns.
|
|
*
|
|
* @module @deepseek-ai/dsh-sdk-client
|
|
*/
|
|
|
|
export { DeepSeekHarness, HarnessSession, validatedSessionEvent } from './api.ts'
|
|
export type { RunOptions } from './api.ts'
|
|
export {
|
|
HarnessClient,
|
|
RequestTimeoutError,
|
|
SdkProtocolError,
|
|
TransportClosedError,
|
|
} from './client.ts'
|
|
export type { NotificationSubscription } from './client.ts'
|
|
export { JsonRpcResponseError } from '@deepseek-ai/dsh-sdk-protocol'
|
|
export type {
|
|
ContentBlock,
|
|
SdkPromptContentBlock,
|
|
SdkUserQuestionAnswer,
|
|
SdkUserQuestionRequest,
|
|
DeepSeekHarnessOptions,
|
|
HarnessClientOptions,
|
|
HarnessNotification,
|
|
NotificationFilter,
|
|
RunResult,
|
|
} from './types.ts'
|