返回源码地图

packages/sdk/client/src/index.ts

main snapshot · da00f7f5358f · 正文引用章节 14;完整原文可核对,不声称全文件人工逐行审计

完整原文供逐行核对;页面收录不代表每行都经过人工语义审核。MIT 许可见 许可证。

1/**
2 * TypeScript client SDK for the DeepSeek Harness runtime: spawn the
3 * same-version `dsh --profile sdk` runtime as a subprocess and drive agent
4 * turns over stdio JSON-RPC. `DeepSeekHarness` is the high-level run API;
5 * `HarnessClient` is the lower-level protocol client. A pure library — it
6 * registers nothing on a Cordis context; named profiles and ordered patch
7 * files customize the runtime process it spawns.
8 *
9 * @module @deepseek-ai/dsh-sdk-client
10 */
11
12export { DeepSeekHarness, HarnessSession } from './api.ts'
13export type { RunOptions } from './api.ts'
14export {
15 HarnessClient,
16 RequestTimeoutError,
17 SdkProtocolError,
18 TransportClosedError,
19} from './client.ts'
20export type { NotificationSubscription } from './client.ts'
21export { JsonRpcResponseError } from '@deepseek-ai/dsh-sdk-protocol'
22export type {
23 ContentBlock,
24 SdkPromptContentBlock,
25 DeepSeekHarnessOptions,
26 HarnessClientOptions,
27 HarnessNotification,
28 NotificationFilter,
29 RunResult,
30} from './types.ts'